{"library":{"localId":"0","annotation":[{"translatorVersion":"3.22.0","translatorOptions":"EnableDateRangeOptimization,EnableAnnotations,EnableLocators,EnableResultTypes,DisableListDemotion,DisableListPromotion,DisableMethodInvocation","signatureLevel":"All","type":"CqlToElmInfo"},{"type":"Annotation","s":{"r":"546","s":[{"value":["","library \"Addisons-Disease-Diagnosing\" version '1.0.0'"]}]}}],"identifier":{"id":"Addisons-Disease-Diagnosing","version":"1.0.0"},"schemaIdentifier":{"id":"urn:hl7-org:elm","version":"r1"},"usings":{"def":[{"localId":"1","localIdentifier":"System","uri":"urn:hl7-org:elm-types:r1"},{"localId":"206","locator":"3:1-3:26","localIdentifier":"FHIR","uri":"http://hl7.org/fhir","version":"4.0.1","annotation":[{"type":"Annotation","s":{"r":"206","s":[{"value":["","using "]},{"s":[{"value":["FHIR"]}]},{"value":[" version '4.0.1'"]}]}}]}]},"includes":{"def":[{"localId":"207","locator":"5:1-5:56","localIdentifier":"FHIRHelpers","path":"FHIRHelpers","version":"4.0.1","annotation":[{"type":"Annotation","s":{"r":"207","s":[{"value":["","include "]},{"s":[{"value":["\"FHIRHelpers\""]}]},{"value":[" version ","'4.0.1'"," called ","FHIRHelpers"]}]}}]}]},"codeSystems":{"def":[{"localId":"208","locator":"7:1-7:38","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'"]}]}}]},{"localId":"209","locator":"8:1-8:45","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED","id":"http://snomed.info/sct","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"209","s":[{"value":["","codesystem ","\"SNOMED\"",": ","'http://snomed.info/sct'"]}]}}]},{"localId":"210","locator":"9:1-9:88","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"CONDVERSTATUS","id":"http://terminology.hl7.org/CodeSystem/condition-ver-status","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"210","s":[{"value":["","codesystem ","\"CONDVERSTATUS\"",": ","'http://terminology.hl7.org/CodeSystem/condition-ver-status'"]}]}}]}]},"codes":{"def":[{"localId":"211","locator":"11:1-11:126","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Sodium [Moles/volume] in Serum or Plasma code","id":"2951-2","display":"Sodium [Moles/volume] in Serum or Plasma","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"211","s":[{"value":["","code ","\"Sodium [Moles/volume] in Serum or Plasma code\"",": ","'2951-2'"," from "]},{"r":"212","s":[{"value":["\"LOINC\""]}]},{"value":[" display ","'Sodium [Moles/volume] in Serum or Plasma'"]}]}}],"codeSystem":{"localId":"212","locator":"11:69-11:75","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"LOINC"}},{"localId":"213","locator":"12:1-12:132","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Potassium [Moles/volume] in Serum or Plasma code","id":"2823-3","display":"Potassium [Moles/volume] in Serum or Plasma","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"213","s":[{"value":["","code ","\"Potassium [Moles/volume] in Serum or Plasma code\"",": ","'2823-3'"," from "]},{"r":"214","s":[{"value":["\"LOINC\""]}]},{"value":[" display ","'Potassium [Moles/volume] in Serum or Plasma'"]}]}}],"codeSystem":{"localId":"214","locator":"12:72-12:78","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"LOINC"}},{"localId":"215","locator":"13:1-13:126","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Glucose [Mass/volume] in Serum or Plasma code","id":"2345-7","display":"Glucose [Mass/volume] in Serum or Plasma","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"215","s":[{"value":["","code ","\"Glucose [Mass/volume] in Serum or Plasma code\"",": ","'2345-7'"," from "]},{"r":"216","s":[{"value":["\"LOINC\""]}]},{"value":[" display ","'Glucose [Mass/volume] in Serum or Plasma'"]}]}}],"codeSystem":{"localId":"216","locator":"13:69-13:75","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"LOINC"}},{"localId":"217","locator":"14:1-14:97","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Abdominal pain (finding) code","id":"21522001","display":"Abdominal pain (finding)","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"217","s":[{"value":["","code ","\"Abdominal pain (finding) code\"",": ","'21522001'"," from "]},{"r":"218","s":[{"value":["\"SNOMED\""]}]},{"value":[" display ","'Abdominal pain (finding)'"]}]}}],"codeSystem":{"localId":"218","locator":"14:55-14:62","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED"}},{"localId":"219","locator":"15:1-15:108","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Addison's disease (disorder) code","id":"363732003","display":"Addison's disease (disorder)","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"219","s":[{"value":["","code ","\"Addison\\'s disease (disorder) code\"",": ","'363732003'"," from "]},{"r":"220","s":[{"value":["\"SNOMED\""]}]},{"value":[" display ","'Addison\\'s disease (disorder)'"]}]}}],"codeSystem":{"localId":"220","locator":"15:61-15:68","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED"}},{"localId":"221","locator":"16:1-16:85","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Condition Confirmed code","id":"confirmed","display":"Confirmed","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"221","s":[{"value":["","code ","\"Condition Confirmed code\"",": ","'confirmed'"," from "]},{"r":"222","s":[{"value":["\"CONDVERSTATUS\""]}]},{"value":[" display ","'Confirmed'"]}]}}],"codeSystem":{"localId":"222","locator":"16:51-16:65","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"CONDVERSTATUS"}}]},"concepts":{"def":[{"localId":"223","locator":"18:1-18:81","resultTypeName":"{urn:hl7-org:elm-types:r1}Concept","name":"Condition Confirmed","display":"Confirmed","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"223","s":[{"value":["","concept ","\"Condition Confirmed\"",": { "]},{"r":"224","s":[{"value":["\"Condition Confirmed code\""]}]},{"value":[" } display ","'Confirmed'"]}]}}],"code":[{"localId":"224","locator":"18:34-18:59","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Condition Confirmed code"}]}]},"contexts":{"def":[{"localId":"228","locator":"20:1-20:15","name":"Patient"}]},"statements":{"def":[{"localId":"226","locator":"20:1-20:15","name":"Patient","context":"Patient","expression":{"localId":"227","type":"SingletonFrom","signature":[],"operand":{"localId":"225","locator":"20:1-20:15","dataType":"{http://hl7.org/fhir}Patient","templateId":"http://hl7.org/fhir/StructureDefinition/Patient","type":"Retrieve","include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}}},{"localId":"246","locator":"69:1-71:63","name":"Verified","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"246","s":[{"value":["","define function Verified(ObsList List<Observation>):\n  "]},{"r":"654","s":[{"r":"654","s":[{"s":[{"r":"635","s":[{"r":"636","s":[{"s":[{"value":["ObsList"]}]}]},{"value":[" ","O"]}]}]},{"value":["\n    "]},{"r":"650","s":[{"value":["where "]},{"r":"650","s":[{"r":"643","s":[{"r":"642","s":[{"r":"641","s":[{"value":["O"]}]},{"value":["."]},{"r":"642","s":[{"value":["status"]}]}]},{"value":["."]},{"r":"643","s":[{"value":["value"]}]}]},{"value":[" in "]},{"r":"644","s":[{"value":["{ "]},{"r":"645","s":[{"value":["'final'"]}]},{"value":[", "]},{"r":"646","s":[{"value":["'corrected'"]}]},{"value":[", "]},{"r":"647","s":[{"value":["'amended'"]}]},{"value":[" }"]}]}]}]}]}]}]}}],"resultTypeSpecifier":{"localId":"659","type":"ListTypeSpecifier","elementType":{"localId":"660","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"expression":{"localId":"654","locator":"70:3-71:63","type":"Query","resultTypeSpecifier":{"localId":"657","type":"ListTypeSpecifier","elementType":{"localId":"658","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"source":[{"localId":"635","locator":"70:3-70:11","alias":"O","resultTypeSpecifier":{"localId":"639","type":"ListTypeSpecifier","elementType":{"localId":"640","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"expression":{"localId":"636","locator":"70:3-70:9","name":"ObsList","type":"OperandRef","resultTypeSpecifier":{"localId":"637","type":"ListTypeSpecifier","elementType":{"localId":"638","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}}}],"let":[],"relationship":[],"where":{"localId":"650","locator":"71:5-71:63","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"In","signature":[{"localId":"651","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"},{"localId":"652","type":"ListTypeSpecifier","elementType":{"localId":"653","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"643","locator":"71:11-71:24","resultTypeName":"{urn:hl7-org:elm-types:r1}String","path":"value","type":"Property","source":{"localId":"642","locator":"71:11-71:18","resultTypeName":"{http://hl7.org/fhir}ObservationStatus","path":"status","scope":"O","type":"Property"}},{"localId":"644","locator":"71:29-71:63","type":"List","resultTypeSpecifier":{"localId":"648","type":"ListTypeSpecifier","elementType":{"localId":"649","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},"element":[{"localId":"645","locator":"71:31-71:37","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"final","type":"Literal"},{"localId":"646","locator":"71:40-71:50","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"corrected","type":"Literal"},{"localId":"647","locator":"71:53-71:61","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"amended","type":"Literal"}]}]}},"operand":[{"localId":"251","name":"ObsList","operandTypeSpecifier":{"localId":"247","locator":"69:34-69:50","type":"ListTypeSpecifier","resultTypeSpecifier":{"localId":"249","type":"ListTypeSpecifier","elementType":{"localId":"250","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"elementType":{"localId":"248","locator":"69:39-69:49","resultTypeName":"{http://hl7.org/fhir}Observation","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}}]},{"localId":"281","locator":"73:1-76:3","resultTypeName":"{http://hl7.org/fhir}Observation","name":"MostRecent","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"281","s":[{"value":["","define function MostRecent(ObsList List<Observation>):\n  "]},{"r":"777","s":[{"r":"777","s":[{"value":["Last","("]},{"r":"770","s":[{"s":[{"r":"661","s":[{"r":"662","s":[{"s":[{"value":["ObsList"]}]}]},{"value":[" ","O"]}]}]},{"value":["\n      "]},{"r":"764","s":[{"value":["sort by "]},{"r":"763","s":[{"r":"757","s":[{"value":["Coalesce","("]},{"r":"718","s":[{"r":"710","s":[{"value":["("]},{"r":"710","s":[{"r":"711","s":[{"value":["effective"]}]},{"value":[" as "]},{"r":"717","s":[{"value":["FHIR",".","dateTime"]}]}]},{"value":[")"]}]},{"value":["."]},{"r":"718","s":[{"value":["value"]}]}]},{"value":[","]},{"r":"727","s":[{"r":"719","s":[{"value":["("]},{"r":"719","s":[{"r":"720","s":[{"value":["effective"]}]},{"value":[" as "]},{"r":"726","s":[{"value":["FHIR",".","instant"]}]}]},{"value":[")"]}]},{"value":["."]},{"r":"727","s":[{"value":["value"]}]}]},{"value":[","]},{"r":"737","s":[{"r":"736","s":[{"r":"728","s":[{"value":["("]},{"r":"728","s":[{"r":"729","s":[{"value":["effective"]}]},{"value":[" as "]},{"r":"735","s":[{"value":["FHIR",".","Period"]}]}]},{"value":[")"]}]},{"value":["."]},{"r":"736","s":[{"value":["\"end\""]}]}]},{"value":["."]},{"r":"737","s":[{"value":["value"]}]}]},{"value":[","]},{"r":"747","s":[{"r":"746","s":[{"r":"738","s":[{"value":["("]},{"r":"738","s":[{"r":"739","s":[{"value":["effective"]}]},{"value":[" as "]},{"r":"745","s":[{"value":["FHIR",".","Period"]}]}]},{"value":[")"]}]},{"value":["."]},{"r":"746","s":[{"value":["\"start\""]}]}]},{"value":["."]},{"r":"747","s":[{"value":["value"]}]}]},{"value":[", "]},{"r":"749","s":[{"r":"748","s":[{"value":["issued"]}]},{"value":["."]},{"r":"749","s":[{"value":["value"]}]}]},{"value":[")"]}]}]}]}]},{"value":["\n  )"]}]}]}]}}],"expression":{"localId":"777","locator":"74:3-76:3","resultTypeName":"{http://hl7.org/fhir}Observation","type":"Last","signature":[{"localId":"778","type":"ListTypeSpecifier","elementType":{"localId":"779","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"source":{"localId":"770","locator":"74:8-75:186","type":"Query","resultTypeSpecifier":{"localId":"771","type":"ListTypeSpecifier","elementType":{"localId":"772","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"source":[{"localId":"661","locator":"74:8-74:16","alias":"O","resultTypeSpecifier":{"localId":"665","type":"ListTypeSpecifier","elementType":{"localId":"666","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"expression":{"localId":"662","locator":"74:8-74:14","name":"ObsList","type":"OperandRef","resultTypeSpecifier":{"localId":"663","type":"ListTypeSpecifier","elementType":{"localId":"664","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}}}],"let":[],"relationship":[],"sort":{"localId":"764","locator":"75:7-75:186","by":[{"localId":"763","locator":"75:15-75:186","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","direction":"asc","type":"ByExpression","expression":{"localId":"757","locator":"75:15-75:186","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","type":"Coalesce","signature":[{"localId":"758","name":"{urn:hl7-org:elm-types:r1}DateTime","type":"NamedTypeSpecifier"},{"localId":"759","name":"{urn:hl7-org:elm-types:r1}DateTime","type":"NamedTypeSpecifier"},{"localId":"760","name":"{urn:hl7-org:elm-types:r1}DateTime","type":"NamedTypeSpecifier"},{"localId":"761","name":"{urn:hl7-org:elm-types:r1}DateTime","type":"NamedTypeSpecifier"},{"localId":"762","name":"{urn:hl7-org:elm-types:r1}DateTime","type":"NamedTypeSpecifier"}],"operand":[{"localId":"718","locator":"75:24-75:57","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","path":"value","type":"Property","source":{"localId":"710","locator":"75:24-75:51","resultTypeName":"{http://hl7.org/fhir}dateTime","strict":false,"type":"As","signature":[],"operand":{"localId":"711","locator":"75:25-75:33","name":"effective","type":"IdentifierRef","resultTypeSpecifier":{"localId":"712","type":"ChoiceTypeSpecifier","choice":[{"localId":"713","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"},{"localId":"714","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"},{"localId":"715","name":"{http://hl7.org/fhir}Timing","type":"NamedTypeSpecifier"},{"localId":"716","name":"{http://hl7.org/fhir}instant","type":"NamedTypeSpecifier"}]}},"asTypeSpecifier":{"localId":"717","locator":"75:38-75:50","resultTypeName":"{http://hl7.org/fhir}dateTime","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"}}},{"localId":"727","locator":"75:59-75:91","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","path":"value","type":"Property","source":{"localId":"719","locator":"75:59-75:85","resultTypeName":"{http://hl7.org/fhir}instant","strict":false,"type":"As","signature":[],"operand":{"localId":"720","locator":"75:60-75:68","name":"effective","type":"IdentifierRef","resultTypeSpecifier":{"localId":"721","type":"ChoiceTypeSpecifier","choice":[{"localId":"722","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"},{"localId":"723","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"},{"localId":"724","name":"{http://hl7.org/fhir}Timing","type":"NamedTypeSpecifier"},{"localId":"725","name":"{http://hl7.org/fhir}instant","type":"NamedTypeSpecifier"}]}},"asTypeSpecifier":{"localId":"726","locator":"75:73-75:84","resultTypeName":"{http://hl7.org/fhir}instant","name":"{http://hl7.org/fhir}instant","type":"NamedTypeSpecifier"}}},{"localId":"737","locator":"75:93-75:130","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","path":"value","type":"Property","source":{"localId":"736","locator":"75:93-75:124","resultTypeName":"{http://hl7.org/fhir}dateTime","path":"end","type":"Property","source":{"localId":"728","locator":"75:93-75:118","resultTypeName":"{http://hl7.org/fhir}Period","strict":false,"type":"As","signature":[],"operand":{"localId":"729","locator":"75:94-75:102","name":"effective","type":"IdentifierRef","resultTypeSpecifier":{"localId":"730","type":"ChoiceTypeSpecifier","choice":[{"localId":"731","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"},{"localId":"732","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"},{"localId":"733","name":"{http://hl7.org/fhir}Timing","type":"NamedTypeSpecifier"},{"localId":"734","name":"{http://hl7.org/fhir}instant","type":"NamedTypeSpecifier"}]}},"asTypeSpecifier":{"localId":"735","locator":"75:107-75:117","resultTypeName":"{http://hl7.org/fhir}Period","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"}}}},{"localId":"747","locator":"75:132-75:171","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","path":"value","type":"Property","source":{"localId":"746","locator":"75:132-75:165","resultTypeName":"{http://hl7.org/fhir}dateTime","path":"start","type":"Property","source":{"localId":"738","locator":"75:132-75:157","resultTypeName":"{http://hl7.org/fhir}Period","strict":false,"type":"As","signature":[],"operand":{"localId":"739","locator":"75:133-75:141","name":"effective","type":"IdentifierRef","resultTypeSpecifier":{"localId":"740","type":"ChoiceTypeSpecifier","choice":[{"localId":"741","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"},{"localId":"742","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"},{"localId":"743","name":"{http://hl7.org/fhir}Timing","type":"NamedTypeSpecifier"},{"localId":"744","name":"{http://hl7.org/fhir}instant","type":"NamedTypeSpecifier"}]}},"asTypeSpecifier":{"localId":"745","locator":"75:146-75:156","resultTypeName":"{http://hl7.org/fhir}Period","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"}}}},{"localId":"749","locator":"75:174-75:185","resultTypeName":"{urn:hl7-org:elm-types:r1}DateTime","path":"value","type":"Property","source":{"localId":"748","locator":"75:174-75:179","resultTypeName":"{http://hl7.org/fhir}instant","name":"issued","type":"IdentifierRef"}}]}}]}}},"operand":[{"localId":"286","name":"ObsList","operandTypeSpecifier":{"localId":"282","locator":"73:36-73:52","type":"ListTypeSpecifier","resultTypeSpecifier":{"localId":"284","type":"ListTypeSpecifier","elementType":{"localId":"285","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"elementType":{"localId":"283","locator":"73:41-73:51","resultTypeName":"{http://hl7.org/fhir}Observation","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}}]},{"localId":"409","locator":"78:1-79:55","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","name":"QuantityValue","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"409","s":[{"value":["","define function QuantityValue(Obs Observation):\n  "]},{"r":"809","s":[{"r":"809","s":[{"r":"780","s":[{"value":["FHIRHelpers"]}]},{"value":["."]},{"r":"809","s":[{"value":["ToQuantity"," ( "]},{"r":"781","s":[{"r":"783","s":[{"r":"782","s":[{"value":["Obs"]}]},{"value":["."]},{"r":"783","s":[{"value":["value"]}]}]},{"value":[" as "]},{"r":"808","s":[{"value":["FHIR",".","Quantity"]}]}]},{"value":[" )"]}]}]}]}]}}],"expression":{"localId":"809","locator":"79:3-79:55","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","name":"ToQuantity","libraryName":"FHIRHelpers","type":"FunctionRef","signature":[{"localId":"810","name":"{http://hl7.org/fhir}Quantity","type":"NamedTypeSpecifier"}],"operand":[{"localId":"781","locator":"79:28-79:53","resultTypeName":"{http://hl7.org/fhir}Quantity","strict":false,"type":"As","signature":[],"operand":{"localId":"783","locator":"79:28-79:36","path":"value","type":"Property","resultTypeSpecifier":{"localId":"796","type":"ChoiceTypeSpecifier","choice":[{"localId":"797","name":"{http://hl7.org/fhir}Quantity","type":"NamedTypeSpecifier"},{"localId":"798","name":"{http://hl7.org/fhir}CodeableConcept","type":"NamedTypeSpecifier"},{"localId":"799","name":"{http://hl7.org/fhir}string","type":"NamedTypeSpecifier"},{"localId":"800","name":"{http://hl7.org/fhir}boolean","type":"NamedTypeSpecifier"},{"localId":"801","name":"{http://hl7.org/fhir}integer","type":"NamedTypeSpecifier"},{"localId":"802","name":"{http://hl7.org/fhir}Range","type":"NamedTypeSpecifier"},{"localId":"803","name":"{http://hl7.org/fhir}Ratio","type":"NamedTypeSpecifier"},{"localId":"804","name":"{http://hl7.org/fhir}SampledData","type":"NamedTypeSpecifier"},{"localId":"805","name":"{http://hl7.org/fhir}time","type":"NamedTypeSpecifier"},{"localId":"806","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"},{"localId":"807","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"}]},"source":{"localId":"782","locator":"79:28-79:30","resultTypeName":"{http://hl7.org/fhir}Observation","name":"Obs","type":"OperandRef"}},"asTypeSpecifier":{"localId":"808","locator":"79:41-79:53","resultTypeName":"{http://hl7.org/fhir}Quantity","name":"{http://hl7.org/fhir}Quantity","type":"NamedTypeSpecifier"}}]},"operand":[{"localId":"411","name":"Obs","operandTypeSpecifier":{"localId":"410","locator":"78:35-78:45","resultTypeName":"{http://hl7.org/fhir}Observation","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}]},{"localId":"230","locator":"22:1-23:116","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Sodium [Moles/volume] in Serum or Plasma","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"230","s":[{"value":["","define ","\"Sodium [Moles/volume] in Serum or Plasma\"",":\n  "]},{"r":"231","s":[{"r":"412","s":[{"value":["QuantityValue","("]},{"r":"287","s":[{"value":["MostRecent","("]},{"r":"252","s":[{"value":["Verified","("]},{"r":"234","s":[{"value":["[","Observation",": "]},{"s":[{"value":["\"Sodium [Moles/volume] in Serum or Plasma code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" ","<="," "]},{"r":"445","s":[{"value":["135 ","'meq/L'"]}]}]}]}}],"expression":{"localId":"231","locator":"23:3-23:116","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"LessOrEqual","signature":[{"localId":"446","name":"{urn:hl7-org:elm-types:r1}Quantity","type":"NamedTypeSpecifier"},{"localId":"447","name":"{urn:hl7-org:elm-types:r1}Quantity","type":"NamedTypeSpecifier"}],"operand":[{"localId":"412","locator":"23:3-23:101","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","name":"QuantityValue","type":"FunctionRef","signature":[{"localId":"413","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}],"operand":[{"localId":"287","locator":"23:17-23:100","resultTypeName":"{http://hl7.org/fhir}Observation","name":"MostRecent","type":"FunctionRef","signature":[{"localId":"288","type":"ListTypeSpecifier","elementType":{"localId":"289","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"252","locator":"23:28-23:99","name":"Verified","type":"FunctionRef","resultTypeSpecifier":{"localId":"279","type":"ListTypeSpecifier","elementType":{"localId":"280","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"signature":[{"localId":"253","type":"ListTypeSpecifier","elementType":{"localId":"254","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"234","locator":"23:37-23:98","dataType":"{http://hl7.org/fhir}Observation","templateId":"http://hl7.org/fhir/StructureDefinition/Observation","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"244","type":"ListTypeSpecifier","elementType":{"localId":"245","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"codes":{"localId":"243","type":"ToList","signature":[],"operand":{"localId":"233","locator":"23:51-23:97","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Sodium [Moles/volume] in Serum or Plasma code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}]},{"localId":"445","locator":"23:106-23:116","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","value":135,"unit":"meq/L","type":"Quantity"}]}},{"localId":"449","locator":"25:1-26:117","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Potassium [Moles/volume] in Serum or Plasma","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"449","s":[{"value":["","define ","\"Potassium [Moles/volume] in Serum or Plasma\"",":\n  "]},{"r":"450","s":[{"r":"473","s":[{"value":["QuantityValue","("]},{"r":"470","s":[{"value":["MostRecent","("]},{"r":"465","s":[{"value":["Verified","("]},{"r":"453","s":[{"value":["[","Observation",": "]},{"s":[{"value":["\"Potassium [Moles/volume] in Serum or Plasma code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" ",">"," "]},{"r":"475","s":[{"value":["5 ","'mmol/L'"]}]}]}]}}],"expression":{"localId":"450","locator":"26:3-26:117","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Greater","signature":[{"localId":"476","name":"{urn:hl7-org:elm-types:r1}Quantity","type":"NamedTypeSpecifier"},{"localId":"477","name":"{urn:hl7-org:elm-types:r1}Quantity","type":"NamedTypeSpecifier"}],"operand":[{"localId":"473","locator":"26:3-26:104","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","name":"QuantityValue","type":"FunctionRef","signature":[{"localId":"474","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}],"operand":[{"localId":"470","locator":"26:17-26:103","resultTypeName":"{http://hl7.org/fhir}Observation","name":"MostRecent","type":"FunctionRef","signature":[{"localId":"471","type":"ListTypeSpecifier","elementType":{"localId":"472","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"465","locator":"26:28-26:102","name":"Verified","type":"FunctionRef","resultTypeSpecifier":{"localId":"468","type":"ListTypeSpecifier","elementType":{"localId":"469","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"signature":[{"localId":"466","type":"ListTypeSpecifier","elementType":{"localId":"467","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"453","locator":"26:37-26:101","dataType":"{http://hl7.org/fhir}Observation","templateId":"http://hl7.org/fhir/StructureDefinition/Observation","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"463","type":"ListTypeSpecifier","elementType":{"localId":"464","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"codes":{"localId":"462","type":"ToList","signature":[],"operand":{"localId":"452","locator":"26:51-26:100","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Potassium [Moles/volume] in Serum or Plasma code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}]},{"localId":"475","locator":"26:108-26:117","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","value":5,"unit":"mmol/L","type":"Quantity"}]}},{"localId":"479","locator":"28:1-29:115","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Glucose [Mass/volume] in Serum or Plasma","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"479","s":[{"value":["","define ","\"Glucose [Mass/volume] in Serum or Plasma\"",":\n  "]},{"r":"480","s":[{"r":"503","s":[{"value":["QuantityValue","("]},{"r":"500","s":[{"value":["MostRecent","("]},{"r":"495","s":[{"value":["Verified","("]},{"r":"483","s":[{"value":["[","Observation",": "]},{"s":[{"value":["\"Glucose [Mass/volume] in Serum or Plasma code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" ","<="," "]},{"r":"505","s":[{"value":["70 ","'mg/dL'"]}]}]}]}}],"expression":{"localId":"480","locator":"29:3-29:115","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"LessOrEqual","signature":[{"localId":"506","name":"{urn:hl7-org:elm-types:r1}Quantity","type":"NamedTypeSpecifier"},{"localId":"507","name":"{urn:hl7-org:elm-types:r1}Quantity","type":"NamedTypeSpecifier"}],"operand":[{"localId":"503","locator":"29:3-29:101","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","name":"QuantityValue","type":"FunctionRef","signature":[{"localId":"504","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}],"operand":[{"localId":"500","locator":"29:17-29:100","resultTypeName":"{http://hl7.org/fhir}Observation","name":"MostRecent","type":"FunctionRef","signature":[{"localId":"501","type":"ListTypeSpecifier","elementType":{"localId":"502","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"495","locator":"29:28-29:99","name":"Verified","type":"FunctionRef","resultTypeSpecifier":{"localId":"498","type":"ListTypeSpecifier","elementType":{"localId":"499","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"signature":[{"localId":"496","type":"ListTypeSpecifier","elementType":{"localId":"497","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"483","locator":"29:37-29:98","dataType":"{http://hl7.org/fhir}Observation","templateId":"http://hl7.org/fhir/StructureDefinition/Observation","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"493","type":"ListTypeSpecifier","elementType":{"localId":"494","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"codes":{"localId":"492","type":"ToList","signature":[],"operand":{"localId":"482","locator":"29:51-29:97","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Glucose [Mass/volume] in Serum or Plasma code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}]},{"localId":"505","locator":"29:106-29:115","resultTypeName":"{urn:hl7-org:elm-types:r1}Quantity","value":70,"unit":"mg/dL","type":"Quantity"}]}},{"localId":"509","locator":"31:1-32:59","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"abdominal pain","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"509","s":[{"value":["","define ","\"abdominal pain\"",":\n  "]},{"r":"510","s":[{"value":["exists "]},{"r":"513","s":[{"value":["( "]},{"r":"513","s":[{"value":["[","Observation",": "]},{"s":[{"value":["\"Abdominal pain (finding) code\""]}]},{"value":["]"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"510","locator":"32:3-32:59","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"527","type":"ListTypeSpecifier","elementType":{"localId":"528","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}}],"operand":{"localId":"513","locator":"32:10-32:59","dataType":"{http://hl7.org/fhir}Observation","templateId":"http://hl7.org/fhir/StructureDefinition/Observation","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"525","type":"ListTypeSpecifier","elementType":{"localId":"526","name":"{http://hl7.org/fhir}Observation","type":"NamedTypeSpecifier"}},"codes":{"localId":"522","type":"ToList","signature":[],"operand":{"localId":"512","locator":"32:26-32:56","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Abdominal pain (finding) code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}}},{"localId":"546","locator":"81:1-83:54","name":"Confirmed","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"546","s":[{"value":["","define function Confirmed(CondList List<Condition>):\n  "]},{"r":"825","s":[{"r":"825","s":[{"s":[{"r":"811","s":[{"r":"812","s":[{"s":[{"value":["CondList"]}]}]},{"value":[" ","C"]}]}]},{"value":["\n    "]},{"r":"817","s":[{"value":["where "]},{"r":"817","s":[{"r":"819","s":[{"r":"818","s":[{"value":["C"]}]},{"value":["."]},{"r":"819","s":[{"value":["verificationStatus"]}]}]},{"value":[" ","~"," "]},{"r":"820","s":[{"value":["\"Condition Confirmed\""]}]}]}]}]}]}]}}],"resultTypeSpecifier":{"localId":"830","type":"ListTypeSpecifier","elementType":{"localId":"831","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"expression":{"localId":"825","locator":"82:3-83:54","type":"Query","resultTypeSpecifier":{"localId":"828","type":"ListTypeSpecifier","elementType":{"localId":"829","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"source":[{"localId":"811","locator":"82:3-82:12","alias":"C","resultTypeSpecifier":{"localId":"815","type":"ListTypeSpecifier","elementType":{"localId":"816","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"expression":{"localId":"812","locator":"82:3-82:10","name":"CondList","type":"OperandRef","resultTypeSpecifier":{"localId":"813","type":"ListTypeSpecifier","elementType":{"localId":"814","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}}}],"let":[],"relationship":[],"where":{"localId":"817","locator":"83:5-83:54","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Equivalent","signature":[{"localId":"823","name":"{urn:hl7-org:elm-types:r1}Concept","type":"NamedTypeSpecifier"},{"localId":"824","name":"{urn:hl7-org:elm-types:r1}Concept","type":"NamedTypeSpecifier"}],"operand":[{"localId":"821","name":"ToConcept","libraryName":"FHIRHelpers","type":"FunctionRef","signature":[{"localId":"822","name":"{http://hl7.org/fhir}CodeableConcept","type":"NamedTypeSpecifier"}],"operand":[{"localId":"819","locator":"83:11-83:30","resultTypeName":"{http://hl7.org/fhir}CodeableConcept","path":"verificationStatus","scope":"C","type":"Property"}]},{"localId":"820","locator":"83:34-83:54","resultTypeName":"{urn:hl7-org:elm-types:r1}Concept","name":"Condition Confirmed","type":"ConceptRef"}]}},"operand":[{"localId":"551","name":"CondList","operandTypeSpecifier":{"localId":"547","locator":"81:36-81:50","type":"ListTypeSpecifier","resultTypeSpecifier":{"localId":"549","type":"ListTypeSpecifier","elementType":{"localId":"550","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"elementType":{"localId":"548","locator":"81:41-81:49","resultTypeName":"{http://hl7.org/fhir}Condition","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}}]},{"localId":"530","locator":"34:1-35:73","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Addison's disease (disorder)","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"530","s":[{"value":["","define ","\"Addison's disease (disorder)\"",":\n  "]},{"r":"531","s":[{"value":["exists "]},{"r":"552","s":[{"value":["( "]},{"r":"552","s":[{"value":["Confirmed","("]},{"r":"534","s":[{"value":["[","Condition",": "]},{"s":[{"value":["\"Addison\\'s disease (disorder) code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"531","locator":"35:3-35:73","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"578","type":"ListTypeSpecifier","elementType":{"localId":"579","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":{"localId":"552","locator":"35:10-35:73","name":"Confirmed","type":"FunctionRef","resultTypeSpecifier":{"localId":"576","type":"ListTypeSpecifier","elementType":{"localId":"577","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"553","type":"ListTypeSpecifier","elementType":{"localId":"554","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"534","locator":"35:22-35:70","dataType":"{http://hl7.org/fhir}Condition","templateId":"http://hl7.org/fhir/StructureDefinition/Condition","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"544","type":"ListTypeSpecifier","elementType":{"localId":"545","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"codes":{"localId":"543","type":"ToList","signature":[],"operand":{"localId":"533","locator":"35:34-35:69","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Addison's disease (disorder) code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}}},{"localId":"581","locator":"37:1-41:24","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsInclusionCriteria","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"581","s":[{"value":["","define ","\"MeetsInclusionCriteria\"",":\n  "]},{"r":"582","s":[{"r":"583","s":[{"r":"584","s":[{"r":"585","s":[{"value":["\"Sodium [Moles/volume] in Serum or Plasma\""]}]},{"value":["\n    and "]},{"r":"586","s":[{"value":["\"Potassium [Moles/volume] in Serum or Plasma\""]}]}]},{"value":["\n    and "]},{"r":"589","s":[{"value":["\"Glucose [Mass/volume] in Serum or Plasma\""]}]}]},{"value":["\n    and "]},{"r":"592","s":[{"value":["\"abdominal pain\""]}]}]}]}}],"expression":{"localId":"582","locator":"38:3-41:24","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"593","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"594","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"583","locator":"38:3-40:50","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"590","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"591","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"584","locator":"38:3-39:53","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"587","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"588","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"585","locator":"38:3-38:44","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Sodium [Moles/volume] in Serum or Plasma","type":"ExpressionRef"},{"localId":"586","locator":"39:9-39:53","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Potassium [Moles/volume] in Serum or Plasma","type":"ExpressionRef"}]},{"localId":"589","locator":"40:9-40:50","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Glucose [Mass/volume] in Serum or Plasma","type":"ExpressionRef"}]},{"localId":"592","locator":"41:9-41:24","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"abdominal pain","type":"ExpressionRef"}]}},{"localId":"596","locator":"43:1-44:32","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsExclusionCriteria","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"596","s":[{"value":["","define ","\"MeetsExclusionCriteria\"",":\n  "]},{"r":"597","s":[{"value":["\"Addison's disease (disorder)\""]}]}]}}],"expression":{"localId":"597","locator":"44:3-44:32","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Addison's disease (disorder)","type":"ExpressionRef"}},{"localId":"599","locator":"46:1-48:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"599","s":[{"value":["","define ","\"InPopulation\"",":\n  "]},{"r":"600","s":[{"r":"601","s":[{"value":["\"MeetsInclusionCriteria\""]}]},{"value":["\n    and "]},{"r":"602","s":[{"value":["not "]},{"r":"603","s":[{"value":["\"MeetsExclusionCriteria\""]}]}]}]}]}}],"expression":{"localId":"600","locator":"47:3-48:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"605","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"606","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"601","locator":"47:3-47:26","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsInclusionCriteria","type":"ExpressionRef"},{"localId":"602","locator":"48:9-48:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Not","signature":[{"localId":"604","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":{"localId":"603","locator":"48:13-48:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsExclusionCriteria","type":"ExpressionRef"}}]}},{"localId":"608","locator":"50:1-52:13","resultTypeName":"{urn:hl7-org:elm-types:r1}String","name":"Recommendation","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"608","s":[{"value":["","define ","\"Recommendation\"",":\n  "]},{"r":"609","s":[{"value":["if "]},{"r":"610","s":[{"value":["\"InPopulation\""]}]},{"value":[" then "]},{"r":"611","s":[{"value":["'Order Corticotropin Stimulation Test - Tests for Primary Adrenal Insufficiency (Addison’s Disease)” 250µg for adults and children ≥2 yo, 15µg/kg for infants, and 125µg for children <2yo'"]}]},{"r":"612","value":[" \n    else ","null"]}]}]}}],"expression":{"localId":"609","locator":"51:3-52:13","resultTypeName":"{urn:hl7-org:elm-types:r1}String","type":"If","condition":{"localId":"610","locator":"51:6-51:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"611","locator":"51:26-51:212","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"Order Corticotropin Stimulation Test - Tests for Primary Adrenal Insufficiency (Addison’s Disease)” 250µg for adults and children ≥2 yo, 15µg/kg for infants, and 125µg for children <2yo","type":"Literal"},"else":{"localId":"613","asType":"{urn:hl7-org:elm-types:r1}String","type":"As","signature":[],"operand":{"localId":"612","locator":"52:10-52:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}}},{"localId":"615","locator":"54:1-56:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","name":"Rationale","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"615","s":[{"value":["","define ","\"Rationale\"",":\n  "]},{"r":"616","s":[{"value":["if "]},{"r":"617","s":[{"value":["\"InPopulation\""]}]},{"r":"618","value":[" then ","null"," \n    else ","null"]}]}]}}],"expression":{"localId":"616","locator":"55:3-56:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"If","condition":{"localId":"617","locator":"55:6-55:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"618","locator":"55:26-55:29","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"},"else":{"localId":"619","locator":"56:10-56:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}},{"localId":"621","locator":"58:1-60:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","name":"Links","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"621","s":[{"value":["","define ","\"Links\"",":\n  "]},{"r":"622","s":[{"value":["if "]},{"r":"623","s":[{"value":["\"InPopulation\""]}]},{"r":"624","value":[" then ","null"," \n    else ","null"]}]}]}}],"expression":{"localId":"622","locator":"59:3-60:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"If","condition":{"localId":"623","locator":"59:6-59:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"624","locator":"59:26-59:29","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"},"else":{"localId":"625","locator":"60:10-60:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}},{"localId":"627","locator":"62:1-64:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","name":"Suggestions","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"627","s":[{"value":["","define ","\"Suggestions\"",":\n  "]},{"r":"628","s":[{"value":["if "]},{"r":"629","s":[{"value":["\"InPopulation\""]}]},{"r":"630","value":[" then ","null"," \n    else ","null"]}]}]}}],"expression":{"localId":"628","locator":"63:3-64:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"If","condition":{"localId":"629","locator":"63:6-63:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"630","locator":"63:26-63:29","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"},"else":{"localId":"631","locator":"64:10-64:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}},{"localId":"633","locator":"66:1-67:6","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","name":"Errors","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"633","s":[{"r":"634","value":["","define ","\"Errors\"",":\n  ","null"]}]}}],"expression":{"localId":"634","locator":"67:3-67:6","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}]}}}