{"library":{"localId":"0","annotation":[{"translatorVersion":"3.22.0","translatorOptions":"EnableDateRangeOptimization,EnableAnnotations,EnableLocators,EnableResultTypes,DisableListDemotion,DisableListPromotion,DisableMethodInvocation","signatureLevel":"All","type":"CqlToElmInfo"},{"type":"Annotation","s":{"r":"560","s":[{"value":["","library \"RSV-Vaccination-in-Adults-Aged-60-Years\" version '1.0.0'"]}]}}],"identifier":{"id":"RSV-Vaccination-in-Adults-Aged-60-Years","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.0","annotation":[{"type":"Annotation","s":{"r":"206","s":[{"value":["","using "]},{"s":[{"value":["FHIR"]}]},{"value":[" version '4.0.0'"]}]}}]}]},"includes":{"def":[{"localId":"207","locator":"5:1-5:56","localIdentifier":"FHIRHelpers","path":"FHIRHelpers","version":"4.0.0","annotation":[{"type":"Annotation","s":{"r":"207","s":[{"value":["","include "]},{"s":[{"value":["\"FHIRHelpers\""]}]},{"value":[" version ","'4.0.0'"," called ","FHIRHelpers"]}]}}]}]},"codeSystems":{"def":[{"localId":"208","locator":"7:1-7:45","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED","id":"http://snomed.info/sct","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"208","s":[{"value":["","codesystem ","\"SNOMED\"",": ","'http://snomed.info/sct'"]}]}}]},{"localId":"209","locator":"8:1-8:66","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"RXNORM","id":"http://www.nlm.nih.gov/research/umls/rxnorm","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"209","s":[{"value":["","codesystem ","\"RXNORM\"",": ","'http://www.nlm.nih.gov/research/umls/rxnorm'"]}]}}]},{"localId":"210","locator":"9:1-9:87","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"CONDCLINSTATUS","id":"http://terminology.hl7.org/CodeSystem/condition-clinical","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"210","s":[{"value":["","codesystem ","\"CONDCLINSTATUS\"",": ","'http://terminology.hl7.org/CodeSystem/condition-clinical'"]}]}}]},{"localId":"211","locator":"10:1-10: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":"211","s":[{"value":["","codesystem ","\"CONDVERSTATUS\"",": ","'http://terminology.hl7.org/CodeSystem/condition-ver-status'"]}]}}]}]},"codes":{"def":[{"localId":"212","locator":"12:1-12:145","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Chronic obstructive pulmonary disease (disorder) code","id":"13645005","display":"Chronic obstructive pulmonary disease (disorder)","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"212","s":[{"value":["","code ","\"Chronic obstructive pulmonary disease (disorder) code\"",": ","'13645005'"," from "]},{"r":"213","s":[{"value":["\"SNOMED\""]}]},{"value":[" display ","'Chronic obstructive pulmonary disease (disorder)'"]}]}}],"codeSystem":{"localId":"213","locator":"12:79-12:86","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED"}},{"localId":"214","locator":"13:1-13:97","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Heart failure (disorder) code","id":"84114007","display":"Heart failure (disorder)","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"214","s":[{"value":["","code ","\"Heart failure (disorder) code\"",": ","'84114007'"," from "]},{"r":"215","s":[{"value":["\"SNOMED\""]}]},{"value":[" display ","'Heart failure (disorder)'"]}]}}],"codeSystem":{"localId":"215","locator":"13:55-13:62","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED"}},{"localId":"216","locator":"14:1-14:116","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Chronic kidney disease (disorder) code","id":"709044004","display":"Chronic kidney disease (disorder)","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"216","s":[{"value":["","code ","\"Chronic kidney disease (disorder) code\"",": ","'709044004'"," from "]},{"r":"217","s":[{"value":["\"SNOMED\""]}]},{"value":[" display ","'Chronic kidney disease (disorder)'"]}]}}],"codeSystem":{"localId":"217","locator":"14:65-14:72","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED"}},{"localId":"218","locator":"15:1-15:116","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"2636588 code","id":"2636588","display":"respiratory syncytial virus pre-fusion F protein, recombinant","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"218","s":[{"value":["","code ","\"2636588 code\"",": ","'2636588'"," from "]},{"r":"219","s":[{"value":["\"RXNORM\""]}]},{"value":[" display ","'respiratory syncytial virus pre-fusion F protein, recombinant'"]}]}}],"codeSystem":{"localId":"219","locator":"15:37-15:44","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"RXNORM"}},{"localId":"220","locator":"16:1-16:93","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Anaphylaxis (disorder) code","id":"39579001","display":"Anaphylaxis (disorder)","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"220","s":[{"value":["","code ","\"Anaphylaxis (disorder) code\"",": ","'39579001'"," from "]},{"r":"221","s":[{"value":["\"SNOMED\""]}]},{"value":[" display ","'Anaphylaxis (disorder)'"]}]}}],"codeSystem":{"localId":"221","locator":"16:53-16:60","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"SNOMED"}},{"localId":"222","locator":"17:1-17:77","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Condition Active code","id":"active","display":"Active","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"222","s":[{"value":["","code ","\"Condition Active code\"",": ","'active'"," from "]},{"r":"223","s":[{"value":["\"CONDCLINSTATUS\""]}]},{"value":[" display ","'Active'"]}]}}],"codeSystem":{"localId":"223","locator":"17:45-17:60","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"CONDCLINSTATUS"}},{"localId":"224","locator":"18:1-18:85","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Condition Confirmed code","id":"confirmed","display":"Confirmed","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"224","s":[{"value":["","code ","\"Condition Confirmed code\"",": ","'confirmed'"," from "]},{"r":"225","s":[{"value":["\"CONDVERSTATUS\""]}]},{"value":[" display ","'Confirmed'"]}]}}],"codeSystem":{"localId":"225","locator":"18:51-18:65","resultTypeName":"{urn:hl7-org:elm-types:r1}CodeSystem","name":"CONDVERSTATUS"}}]},"concepts":{"def":[{"localId":"226","locator":"20:1-20:72","resultTypeName":"{urn:hl7-org:elm-types:r1}Concept","name":"Condition Active","display":"Active","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"226","s":[{"value":["","concept ","\"Condition Active\"",": { "]},{"r":"227","s":[{"value":["\"Condition Active code\""]}]},{"value":[" } display ","'Active'"]}]}}],"code":[{"localId":"227","locator":"20:31-20:53","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Condition Active code"}]},{"localId":"228","locator":"21:1-21:81","resultTypeName":"{urn:hl7-org:elm-types:r1}Concept","name":"Condition Confirmed","display":"Confirmed","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"228","s":[{"value":["","concept ","\"Condition Confirmed\"",": { "]},{"r":"229","s":[{"value":["\"Condition Confirmed code\""]}]},{"value":[" } display ","'Confirmed'"]}]}}],"code":[{"localId":"229","locator":"21:34-21:59","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Condition Confirmed code"}]}]},"contexts":{"def":[{"localId":"233","locator":"23:1-23:15","name":"Patient"}]},"statements":{"def":[{"localId":"231","locator":"23:1-23:15","name":"Patient","context":"Patient","expression":{"localId":"232","type":"SingletonFrom","signature":[],"operand":{"localId":"230","locator":"23:1-23:15","dataType":"{http://hl7.org/fhir}Patient","type":"Retrieve","include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}}},{"localId":"235","locator":"25:1-26:20","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Minimum Age","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"235","s":[{"value":["","define ","\"Minimum Age\"",":\n  "]},{"r":"236","s":[{"r":"241","s":[{"value":["AgeInYears","()"]}]},{"r":"243","value":[" ",">="," ","60"]}]}]}}],"expression":{"localId":"236","locator":"26:3-26:20","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"GreaterOrEqual","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":"241","locator":"26:3-26:14","resultTypeName":"{urn:hl7-org:elm-types:r1}Integer","precision":"Year","type":"CalculateAge","signature":[{"localId":"242","name":"{urn:hl7-org:elm-types:r1}Date","type":"NamedTypeSpecifier"}],"operand":{"localId":"240","path":"birthDate.value","type":"Property","source":{"localId":"239","name":"Patient","type":"ExpressionRef"}}},{"localId":"243","locator":"26:19-26:20","resultTypeName":"{urn:hl7-org:elm-types:r1}Integer","valueType":"{urn:hl7-org:elm-types:r1}Integer","value":"60","type":"Literal"}]}},{"localId":"263","locator":"91:1-94:29","name":"ActiveCondition","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"263","s":[{"value":["","define function ActiveCondition(CondList List<Condition>):\n  "]},{"r":"742","s":[{"r":"742","s":[{"s":[{"r":"709","s":[{"r":"710","s":[{"s":[{"value":["CondList"]}]}]},{"value":[" ","C"]}]}]},{"value":["\n    "]},{"r":"715","s":[{"value":["where "]},{"r":"715","s":[{"r":"716","s":[{"r":"718","s":[{"r":"717","s":[{"value":["C"]}]},{"value":["."]},{"r":"718","s":[{"value":["clinicalStatus"]}]}]},{"value":[" ","~"," "]},{"r":"719","s":[{"value":["\"Condition Active\""]}]}]},{"value":["\n      and "]},{"r":"738","s":[{"r":"725","s":[{"r":"724","s":[{"value":["C"]}]},{"value":["."]},{"r":"725","s":[{"value":["abatement"]}]}]},{"value":[" is null"]}]}]}]}]}]}]}}],"resultTypeSpecifier":{"localId":"747","type":"ListTypeSpecifier","elementType":{"localId":"748","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"expression":{"localId":"742","locator":"92:3-94:29","type":"Query","resultTypeSpecifier":{"localId":"745","type":"ListTypeSpecifier","elementType":{"localId":"746","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"source":[{"localId":"709","locator":"92:3-92:12","alias":"C","resultTypeSpecifier":{"localId":"713","type":"ListTypeSpecifier","elementType":{"localId":"714","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"expression":{"localId":"710","locator":"92:3-92:10","name":"CondList","type":"OperandRef","resultTypeSpecifier":{"localId":"711","type":"ListTypeSpecifier","elementType":{"localId":"712","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}}}],"let":[],"relationship":[],"where":{"localId":"715","locator":"93:5-94:29","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"740","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"741","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"716","locator":"93:11-93:47","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Equivalent","signature":[{"localId":"722","name":"{urn:hl7-org:elm-types:r1}Concept","type":"NamedTypeSpecifier"},{"localId":"723","name":"{urn:hl7-org:elm-types:r1}Concept","type":"NamedTypeSpecifier"}],"operand":[{"localId":"720","name":"ToConcept","libraryName":"FHIRHelpers","type":"FunctionRef","signature":[{"localId":"721","name":"{http://hl7.org/fhir}CodeableConcept","type":"NamedTypeSpecifier"}],"operand":[{"localId":"718","locator":"93:11-93:26","resultTypeName":"{http://hl7.org/fhir}CodeableConcept","path":"clinicalStatus","scope":"C","type":"Property"}]},{"localId":"719","locator":"93:30-93:47","resultTypeName":"{urn:hl7-org:elm-types:r1}Concept","name":"Condition Active","type":"ConceptRef"}]},{"localId":"738","locator":"94:11-94:29","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"IsNull","signature":[{"localId":"739","name":"{urn:hl7-org:elm-types:r1}Any","type":"NamedTypeSpecifier"}],"operand":{"localId":"725","locator":"94:11-94:21","path":"abatement","scope":"C","type":"Property","resultTypeSpecifier":{"localId":"732","type":"ChoiceTypeSpecifier","choice":[{"localId":"733","name":"{http://hl7.org/fhir}dateTime","type":"NamedTypeSpecifier"},{"localId":"734","name":"{http://hl7.org/fhir}Age","type":"NamedTypeSpecifier"},{"localId":"735","name":"{http://hl7.org/fhir}Period","type":"NamedTypeSpecifier"},{"localId":"736","name":"{http://hl7.org/fhir}Range","type":"NamedTypeSpecifier"},{"localId":"737","name":"{http://hl7.org/fhir}string","type":"NamedTypeSpecifier"}]}}}]}},"operand":[{"localId":"268","name":"CondList","operandTypeSpecifier":{"localId":"264","locator":"91:42-91:56","type":"ListTypeSpecifier","resultTypeSpecifier":{"localId":"266","type":"ListTypeSpecifier","elementType":{"localId":"267","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"elementType":{"localId":"265","locator":"91:47-91:55","resultTypeName":"{http://hl7.org/fhir}Condition","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}}]},{"localId":"312","locator":"87:1-89:54","name":"Confirmed","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"312","s":[{"value":["","define function Confirmed(CondList List<Condition>):\n  "]},{"r":"702","s":[{"r":"702","s":[{"s":[{"r":"688","s":[{"r":"689","s":[{"s":[{"value":["CondList"]}]}]},{"value":[" ","C"]}]}]},{"value":["\n    "]},{"r":"694","s":[{"value":["where "]},{"r":"694","s":[{"r":"696","s":[{"r":"695","s":[{"value":["C"]}]},{"value":["."]},{"r":"696","s":[{"value":["verificationStatus"]}]}]},{"value":[" ","~"," "]},{"r":"697","s":[{"value":["\"Condition Confirmed\""]}]}]}]}]}]}]}}],"resultTypeSpecifier":{"localId":"707","type":"ListTypeSpecifier","elementType":{"localId":"708","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"expression":{"localId":"702","locator":"88:3-89:54","type":"Query","resultTypeSpecifier":{"localId":"705","type":"ListTypeSpecifier","elementType":{"localId":"706","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"source":[{"localId":"688","locator":"88:3-88:12","alias":"C","resultTypeSpecifier":{"localId":"692","type":"ListTypeSpecifier","elementType":{"localId":"693","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"expression":{"localId":"689","locator":"88:3-88:10","name":"CondList","type":"OperandRef","resultTypeSpecifier":{"localId":"690","type":"ListTypeSpecifier","elementType":{"localId":"691","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}}}],"let":[],"relationship":[],"where":{"localId":"694","locator":"89:5-89:54","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Equivalent","signature":[{"localId":"700","name":"{urn:hl7-org:elm-types:r1}Concept","type":"NamedTypeSpecifier"},{"localId":"701","name":"{urn:hl7-org:elm-types:r1}Concept","type":"NamedTypeSpecifier"}],"operand":[{"localId":"698","name":"ToConcept","libraryName":"FHIRHelpers","type":"FunctionRef","signature":[{"localId":"699","name":"{http://hl7.org/fhir}CodeableConcept","type":"NamedTypeSpecifier"}],"operand":[{"localId":"696","locator":"89:11-89:30","resultTypeName":"{http://hl7.org/fhir}CodeableConcept","path":"verificationStatus","scope":"C","type":"Property"}]},{"localId":"697","locator":"89:34-89:54","resultTypeName":"{urn:hl7-org:elm-types:r1}Concept","name":"Condition Confirmed","type":"ConceptRef"}]}},"operand":[{"localId":"317","name":"CondList","operandTypeSpecifier":{"localId":"313","locator":"87:36-87:50","type":"ListTypeSpecifier","resultTypeSpecifier":{"localId":"315","type":"ListTypeSpecifier","elementType":{"localId":"316","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"elementType":{"localId":"314","locator":"87:41-87:49","resultTypeName":"{http://hl7.org/fhir}Condition","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}}]},{"localId":"247","locator":"28:1-29:109","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Chronic obstructive pulmonary disease (disorder)","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"247","s":[{"value":["","define ","\"Chronic obstructive pulmonary disease (disorder)\"",":\n  "]},{"r":"248","s":[{"value":["exists "]},{"r":"318","s":[{"value":["( "]},{"r":"318","s":[{"value":["Confirmed","("]},{"r":"269","s":[{"value":["ActiveCondition","("]},{"r":"251","s":[{"value":["[","Condition",": "]},{"s":[{"value":["\"Chronic obstructive pulmonary disease (disorder) code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"248","locator":"29:3-29:109","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"344","type":"ListTypeSpecifier","elementType":{"localId":"345","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":{"localId":"318","locator":"29:10-29:109","name":"Confirmed","type":"FunctionRef","resultTypeSpecifier":{"localId":"342","type":"ListTypeSpecifier","elementType":{"localId":"343","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"319","type":"ListTypeSpecifier","elementType":{"localId":"320","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"269","locator":"29:22-29:106","name":"ActiveCondition","type":"FunctionRef","resultTypeSpecifier":{"localId":"310","type":"ListTypeSpecifier","elementType":{"localId":"311","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"270","type":"ListTypeSpecifier","elementType":{"localId":"271","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"251","locator":"29:38-29:105","dataType":"{http://hl7.org/fhir}Condition","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"261","type":"ListTypeSpecifier","elementType":{"localId":"262","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"codes":{"localId":"260","type":"ToList","signature":[],"operand":{"localId":"250","locator":"29:50-29:104","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Chronic obstructive pulmonary disease (disorder) code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}}},{"localId":"347","locator":"31:1-32:85","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Heart failure (disorder)","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"347","s":[{"value":["","define ","\"Heart failure (disorder)\"",":\n  "]},{"r":"348","s":[{"value":["exists "]},{"r":"368","s":[{"value":["( "]},{"r":"368","s":[{"value":["Confirmed","("]},{"r":"363","s":[{"value":["ActiveCondition","("]},{"r":"351","s":[{"value":["[","Condition",": "]},{"s":[{"value":["\"Heart failure (disorder) code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"348","locator":"32:3-32:85","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"375","type":"ListTypeSpecifier","elementType":{"localId":"376","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":{"localId":"368","locator":"32:10-32:85","name":"Confirmed","type":"FunctionRef","resultTypeSpecifier":{"localId":"373","type":"ListTypeSpecifier","elementType":{"localId":"374","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"369","type":"ListTypeSpecifier","elementType":{"localId":"370","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"363","locator":"32:22-32:82","name":"ActiveCondition","type":"FunctionRef","resultTypeSpecifier":{"localId":"366","type":"ListTypeSpecifier","elementType":{"localId":"367","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"364","type":"ListTypeSpecifier","elementType":{"localId":"365","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"351","locator":"32:38-32:81","dataType":"{http://hl7.org/fhir}Condition","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"361","type":"ListTypeSpecifier","elementType":{"localId":"362","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"codes":{"localId":"360","type":"ToList","signature":[],"operand":{"localId":"350","locator":"32:50-32:80","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Heart failure (disorder) code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}}},{"localId":"378","locator":"34:1-35:94","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Chronic kidney disease (disorder)","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"378","s":[{"value":["","define ","\"Chronic kidney disease (disorder)\"",":\n  "]},{"r":"379","s":[{"value":["exists "]},{"r":"399","s":[{"value":["( "]},{"r":"399","s":[{"value":["Confirmed","("]},{"r":"394","s":[{"value":["ActiveCondition","("]},{"r":"382","s":[{"value":["[","Condition",": "]},{"s":[{"value":["\"Chronic kidney disease (disorder) code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"379","locator":"35:3-35:94","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"406","type":"ListTypeSpecifier","elementType":{"localId":"407","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":{"localId":"399","locator":"35:10-35:94","name":"Confirmed","type":"FunctionRef","resultTypeSpecifier":{"localId":"404","type":"ListTypeSpecifier","elementType":{"localId":"405","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"400","type":"ListTypeSpecifier","elementType":{"localId":"401","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"394","locator":"35:22-35:91","name":"ActiveCondition","type":"FunctionRef","resultTypeSpecifier":{"localId":"397","type":"ListTypeSpecifier","elementType":{"localId":"398","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"395","type":"ListTypeSpecifier","elementType":{"localId":"396","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"382","locator":"35:38-35:90","dataType":"{http://hl7.org/fhir}Condition","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"392","type":"ListTypeSpecifier","elementType":{"localId":"393","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"codes":{"localId":"391","type":"ToList","signature":[],"operand":{"localId":"381","locator":"35:50-35:89","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Chronic kidney disease (disorder) code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}}},{"localId":"425","locator":"96:1-98:38","name":"CompletedImmunization","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"425","s":[{"value":["","define function CompletedImmunization(ImmunizationList List<Immunization>):\n  "]},{"r":"762","s":[{"r":"762","s":[{"s":[{"r":"749","s":[{"r":"750","s":[{"s":[{"value":["ImmunizationList"]}]}]},{"value":[" ","I"]}]}]},{"value":["\n    "]},{"r":"755","s":[{"value":["where "]},{"r":"755","s":[{"r":"758","s":[{"r":"757","s":[{"r":"756","s":[{"value":["I"]}]},{"value":["."]},{"r":"757","s":[{"value":["status"]}]}]},{"value":["."]},{"r":"758","s":[{"value":["value"]}]}]},{"value":[" ","="," "]},{"r":"759","s":[{"value":["'completed'"]}]}]}]}]}]}]}}],"resultTypeSpecifier":{"localId":"767","type":"ListTypeSpecifier","elementType":{"localId":"768","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}},"expression":{"localId":"762","locator":"97:3-98:38","type":"Query","resultTypeSpecifier":{"localId":"765","type":"ListTypeSpecifier","elementType":{"localId":"766","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}},"source":[{"localId":"749","locator":"97:3-97:20","alias":"I","resultTypeSpecifier":{"localId":"753","type":"ListTypeSpecifier","elementType":{"localId":"754","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}},"expression":{"localId":"750","locator":"97:3-97:18","name":"ImmunizationList","type":"OperandRef","resultTypeSpecifier":{"localId":"751","type":"ListTypeSpecifier","elementType":{"localId":"752","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}}}}],"let":[],"relationship":[],"where":{"localId":"755","locator":"98:5-98:38","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Equal","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":"758","locator":"98:11-98:24","resultTypeName":"{urn:hl7-org:elm-types:r1}String","path":"value","type":"Property","source":{"localId":"757","locator":"98:11-98:18","resultTypeName":"{http://hl7.org/fhir}ImmunizationStatusCodes","path":"status","scope":"I","type":"Property"}},{"localId":"759","locator":"98:28-98:38","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"completed","type":"Literal"}]}},"operand":[{"localId":"430","name":"ImmunizationList","operandTypeSpecifier":{"localId":"426","locator":"96:56-96:73","type":"ListTypeSpecifier","resultTypeSpecifier":{"localId":"428","type":"ListTypeSpecifier","elementType":{"localId":"429","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}},"elementType":{"localId":"427","locator":"96:61-96:72","resultTypeName":"{http://hl7.org/fhir}Immunization","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}}}]},{"localId":"409","locator":"37:1-38:66","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"RXNORM 2636588","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"409","s":[{"value":["","define ","\"RXNORM 2636588\"",":\n  "]},{"r":"410","s":[{"value":["exists "]},{"r":"431","s":[{"value":["( "]},{"r":"431","s":[{"value":["CompletedImmunization","("]},{"r":"413","s":[{"value":["[","Immunization",": "]},{"s":[{"value":["\"2636588 code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"410","locator":"38:3-38:66","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"456","type":"ListTypeSpecifier","elementType":{"localId":"457","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}}],"operand":{"localId":"431","locator":"38:10-38:66","name":"CompletedImmunization","type":"FunctionRef","resultTypeSpecifier":{"localId":"454","type":"ListTypeSpecifier","elementType":{"localId":"455","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}},"signature":[{"localId":"432","type":"ListTypeSpecifier","elementType":{"localId":"433","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"413","locator":"38:34-38:63","dataType":"{http://hl7.org/fhir}Immunization","codeProperty":"vaccineCode","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"423","type":"ListTypeSpecifier","elementType":{"localId":"424","name":"{http://hl7.org/fhir}Immunization","type":"NamedTypeSpecifier"}},"codes":{"localId":"422","type":"ToList","signature":[],"operand":{"localId":"412","locator":"38:49-38:62","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"2636588 code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}}},{"localId":"459","locator":"40:1-41:83","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Anaphylaxis due to vaccine","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"459","s":[{"value":["","define ","\"Anaphylaxis due to vaccine\"",":\n  "]},{"r":"460","s":[{"value":["exists "]},{"r":"480","s":[{"value":["( "]},{"r":"480","s":[{"value":["Confirmed","("]},{"r":"475","s":[{"value":["ActiveCondition","("]},{"r":"463","s":[{"value":["[","Condition",": "]},{"s":[{"value":["\"Anaphylaxis (disorder) code\""]}]},{"value":["]"]}]},{"value":[")"]}]},{"value":[")"]}]},{"value":[" )"]}]}]}]}}],"expression":{"localId":"460","locator":"41:3-41:83","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Exists","signature":[{"localId":"487","type":"ListTypeSpecifier","elementType":{"localId":"488","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":{"localId":"480","locator":"41:10-41:83","name":"Confirmed","type":"FunctionRef","resultTypeSpecifier":{"localId":"485","type":"ListTypeSpecifier","elementType":{"localId":"486","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"481","type":"ListTypeSpecifier","elementType":{"localId":"482","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"475","locator":"41:22-41:80","name":"ActiveCondition","type":"FunctionRef","resultTypeSpecifier":{"localId":"478","type":"ListTypeSpecifier","elementType":{"localId":"479","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"signature":[{"localId":"476","type":"ListTypeSpecifier","elementType":{"localId":"477","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}}],"operand":[{"localId":"463","locator":"41:38-41:79","dataType":"{http://hl7.org/fhir}Condition","codeProperty":"code","codeComparator":"~","type":"Retrieve","resultTypeSpecifier":{"localId":"473","type":"ListTypeSpecifier","elementType":{"localId":"474","name":"{http://hl7.org/fhir}Condition","type":"NamedTypeSpecifier"}},"codes":{"localId":"472","type":"ToList","signature":[],"operand":{"localId":"462","locator":"41:50-41:78","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"Anaphylaxis (disorder) code","type":"CodeRef"}},"include":[],"codeFilter":[],"dateFilter":[],"otherFilter":[]}]}]}}},{"localId":"494","locator":"47:1-50:42","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"HighRiskConditions","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"494","s":[{"value":["","define ","\"HighRiskConditions\"",":\n  "]},{"r":"495","s":[{"r":"496","s":[{"r":"497","s":[{"value":["\"Chronic obstructive pulmonary disease (disorder)\""]}]},{"value":["\n    or "]},{"r":"498","s":[{"value":["\"Heart failure (disorder)\""]}]}]},{"value":["\n    or "]},{"r":"501","s":[{"value":["\"Chronic kidney disease (disorder)\""]}]}]}]}}],"expression":{"localId":"495","locator":"48:3-50:42","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Or","signature":[{"localId":"502","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"503","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"496","locator":"48:3-49:33","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Or","signature":[{"localId":"499","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"500","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"497","locator":"48:3-48:52","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Chronic obstructive pulmonary disease (disorder)","type":"ExpressionRef"},{"localId":"498","locator":"49:8-49:33","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Heart failure (disorder)","type":"ExpressionRef"}]},{"localId":"501","locator":"50:8-50:42","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Chronic kidney disease (disorder)","type":"ExpressionRef"}]}},{"localId":"490","locator":"43:1-45:28","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsInclusionCriteria","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"490","s":[{"value":["","define ","\"MeetsInclusionCriteria\"",":\n  "]},{"r":"491","s":[{"r":"492","s":[{"value":["\"Minimum Age\""]}]},{"value":["\n    and "]},{"r":"504","s":[{"value":["\"HighRiskConditions\""]}]}]}]}}],"expression":{"localId":"491","locator":"44:3-45:28","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"505","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"506","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"492","locator":"44:3-44:15","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Minimum Age","type":"ExpressionRef"},{"localId":"504","locator":"45:9-45:28","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"HighRiskConditions","type":"ExpressionRef"}]}},{"localId":"508","locator":"52:1-54:35","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsExclusionCriteria","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"508","s":[{"value":["","define ","\"MeetsExclusionCriteria\"",":\n  "]},{"r":"509","s":[{"r":"510","s":[{"value":["\"RXNORM 2636588\""]}]},{"value":["\n    or "]},{"r":"511","s":[{"value":["\"Anaphylaxis due to vaccine\""]}]}]}]}}],"expression":{"localId":"509","locator":"53:3-54:35","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Or","signature":[{"localId":"512","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"513","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"510","locator":"53:3-53:18","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"RXNORM 2636588","type":"ExpressionRef"},{"localId":"511","locator":"54:8-54:35","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"Anaphylaxis due to vaccine","type":"ExpressionRef"}]}},{"localId":"515","locator":"56:1-58:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"515","s":[{"value":["","define ","\"InPopulation\"",":\n  "]},{"r":"516","s":[{"r":"517","s":[{"value":["\"MeetsInclusionCriteria\""]}]},{"value":["\n    and "]},{"r":"518","s":[{"value":["not "]},{"r":"519","s":[{"value":["\"MeetsExclusionCriteria\""]}]}]}]}]}}],"expression":{"localId":"516","locator":"57:3-58:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"And","signature":[{"localId":"521","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"},{"localId":"522","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":[{"localId":"517","locator":"57:3-57:26","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsInclusionCriteria","type":"ExpressionRef"},{"localId":"518","locator":"58:9-58:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","type":"Not","signature":[{"localId":"520","name":"{urn:hl7-org:elm-types:r1}Boolean","type":"NamedTypeSpecifier"}],"operand":{"localId":"519","locator":"58:13-58:36","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"MeetsExclusionCriteria","type":"ExpressionRef"}}]}},{"localId":"524","locator":"60:1-62:13","resultTypeName":"{urn:hl7-org:elm-types:r1}String","name":"Recommendation","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"524","s":[{"value":["","define ","\"Recommendation\"",":\n  "]},{"r":"525","s":[{"value":["if "]},{"r":"526","s":[{"value":["\"InPopulation\""]}]},{"value":[" then "]},{"r":"527","s":[{"value":["'Recommend administration of RSV vaccine for this patient (age ≥ 60 years with high-risk chronic condition) as no prior RSV vaccination is documented and no contraindications are present.'"]}]},{"r":"528","value":[" \n    else ","null"]}]}]}}],"expression":{"localId":"525","locator":"61:3-62:13","resultTypeName":"{urn:hl7-org:elm-types:r1}String","type":"If","condition":{"localId":"526","locator":"61:6-61:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"527","locator":"61:26-61:213","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"Recommend administration of RSV vaccine for this patient (age ≥ 60 years with high-risk chronic condition) as no prior RSV vaccination is documented and no contraindications are present.","type":"Literal"},"else":{"localId":"529","asType":"{urn:hl7-org:elm-types:r1}String","type":"As","signature":[],"operand":{"localId":"528","locator":"62:10-62:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}}},{"localId":"531","locator":"64:1-66:13","resultTypeName":"{urn:hl7-org:elm-types:r1}String","name":"Rationale","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"531","s":[{"value":["","define ","\"Rationale\"",":\n  "]},{"r":"532","s":[{"value":["if "]},{"r":"533","s":[{"value":["\"InPopulation\""]}]},{"value":[" then "]},{"r":"534","s":[{"value":["'Adults aged 60 years and older with chronic conditions such as COPD, heart failure, or chronic kidney disease are at increased risk of severe RSV-associated disease. Vaccination reduces the risk of lower respiratory tract disease and hospitalization.'"]}]},{"r":"535","value":[" \n    else ","null"]}]}]}}],"expression":{"localId":"532","locator":"65:3-66:13","resultTypeName":"{urn:hl7-org:elm-types:r1}String","type":"If","condition":{"localId":"533","locator":"65:6-65:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"534","locator":"65:26-65:277","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"Adults aged 60 years and older with chronic conditions such as COPD, heart failure, or chronic kidney disease are at increased risk of severe RSV-associated disease. Vaccination reduces the risk of lower respiratory tract disease and hospitalization.","type":"Literal"},"else":{"localId":"536","asType":"{urn:hl7-org:elm-types:r1}String","type":"As","signature":[],"operand":{"localId":"535","locator":"66:10-66:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}}},{"localId":"538","locator":"68:1-70:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","name":"Links","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"538","s":[{"value":["","define ","\"Links\"",":\n  "]},{"r":"539","s":[{"value":["if "]},{"r":"540","s":[{"value":["\"InPopulation\""]}]},{"r":"541","value":[" then ","null"," \n    else ","null"]}]}]}}],"expression":{"localId":"539","locator":"69:3-70:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"If","condition":{"localId":"540","locator":"69:6-69:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"541","locator":"69:26-69:29","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"},"else":{"localId":"542","locator":"70:10-70:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}},{"localId":"560","locator":"100:1-101:141","resultTypeName":"{http://hl7.org/fhir}Coding","name":"ToCoding","context":"Patient","accessLevel":"Public","type":"FunctionDef","annotation":[{"type":"Annotation","s":{"r":"560","s":[{"value":["","define function ToCoding(code System.Code):\n  "]},{"r":"769","s":[{"r":"769","s":[{"value":["FHIR",".","Coding"," { "]},{"s":[{"value":["code",": "]},{"r":"771","s":[{"value":["FHIR",".","code"," { "]},{"s":[{"value":["value",": "]},{"r":"774","s":[{"r":"773","s":[{"value":["code"]}]},{"value":["."]},{"r":"774","s":[{"value":["code"]}]}]}]},{"value":[" }"]}]}]},{"value":[", "]},{"s":[{"value":["system",": "]},{"r":"775","s":[{"value":["FHIR",".","uri"," { "]},{"s":[{"value":["value",": "]},{"r":"778","s":[{"r":"777","s":[{"value":["code"]}]},{"value":["."]},{"r":"778","s":[{"value":["system"]}]}]}]},{"value":[" }"]}]}]},{"value":[", "]},{"s":[{"value":["display",": "]},{"r":"779","s":[{"value":["FHIR",".","string"," { "]},{"s":[{"value":["value",": "]},{"r":"782","s":[{"r":"781","s":[{"value":["code"]}]},{"value":["."]},{"r":"782","s":[{"value":["display"]}]}]}]},{"value":[" }"]}]}]},{"value":[" }"]}]}]}]}}],"expression":{"localId":"769","locator":"101:3-101:141","resultTypeName":"{http://hl7.org/fhir}Coding","classType":"{http://hl7.org/fhir}Coding","type":"Instance","element":[{"name":"code","value":{"localId":"771","locator":"101:23-101:52","resultTypeName":"{http://hl7.org/fhir}code","classType":"{http://hl7.org/fhir}code","type":"Instance","element":[{"name":"value","value":{"localId":"774","locator":"101:42-101:50","resultTypeName":"{urn:hl7-org:elm-types:r1}String","path":"code","type":"Property","source":{"localId":"773","locator":"101:42-101:45","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"code","type":"OperandRef"}}}]}},{"name":"system","value":{"localId":"775","locator":"101:63-101:93","resultTypeName":"{http://hl7.org/fhir}uri","classType":"{http://hl7.org/fhir}uri","type":"Instance","element":[{"name":"value","value":{"localId":"778","locator":"101:81-101:91","resultTypeName":"{urn:hl7-org:elm-types:r1}String","path":"system","type":"Property","source":{"localId":"777","locator":"101:81-101:84","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"code","type":"OperandRef"}}}]}},{"name":"display","value":{"localId":"779","locator":"101:105-101:139","resultTypeName":"{http://hl7.org/fhir}string","classType":"{http://hl7.org/fhir}string","type":"Instance","element":[{"name":"value","value":{"localId":"782","locator":"101:126-101:137","resultTypeName":"{urn:hl7-org:elm-types:r1}String","path":"display","type":"Property","source":{"localId":"781","locator":"101:126-101:129","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"code","type":"OperandRef"}}}]}}]},"operand":[{"localId":"562","name":"code","operandTypeSpecifier":{"localId":"561","locator":"100:31-100:41","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"{urn:hl7-org:elm-types:r1}Code","type":"NamedTypeSpecifier"}}]},{"localId":"544","locator":"72:1-82:13","name":"Suggestions","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"544","s":[{"value":["","define ","\"Suggestions\"",":\n  "]},{"r":"545","s":[{"value":["if "]},{"r":"546","s":[{"value":["\"InPopulation\""]}]},{"value":[" then "]},{"r":"547","s":[{"value":["List { "]},{"r":"548","s":[{"value":["Tuple {\n    "]},{"s":[{"value":["label",": "]},{"r":"549","s":[{"value":["'RXNORM 2636588\nrespiratory syncytial virus pre-fusion F protein, recombinant'"]}]}]},{"value":[",\n    "]},{"s":[{"value":["actions",": "]},{"r":"550","s":[{"value":["List { "]},{"r":"551","s":[{"value":["Tuple {\n      "]},{"s":[{"value":["type",": "]},{"r":"552","s":[{"value":["'create'"]}]}]},{"value":[",\n      "]},{"s":[{"value":["description",": "]},{"r":"553","s":[{"value":["'RSV vaccination order for eligible adult patient aged 60 years or older with high-risk chronic condition and no prior documented RSV vaccination.'"]}]}]},{"value":[",\n      "]},{"s":[{"value":["resource",": "]},{"r":"554","s":[{"value":["MedicationRequest"," { "]},{"s":[{"value":["medication",": "]},{"r":"556","s":[{"value":["FHIR",".","CodeableConcept"," { "]},{"s":[{"value":["coding",": "]},{"r":"558","s":[{"value":["List { "]},{"r":"563","s":[{"value":["ToCoding","("]},{"r":"559","s":[{"value":["\"2636588 code\""]}]},{"value":[")"]}]},{"value":[" }"]}]}]},{"value":[" }"]}]}]},{"value":[", "]},{"s":[{"value":["status",": "]},{"r":"585","s":[{"value":["FHIR",".","MedicationRequestStatus"," { "]},{"s":[{"value":["value",": "]},{"r":"587","s":[{"value":["'active'"]}]}]},{"value":[" }"]}]}]},{"value":[", "]},{"s":[{"value":["intent",": "]},{"r":"588","s":[{"value":["FHIR",".","MedicationRequestIntent"," { "]},{"s":[{"value":["value",": "]},{"r":"590","s":[{"value":["'order'"]}]}]},{"value":[" }"]}]}]},{"value":[", "]},{"s":[{"value":["subject",": "]},{"r":"591","s":[{"value":["FHIR",".","Reference"," { "]},{"s":[{"value":["reference",": "]},{"r":"593","s":[{"value":["FHIR",".","string"," { "]},{"s":[{"value":["value",": "]},{"r":"603","s":[{"r":"596","s":[{"value":["'Patient/'"]}]},{"value":[" + "]},{"r":"598","s":[{"r":"597","s":[{"value":["Patient"]}]},{"value":["."]},{"r":"598","s":[{"value":["id"]}]}]}]}]},{"value":[" }"]}]}]},{"value":[" }"]}]}]},{"value":[" }"]}]}]},{"value":["\n    }"]}]},{"value":[" }"]}]}]},{"value":["\n  }"]}]},{"value":[" }"]}]},{"r":"644","value":[" \n    else ","null"]}]}]}}],"resultTypeSpecifier":{"localId":"672","type":"ListTypeSpecifier","elementType":{"localId":"673","type":"TupleTypeSpecifier","element":[{"localId":"674","name":"label","elementType":{"localId":"675","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"676","name":"actions","elementType":{"localId":"677","type":"ListTypeSpecifier","elementType":{"localId":"678","type":"TupleTypeSpecifier","element":[{"localId":"679","name":"type","elementType":{"localId":"680","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"681","name":"description","elementType":{"localId":"682","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"683","name":"resource","elementType":{"localId":"684","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]}}}]}},"expression":{"localId":"545","locator":"73:3-82:13","type":"If","resultTypeSpecifier":{"localId":"659","type":"ListTypeSpecifier","elementType":{"localId":"660","type":"TupleTypeSpecifier","element":[{"localId":"661","name":"label","elementType":{"localId":"662","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"663","name":"actions","elementType":{"localId":"664","type":"ListTypeSpecifier","elementType":{"localId":"665","type":"TupleTypeSpecifier","element":[{"localId":"666","name":"type","elementType":{"localId":"667","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"668","name":"description","elementType":{"localId":"669","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"670","name":"resource","elementType":{"localId":"671","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]}}}]}},"condition":{"localId":"546","locator":"73:6-73:19","resultTypeName":"{urn:hl7-org:elm-types:r1}Boolean","name":"InPopulation","type":"ExpressionRef"},"then":{"localId":"547","locator":"73:26-81:5","type":"List","resultTypeSpecifier":{"localId":"631","type":"ListTypeSpecifier","elementType":{"localId":"632","type":"TupleTypeSpecifier","element":[{"localId":"633","name":"label","elementType":{"localId":"634","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"635","name":"actions","elementType":{"localId":"636","type":"ListTypeSpecifier","elementType":{"localId":"637","type":"TupleTypeSpecifier","element":[{"localId":"638","name":"type","elementType":{"localId":"639","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"640","name":"description","elementType":{"localId":"641","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"642","name":"resource","elementType":{"localId":"643","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]}}}]}},"element":[{"localId":"548","locator":"73:33-81:3","type":"Tuple","resultTypeSpecifier":{"localId":"619","type":"TupleTypeSpecifier","element":[{"localId":"620","name":"label","elementType":{"localId":"621","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"622","name":"actions","elementType":{"localId":"623","type":"ListTypeSpecifier","elementType":{"localId":"624","type":"TupleTypeSpecifier","element":[{"localId":"625","name":"type","elementType":{"localId":"626","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"627","name":"description","elementType":{"localId":"628","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"629","name":"resource","elementType":{"localId":"630","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]}}}]},"element":[{"name":"label","value":{"localId":"549","locator":"74:12-74:90","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"RXNORM 2636588\r\nrespiratory syncytial virus pre-fusion F protein, recombinant","type":"Literal"}},{"name":"actions","value":{"localId":"550","locator":"76:14-80:7","type":"List","resultTypeSpecifier":{"localId":"611","type":"ListTypeSpecifier","elementType":{"localId":"612","type":"TupleTypeSpecifier","element":[{"localId":"613","name":"type","elementType":{"localId":"614","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"615","name":"description","elementType":{"localId":"616","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"617","name":"resource","elementType":{"localId":"618","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]}},"element":[{"localId":"551","locator":"76:21-80:5","type":"Tuple","resultTypeSpecifier":{"localId":"604","type":"TupleTypeSpecifier","element":[{"localId":"605","name":"type","elementType":{"localId":"606","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"607","name":"description","elementType":{"localId":"608","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"609","name":"resource","elementType":{"localId":"610","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]},"element":[{"name":"type","value":{"localId":"552","locator":"77:13-77:20","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"create","type":"Literal"}},{"name":"description","value":{"localId":"553","locator":"78:20-78:166","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"RSV vaccination order for eligible adult patient aged 60 years or older with high-risk chronic condition and no prior documented RSV vaccination.","type":"Literal"}},{"name":"resource","value":{"localId":"554","locator":"79:17-79:318","resultTypeName":"{http://hl7.org/fhir}MedicationRequest","classType":"{http://hl7.org/fhir}MedicationRequest","type":"Instance","element":[{"name":"medication","value":{"localId":"581","type":"As","signature":[],"operand":{"localId":"556","locator":"79:49-79:114","resultTypeName":"{http://hl7.org/fhir}CodeableConcept","classType":"{http://hl7.org/fhir}CodeableConcept","type":"Instance","element":[{"name":"coding","value":{"localId":"558","locator":"79:80-79:112","type":"List","resultTypeSpecifier":{"localId":"579","type":"ListTypeSpecifier","elementType":{"localId":"580","name":"{http://hl7.org/fhir}Coding","type":"NamedTypeSpecifier"}},"element":[{"localId":"563","locator":"79:87-79:110","resultTypeName":"{http://hl7.org/fhir}Coding","name":"ToCoding","type":"FunctionRef","signature":[{"localId":"564","name":"{urn:hl7-org:elm-types:r1}Code","type":"NamedTypeSpecifier"}],"operand":[{"localId":"559","locator":"79:96-79:109","resultTypeName":"{urn:hl7-org:elm-types:r1}Code","name":"2636588 code","type":"CodeRef"}]}]}}]},"asTypeSpecifier":{"localId":"582","type":"ChoiceTypeSpecifier","choice":[{"localId":"583","name":"{http://hl7.org/fhir}CodeableConcept","type":"NamedTypeSpecifier"},{"localId":"584","name":"{http://hl7.org/fhir}Reference","type":"NamedTypeSpecifier"}]}}},{"name":"status","value":{"localId":"585","locator":"79:125-79:172","resultTypeName":"{http://hl7.org/fhir}MedicationRequestStatus","classType":"{http://hl7.org/fhir}MedicationRequestStatus","type":"Instance","element":[{"name":"value","value":{"localId":"587","locator":"79:163-79:170","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"active","type":"Literal"}}]}},{"name":"intent","value":{"localId":"588","locator":"79:183-79:229","resultTypeName":"{http://hl7.org/fhir}MedicationRequestIntent","classType":"{http://hl7.org/fhir}MedicationRequestIntent","type":"Instance","element":[{"name":"value","value":{"localId":"590","locator":"79:221-79:227","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"order","type":"Literal"}}]}},{"name":"subject","value":{"localId":"591","locator":"79:241-79:316","resultTypeName":"{http://hl7.org/fhir}Reference","classType":"{http://hl7.org/fhir}Reference","type":"Instance","element":[{"name":"reference","value":{"localId":"593","locator":"79:269-79:314","resultTypeName":"{http://hl7.org/fhir}string","classType":"{http://hl7.org/fhir}string","type":"Instance","element":[{"name":"value","value":{"localId":"603","locator":"79:290-79:312","resultTypeName":"{urn:hl7-org:elm-types:r1}String","type":"Concatenate","signature":[],"operand":[{"localId":"596","locator":"79:290-79:299","resultTypeName":"{urn:hl7-org:elm-types:r1}String","valueType":"{urn:hl7-org:elm-types:r1}String","value":"Patient/","type":"Literal"},{"localId":"599","name":"ToString","libraryName":"FHIRHelpers","type":"FunctionRef","signature":[{"localId":"600","name":"{http://hl7.org/fhir}id","type":"NamedTypeSpecifier"}],"operand":[{"localId":"598","locator":"79:303-79:312","resultTypeName":"{http://hl7.org/fhir}id","path":"id","type":"Property","source":{"localId":"597","locator":"79:303-79:309","resultTypeName":"{http://hl7.org/fhir}Patient","name":"Patient","type":"ExpressionRef"}}]}]}}]}}]}}]}}]}]}}]}]},"else":{"localId":"645","type":"As","signature":[],"operand":{"localId":"644","locator":"82:10-82:13","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"},"asTypeSpecifier":{"localId":"646","type":"ListTypeSpecifier","elementType":{"localId":"647","type":"TupleTypeSpecifier","element":[{"localId":"648","name":"label","elementType":{"localId":"649","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"650","name":"actions","elementType":{"localId":"651","type":"ListTypeSpecifier","elementType":{"localId":"652","type":"TupleTypeSpecifier","element":[{"localId":"653","name":"type","elementType":{"localId":"654","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"655","name":"description","elementType":{"localId":"656","name":"{urn:hl7-org:elm-types:r1}String","type":"NamedTypeSpecifier"}},{"localId":"657","name":"resource","elementType":{"localId":"658","name":"{http://hl7.org/fhir}MedicationRequest","type":"NamedTypeSpecifier"}}]}}}]}}}}},{"localId":"686","locator":"84:1-85:6","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","name":"Errors","context":"Patient","accessLevel":"Public","annotation":[{"type":"Annotation","s":{"r":"686","s":[{"r":"687","value":["","define ","\"Errors\"",":\n  ","null"]}]}}],"expression":{"localId":"687","locator":"85:3-85:6","resultTypeName":"{urn:hl7-org:elm-types:r1}Any","type":"Null"}}]}}}