CDA to FHIR Maps - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Draft as of 2024-04-11 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "cda2fhirDataTypes"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <pre>map "http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirDataTypes" = "cda2fhirDataTypes"\n\nconceptmap "addressUse" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-AddressUse"\n prefix t = "http://hl7.org/fhir/address-use"\n\n s:H == t:home\n s:HP == t:home\n s:HV == t:home\n s:WP == t:work\n s:DIR == t:work\n s:PUB == t:work\n s:TMP == t:temp\n s:OLD == t:old\n s:BAD == t:old\n}\n\nconceptmap "OBSstatus" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-statusCode"\n prefix t = "http://hl7.org/fhir/event-status"\n\n s:completed == t:final\n s:active == t:registered\n s:aborted == t:cancelled\n}\n\nconceptmap "EventStatus" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-statusCode"\n prefix t = "http://hl7.org/fhir/ValueSet/fm-status"\n\n s:completed == t:completed\n s:active == t:"in-progress"\n s:aborted == t:stopped\n s:suspended == t:"on-hold"\n}\n\nconceptmap "FinancialStatus" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-statusCode"\n prefix t = "http://hl7.org/fhir/ValueSet/fm-status"\n\n s:active == t:active\n s:aborted == t:cancelled\n s:suspended == t:draft\n}\n\nconceptmap "MedicationStatusMap" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-statusCode"\n prefix t = "http://hl7.org/fhir/ValueSet/medicationrequest-status"\n\n s:completed == t:completed\n s:active == t:active\n s:aborted == t:cancelled\n s:suspended == t:"on-hold"\n}\n\nconceptmap "cm-v3-administrative-gender" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-AdministrativeGender"\n prefix t = "http://hl7.org/fhir/ValueSet/administrative-gender"\n\n s:M == t:male\n s:F == t:female\n}\n\nconceptmap "AllergyTypeMap" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-type"\n prefix t = "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"\n\n s:OINT == t:intolerance\n s:ALG == t:allergy\n s:DALG == t:allergy\n s:EALG == t:allergy\n s:FALG == t:allergy\n s:NAINT == t:intolerance\n s:FNAINT == t:intolerance\n s:DNAINT == t:intolerance\n s:ENAINT == t:intolerance\n s:FINT == t:intolerance\n s:DINT == t:intolerance\n s:EINT == t:intolerance\n}\n\nconceptmap "AllergyCategoryMap" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-type"\n prefix t = "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"\n\n s:DALG == t:medication\n s:EALG == t:enviroment\n s:FALG == t:food\n s:FNAINT == t:intolerance\n s:DNAINT == t:medication\n s:ENAINT == t:enviroment\n s:FINT == t:food\n s:DINT == t:medication\n s:EINT == t:enviroment\n}\n\nconceptmap "CricalityMap" {\n prefix s = "http://terminology.hl7.org/CodeSystem/v3-ObservationValue"\n prefix t = "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality"\n\n s:M == t:low\n s:H == t:high\n s:L == t:low\n}\n\nconceptmap "ClinicalStatusMap" {\n prefix s = "https://loinc.org/99493-9/"\n prefix t = "http://hl7.org/fhir/ValueSet/condition-clinical"\n\n s:"LA16666-2" == t:active\n s:"LA18632-2" == t:inactive\n s:"LA9041-0" == t:resolved\n}\n\nconceptmap "priority" {\n prefix s = "http://terminology.hl7.org/ValueSet/v3-ActPriority"\n prefix t = "http://hl7.org/fhir/ValueSet/request-priority"\n\n s:R == t:routine\n s:P == t:asap\n s:UR == t:urgent\n s:EM == t:stat\n s:S == t:stat\n s:A == t:asap\n s:CR == t:routine\n s:EL == t:routine\n s:p == t:stat\n s:PRN == t:routine\n s:RR == t:asap\n s:T == t:urgent\n s:UD == t:routine\n}\n\nconceptmap "AllergyCriticality" {\n prefix s = "https://art-decor.org/art-decor/decor-valuesets--hl7it-?id=2.16.840.1.113883.2.9.77.22.11.6"\n prefix t = "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality"\n\n s:L == t:low\n s:H == t:high\n s:M == t:unable_to_assess\n}\n\nuses "http://hl7.org/fhir/cda/StructureDefinition/ED" alias ED as source\nuses "http://hl7.org/fhir/cda/StructureDefinition/INT" alias INT as source\nuses "http://hl7.org/fhir/cda/StructureDefinition/II" as source\nuses "http://hl7.org/fhir/StructureDefinition/Identifier" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/TS" as source\nuses "http://hl7.org/fhir/StructureDefinition/instant" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/CS" as source\nuses "http://hl7.org/fhir/StructureDefinition/code" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/CE" as source\nuses "http://hl7.org/fhir/StructureDefinition/CodeableConcept" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/ST" as source\nuses "http://hl7.org/fhir/StructureDefinition/string" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/EN" as source\nuses "http://hl7.org/fhir/StructureDefinition/HumanName" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/AD" as source\nuses "http://hl7.org/fhir/StructureDefinition/Address" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/TEL" as source\nuses "http://hl7.org/fhir/StructureDefinition/ContactPoint" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/BL" as source\nuses "http://hl7.org/fhir/StructureDefinition/boolean" as target\nuses "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS" as source\nuses "http://hl7.org/fhir/StructureDefinition/Period" as target\n\ngroup Any(source src, target tgt) {\n src -> tgt "simple";\n}\n\ngroup II(source src : II, target tgt : Identifier) extends Any <<types>> {\n src.root as r where src.extension.exists() -> tgt.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') "root1";\n src.root as r where src.extension.empty() and src.root.matches('[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}') -> tgt.system = 'urn:ietf:rfc:3986', tgt.value = ('urn:uuid:' + r.lower()) "rootuuid";\n src.root as r where src.extension.empty() and src.root.contains('.') -> tgt.system = 'urn:ietf:rfc:3986', tgt.value = append('urn:oid:', r) "rootoid";\n src.extension as e -> tgt.value = e;\n src.assigningAuthorityName as s -> tgt.assigner as a, a.display = s;\n}\n\ngroup INT(source src : INT, target tgt : integer) extends Any <<types>> {\n src.value as v -> tgt.value = cast(v, 'string');\n}\n\ngroup TemplateID(source template : II, target tgt) {\n template -> tgt.extension as ext then {\n template -> ext.url = 'http://hl7.org/fhir/cda/StructureDefinition/templateID' "url";\n template -> ext.value = create('Identifier') as value then II(template, value) "value";\n } "templateId";\n}\n\ngroup Negation(source negation : BL, target tgt) {\n negation -> tgt.modifierExtension as ext then {\n negation -> ext.url = 'http://hl7.org/fhir/cda/StructureDefinition/negationIndicator' "url";\n negation as neg -> ext.value = create('boolean'), ext.value = neg "value";\n } "negation";\n}\n\ngroup TSInstant(source src : TS, target tgt : instant) extends Any <<types>> {\n src.value as v -> tgt.value = cast(v, 'string');\n}\n\ngroup TSDateTime(source src : TS, target tgt : dateTime) extends TSInstant <<types>> {\n src where (value.contains('+')) then {\n src.value as v -> tgt.value = cast(v, 'string');\n } "eff";\n src where (value.contains('-')) then {\n src.value as v -> tgt.value = cast(v, 'string');\n } "eff";\n src.value where (value.matches('^\\\\d{4}(\\\\-\\\\d{2}){2}T\\\\d{2}(:\\\\d{2}){2}$')) then {\n src.value as v -> tgt.value = append(v, 'Z') "date";\n } "eff";\n}\n\ngroup TSDate(source src : TS, target tgt : date) extends TSInstant <<types>> {\n src.value as v -> tgt.value = cast(v, 'string') "date";\n}\n\ngroup IVLTSPeriod(source src : IVL_TS, target tgt : Period) extends Any <<types>> {\n src.low as l -> tgt.start = create('dateTime') as start then TSDateTime(l, start);\n src.high as h -> tgt.end = create('dateTime') as end then TSDateTime(h, end);\n}\n\ngroup IVLTSDateTime(source src : IVL_TS, target tgt : dateTime) extends Any <<types>> {\n src.low as s then TSDateTime(s, tgt);\n}\n\ngroup STstring(source src : ST, target tgt : string) extends Any <<types>> {\n src as v -> tgt.value = cast(v, 'string') "value";\n}\n\ngroup EDstring(source src : ED, target tgt : string) extends STstring <<types>> {\n src as v -> tgt.value = cast(v, 'string') "value";\n}\n\ngroup INTstring(source src : INT, target tgt : string) extends STstring <<types>> {\n src as v -> tgt.value = cast(v, 'string') "value";\n}\n\ngroup ONstring(source src : ON, target tgt : string) extends STstring <<types>> {\n src as v -> tgt.value = cast(v, 'string') "value";\n}\n\ngroup CSCode(source src : CS, target tgt : code) extends Any <<types>> {\n src.code as c -> tgt.value = cast(c, 'string');\n}\n\ngroup CECode(source src : CE, target tgt : code) extends CSCode <<types>> {\n src.code as c -> tgt.value = cast(c, 'string');\n}\n\ngroup CDCode(source src : CD, target tgt : code) extends CSCode <<types>> {\n src.code as c -> tgt.value = cast(c, 'string');\n}\n\ngroup CECodeableConcept(source src : CE, target tgt : CodeableConcept) extends Any <<types>> {\n src.originalText as originalText then {\n originalText.reference as reference -> tgt.text = (reference.value);\n } "originltext";\n src -> tgt.coding as coding then {\n src.code as code -> coding.code = cast(code, 'string');\n src.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n src.displayName as display -> coding.display = cast(display, 'string');\n src.codeSystemVersion as version -> coding.version = cast(version, 'string');\n } "code";\n src.translation as translation -> tgt.coding as coding then {\n translation.code as code -> coding.code = cast(code, 'string');\n translation.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n translation.displayName as display -> coding.display = cast(display, 'string');\n translation.codeSystemVersion as version -> coding.version = cast(version, 'string');\n translation.qualifier as qualifier then {\n qualifier.name as name -> tgt.coding as coding then {\n name.code as code -> coding.code = cast(code, 'string');\n name.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n name.displayName as display -> coding.display = cast(display, 'string');\n name.codeSystemVersion as version -> coding.version = cast(version, 'string');\n };\n qualifier.value as value -> tgt.coding as coding then {\n value.code as code -> coding.code = cast(code, 'string');\n value.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n value.displayName as display -> coding.display = cast(display, 'string');\n value.codeSystemVersion as version -> coding.version = cast(version, 'string');\n };\n };\n };\n}\n\ngroup CSCodeableConcept(source src : CS, target tgt : CodeableConcept) extends CECodeableConcept <<types>> {\n src.originalText as originalText then {\n originalText.reference as reference -> tgt.text = (reference.value);\n } "originltext";\n src -> tgt.coding as coding then {\n src.code as code -> coding.code = cast(code, 'string');\n src.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n src.displayName as display -> coding.display = cast(display, 'string');\n src.codeSystemVersion as version -> coding.version = cast(version, 'string');\n } "code";\n src.translation as translation -> tgt.coding as coding then {\n translation.code as code -> coding.code = cast(code, 'string');\n translation.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n translation.displayName as display -> coding.display = cast(display, 'string');\n translation.codeSystemVersion as version -> coding.version = cast(version, 'string');\n translation.qualifier as qualifier then {\n qualifier.name as name -> tgt.coding as coding then {\n name.code as code -> coding.code = cast(code, 'string');\n name.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n name.displayName as display -> coding.display = cast(display, 'string');\n name.codeSystemVersion as version -> coding.version = cast(version, 'string');\n };\n qualifier.value as value -> tgt.coding as coding then {\n value.code as code -> coding.code = cast(code, 'string');\n value.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n value.displayName as display -> coding.display = cast(display, 'string');\n value.codeSystemVersion as version -> coding.version = cast(version, 'string');\n };\n };\n };\n}\n\ngroup CDCodeableConcept(source src : CD, target tgt : CodeableConcept) extends CECodeableConcept <<types>> {\n src.originalText as originalText then {\n originalText.reference as reference -> tgt.text = (reference.value);\n } "originltext";\n src -> tgt.coding as coding then {\n src.code as code -> coding.code = cast(code, 'string');\n src.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n src.displayName as display -> coding.display = cast(display, 'string');\n src.codeSystemVersion as version -> coding.version = cast(version, 'string');\n } "code";\n src.translation as translation -> tgt.coding as coding then {\n translation.code as code -> coding.code = cast(code, 'string');\n translation.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n translation.displayName as display -> coding.display = cast(display, 'string');\n translation.codeSystemVersion as version -> coding.version = cast(version, 'string');\n translation.qualifier as qualifier then {\n qualifier.name as name -> tgt.coding as coding then {\n name.code as code -> coding.code = cast(code, 'string');\n name.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n name.displayName as display -> coding.display = cast(display, 'string');\n name.codeSystemVersion as version -> coding.version = cast(version, 'string');\n };\n qualifier.value as value -> tgt.coding as coding then {\n value.code as code -> coding.code = cast(code, 'string');\n value.codeSystem as system -> coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n value.displayName as display -> coding.display = cast(display, 'string');\n value.codeSystemVersion as version -> coding.version = cast(version, 'string');\n };\n };\n };\n}\n\ngroup ENHumanName(source src : EN, target tgt : HumanName) extends Any <<types>> {\n src.family as v -> tgt.family = (v.dataString);\n src.given as v -> tgt.given = (v.dataString);\n src.prefix as v -> tgt.prefix = (v.dataString);\n src.suffix as v -> tgt.suffix = (v.dataString);\n // src.use as c -> tgt.use = translate(c, 'http://hl7.org/fhir/ConceptMap/cm-name-use-v3', 'code');\n src.validTime -> tgt.period;\n}\n\ngroup ADAddress(source src : AD, target tgt : Address) extends Any <<types>> {\n src.country as v -> tgt.country = (v.dataString);\n src.state as v -> tgt.state = (v.dataString);\n src.county as v -> tgt.district = (v.dataString);\n src.city as v -> tgt.city = (v.dataString);\n src.postalCode as v -> tgt.postalCode = (v.dataString);\n src.streetAddressLine as v -> tgt.line = (v.dataString);\n src -> tgt.line as line then {\n src where src.censusTract.exists() then {\n src.censusTract as v -> line.extension as ext1 then CensusTract(v, ext1) "line";\n } "sfgfdsg";\n } "CensusTract";\n // share firstline "streetAddress";\n src.streetName as v -> tgt.line = (v.dataString);\n src.houseNumber as v -> tgt.line = (v.dataString);\n src.use as c -> tgt.use = translate(c, '#addressUse', 'code') "addressUse";\n src.useablePeriod -> tgt.period;\n}\n\ngroup TELContactPoint(source src : TEL, target tgt : ContactPoint) extends Any <<types>> {\n src.value as v where (src.value.startsWith('tel:')) -> tgt.value = (v.substring(4)), tgt.system = 'phone' "valuetel";\n src.value as v where (src.value.startsWith('fax:')) -> tgt.value = (v.substring(4)), tgt.system = 'fax' "valuefax";\n src.value as v where (src.value.startsWith('mailto:')) -> tgt.value = (v.substring(7)), tgt.system = 'email' "valuemail";\n src.value as v where (src.value.startsWith('http:')) -> tgt.value = (v.substring(5)), tgt.system = 'url' "valuehttp";\n src.use where (src.use.startsWith('H')) -> tgt.use = 'home' "usehome";\n src.use where ((src.use = 'WP') or (src.use = 'DIR') or (src.use = 'PUB')) -> tgt.use = 'work' "usework";\n src.use where (src.use = 'BAD') -> tgt.use = 'old' "usebad";\n src.use where (src.use = 'TMP') -> tgt.use = 'temp' "usetmp";\n src.use where (src.use = 'MC') -> tgt.use = 'mobile' "usemobile";\n src.useablePeriod -> tgt.period;\n}\n\ngroup PQQuantity(source src : PQ, target tgt : Quantity) extends Any <<types>> {\n // src.unit as unit -> tgt.code = unit;\n src.unit as unit -> tgt.unit = unit;\n src.value as value -> tgt.value = value;\n}\n\ngroup RTOPQPQRatio(source src : RTO_PQ_PQ, target tgt : Ratio) extends Any <<types>> {\n src.numerator as numerator -> tgt.numerator as targetNumerator then PQQuantity(numerator, targetNumerator);\n src.denominator as denominator -> tgt.denominator as targetDenominator then PQQuantity(denominator, targetDenominator);\n}\n\ngroup CensusTract(source src : ST, target ext : Extension) {\n src -> ext.url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract' "url";\n src -> ext.value = create('string'), ext.value = (src.dataString) "value";\n}\n\n</pre>\n </div>" ] ; # fhir:contained ( [ a fhir:ConceptMap ; fhir:id [ fhir:v "addressUse" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-AddressUse"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/address-use"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "H" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "home" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "HP" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "home" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "HV" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "home" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "WP" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "work" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "DIR" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "work" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "PUB" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "work" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "TMP" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "temp" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "OLD" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "old" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "BAD" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "old" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "OBSstatus" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-statusCode"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/event-status"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "completed" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "final" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "active" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "registered" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "aborted" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "cancelled" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "EventStatus" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-statusCode"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/fm-status"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "completed" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "completed" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "active" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "in-progress" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "aborted" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "stopped" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "suspended" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "on-hold" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "FinancialStatus" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-statusCode"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/fm-status"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "active" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "active" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "aborted" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "cancelled" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "suspended" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "draft" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "MedicationStatusMap" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-statusCode"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/medicationrequest-status"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "completed" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "completed" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "active" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "active" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "aborted" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "cancelled" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "suspended" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "on-hold" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "cm-v3-administrative-gender" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-AdministrativeGender"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "M" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "male" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "F" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "female" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "AllergyTypeMap" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-type"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "OINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "ALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "allergy" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "DALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "allergy" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "EALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "allergy" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "FALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "allergy" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "NAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "FNAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "DNAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "ENAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "FINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "DINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "EINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "AllergyCategoryMap" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-type"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "DALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "medication" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "EALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "enviroment" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "FALG" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "food" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "FNAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "intolerance" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "DNAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "medication" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "ENAINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "enviroment" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "FINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "food" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "DINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "medication" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "EINT" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "enviroment" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "CricalityMap" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ObservationValue"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "M" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "low" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "H" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "high" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "L" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "low" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "ClinicalStatusMap" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "https://loinc.org/99493-9/"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/condition-clinical"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "LA16666-2" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "active" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "LA18632-2" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "inactive" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "LA9041-0" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "resolved" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "priority" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ActPriority"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/request-priority"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "R" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "routine" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "P" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "asap" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "UR" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "urgent" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "EM" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "stat" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "S" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "stat" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "A" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "asap" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "CR" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "routine" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "EL" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "routine" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "p" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "stat" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "PRN" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "routine" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "RR" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "asap" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "T" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "urgent" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "UD" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "routine" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] [ a fhir:ConceptMap ; fhir:id [ fhir:v "AllergyCriticality" ] ; fhir:status [ fhir:v "draft" ] ; ( fhir:group [ fhir:source [ fhir:v "https://art-decor.org/art-decor/decor-valuesets--hl7it-?id=2.16.840.1.113883.2.9.77.22.11.6"^^xsd:anyURI ] ; fhir:target [ fhir:v "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality"^^xsd:anyURI ] ; ( fhir:element [ fhir:code [ fhir:v "L" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "low" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "H" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "high" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] [ fhir:code [ fhir:v "M" ] ; ( fhir:_target [ ( fhir:modifierExtension [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ; fhir:value [ fhir:v "equivalent" ] ] ) ; fhir:code [ fhir:v "unable_to_assess" ] ; fhir:equivalence [ fhir:v "equivalent" ] ] ) ] ) ] ) ] ) ; # fhir:url [ fhir:v "http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirDataTypes"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "cda2fhirDataTypes"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2024-04-11T15:38:19+02:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 Italy"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 Italy" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.it" ] ] ) ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "IT" ] ; fhir:display [ fhir:v "Italy" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/ED"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/ED> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "ED" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/INT"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/INT> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "INT" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/II"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/II> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Identifier"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Identifier> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/TS"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/TS> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instant"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/instant> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/CS"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/CS> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/code"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/code> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/CE"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/CE> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/CodeableConcept"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/CodeableConcept> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/ST"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/ST> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/string"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/string> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/EN"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/EN> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/HumanName"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/HumanName> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/AD"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/AD> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Address"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Address> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/TEL"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/TEL> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/ContactPoint"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/ContactPoint> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/BL"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/BL> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/boolean"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/boolean> ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/cda/StructureDefinition/IVL-TS> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Period"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Period> ] ; fhir:mode [ fhir:v "target" ] ] ) ; # fhir:group ( [ fhir:name [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "simple" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "II" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "II" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Identifier" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "root1" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "root" ] ; fhir:variable [ fhir:v "r" ] ; fhir:condition [ fhir:v "src.extension.exists()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "r" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "rootuuid" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "root" ] ; fhir:variable [ fhir:v "r" ] ; fhir:condition [ fhir:v "src.extension.empty() and src.root.matches('[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "urn:ietf:rfc:3986" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "'urn:uuid:' + r.lower()" ] ] ) ] ) ] [ fhir:name [ fhir:v "rootoid" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "root" ] ; fhir:variable [ fhir:v "r" ] ; fhir:condition [ fhir:v "src.extension.empty() and src.root.contains('.')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "urn:ietf:rfc:3986" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "urn:oid:" ] ] [ fhir:value [ fhir:v "r" ] ] ) ] ) ] [ fhir:name [ fhir:v "extension" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "extension" ] ; fhir:variable [ fhir:v "e" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "e" ] ] ) ] ) ] [ fhir:name [ fhir:v "assigningAuthorityName" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "assigningAuthorityName" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "assigner" ] ; fhir:variable [ fhir:v "a" ] ] [ fhir:context [ fhir:v "a" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "s" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "INT" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "INT" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "integer" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "TemplateID" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "template" ] ; fhir:type [ fhir:v "II" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "templateId" ] ; ( fhir:source [ fhir:context [ fhir:v "template" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "extension" ] ; fhir:variable [ fhir:v "ext" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "url" ] ; ( fhir:source [ fhir:context [ fhir:v "template" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/templateID" ] ] ) ] ) ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "template" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "value" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "II" ] ; ( fhir:variable [ fhir:v "template" ] [ fhir:v "value" ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "Negation" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "negation" ] ; fhir:type [ fhir:v "BL" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "negation" ] ; ( fhir:source [ fhir:context [ fhir:v "negation" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "modifierExtension" ] ; fhir:variable [ fhir:v "ext" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "url" ] ; ( fhir:source [ fhir:context [ fhir:v "negation" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/cda/StructureDefinition/negationIndicator" ] ] ) ] ) ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "negation" ] ; fhir:variable [ fhir:v "neg" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "boolean" ] ] ) ] [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "neg" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "TSInstant" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "TS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "instant" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "TSDateTime" ] ; fhir:extends [ fhir:v "TSInstant" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "TS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "dateTime" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "eff" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:condition [ fhir:v "(value.contains('+'))" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "eff" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:condition [ fhir:v "(value.contains('-'))" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "eff" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:condition [ fhir:v "(value.matches('^\\\\d{4}(\\\\-\\\\d{2}){2}T\\\\d{2}(:\\\\d{2}){2}$'))" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "date" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "Z" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "TSDate" ] ; fhir:extends [ fhir:v "TSInstant" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "TS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "date" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "date" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "IVLTSPeriod" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "IVL_TS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Period" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "low" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "low" ] ; fhir:variable [ fhir:v "l" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "start" ] ; fhir:variable [ fhir:v "start" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "dateTime" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "TSDateTime" ] ; ( fhir:variable [ fhir:v "l" ] [ fhir:v "start" ] ) ] ) ] [ fhir:name [ fhir:v "high" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "high" ] ; fhir:variable [ fhir:v "h" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "end" ] ; fhir:variable [ fhir:v "end" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "dateTime" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "TSDateTime" ] ; ( fhir:variable [ fhir:v "h" ] [ fhir:v "end" ] ) ] ) ] ) ] [ fhir:name [ fhir:v "IVLTSDateTime" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "IVL_TS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "dateTime" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "low" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "low" ] ; fhir:variable [ fhir:v "s" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "TSDateTime" ] ; ( fhir:variable [ fhir:v "s" ] [ fhir:v "tgt" ] ) ] ) ] ) ] [ fhir:name [ fhir:v "STstring" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "ST" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "string" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "EDstring" ] ; fhir:extends [ fhir:v "STstring" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "ED" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "string" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "INTstring" ] ; fhir:extends [ fhir:v "STstring" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "INT" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "string" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "ONstring" ] ; fhir:extends [ fhir:v "STstring" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "ON" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "string" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CSCode" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "CS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "code" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "c" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CECode" ] ; fhir:extends [ fhir:v "CSCode" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "CE" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "code" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "c" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CDCode" ] ; fhir:extends [ fhir:v "CSCode" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "CD" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "code" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "c" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CECodeableConcept" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "CE" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "CodeableConcept" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "originltext" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "originalText" ] ; fhir:variable [ fhir:v "originalText" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "reference" ] ; ( fhir:source [ fhir:context [ fhir:v "originalText" ] ; fhir:element [ fhir:v "reference" ] ; fhir:variable [ fhir:v "reference" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "reference.value" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "translation" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "translation" ] ; fhir:variable [ fhir:v "translation" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "qualifier" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "qualifier" ] ; fhir:variable [ fhir:v "qualifier" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "name" ] ; ( fhir:source [ fhir:context [ fhir:v "qualifier" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "name" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "qualifier" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "value" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CSCodeableConcept" ] ; fhir:extends [ fhir:v "CECodeableConcept" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "CS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "CodeableConcept" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "originltext" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "originalText" ] ; fhir:variable [ fhir:v "originalText" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "reference" ] ; ( fhir:source [ fhir:context [ fhir:v "originalText" ] ; fhir:element [ fhir:v "reference" ] ; fhir:variable [ fhir:v "reference" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "reference.value" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "translation" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "translation" ] ; fhir:variable [ fhir:v "translation" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "qualifier" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "qualifier" ] ; fhir:variable [ fhir:v "qualifier" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "name" ] ; ( fhir:source [ fhir:context [ fhir:v "qualifier" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "name" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "qualifier" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "value" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CDCodeableConcept" ] ; fhir:extends [ fhir:v "CECodeableConcept" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "CD" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "CodeableConcept" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "originltext" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "originalText" ] ; fhir:variable [ fhir:v "originalText" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "reference" ] ; ( fhir:source [ fhir:context [ fhir:v "originalText" ] ; fhir:element [ fhir:v "reference" ] ; fhir:variable [ fhir:v "reference" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "reference.value" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "translation" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "translation" ] ; fhir:variable [ fhir:v "translation" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "qualifier" ] ; ( fhir:source [ fhir:context [ fhir:v "translation" ] ; fhir:element [ fhir:v "qualifier" ] ; fhir:variable [ fhir:v "qualifier" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "name" ] ; ( fhir:source [ fhir:context [ fhir:v "qualifier" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "name" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "qualifier" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "value" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "code" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "codeSystem" ] ; fhir:variable [ fhir:v "system" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "system" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/special-oid2uri" ] ] [ fhir:value [ fhir:v "uri" ] ] ) ] ) ] [ fhir:name [ fhir:v "displayName" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "displayName" ] ; fhir:variable [ fhir:v "display" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "display" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "display" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] [ fhir:name [ fhir:v "codeSystemVersion" ] ; ( fhir:source [ fhir:context [ fhir:v "value" ] ; fhir:element [ fhir:v "codeSystemVersion" ] ; fhir:variable [ fhir:v "version" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "version" ] ; fhir:transform [ fhir:v "cast" ] ; ( fhir:parameter [ fhir:value [ fhir:v "version" ] ] [ fhir:value [ fhir:v "string" ] ] ) ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "ENHumanName" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "EN" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "HumanName" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "family" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "family" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "family" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "given" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "given" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "given" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "prefix" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "prefix" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "prefix" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "suffix" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "suffix" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "suffix" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "validTime" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "validTime" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; fhir:documentation [ fhir:v "src.use as c -> tgt.use = translate(c, 'http://hl7.org/fhir/ConceptMap/cm-name-use-v3', 'code');" ] ] ) ] [ fhir:name [ fhir:v "ADAddress" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "AD" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Address" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "country" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "country" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "country" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "state" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "state" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "state" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "county" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "county" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "district" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "city" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "city" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "city" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "postalCode" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "postalCode" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "postalCode" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "streetAddressLine" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "streetAddressLine" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "line" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "CensusTract" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "line" ] ; fhir:variable [ fhir:v "line" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "sfgfdsg" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:condition [ fhir:v "src.censusTract.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "line" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "censusTract" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "line" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "extension" ] ; fhir:variable [ fhir:v "ext1" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "CensusTract" ] ; ( fhir:variable [ fhir:v "v" ] [ fhir:v "ext1" ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "streetName" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "streetName" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "line" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ; fhir:documentation [ fhir:v "share firstline \"streetAddress\";" ] ] [ fhir:name [ fhir:v "houseNumber" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "houseNumber" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "line" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.dataString" ] ] ) ] ) ] [ fhir:name [ fhir:v "addressUse" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "use" ] ; fhir:variable [ fhir:v "c" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "c" ] ] [ fhir:value [ fhir:v "#addressUse" ] ] [ fhir:value [ fhir:v "code" ] ] ) ] ) ] [ fhir:name [ fhir:v "useablePeriod" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "useablePeriod" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ] ) ] [ fhir:name [ fhir:v "TELContactPoint" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "TEL" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "ContactPoint" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "valuetel" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "(src.value.startsWith('tel:'))" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.substring(4)" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "phone" ] ] ) ] ) ] [ fhir:name [ fhir:v "valuefax" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "(src.value.startsWith('fax:'))" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.substring(4)" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "fax" ] ] ) ] ) ] [ fhir:name [ fhir:v "valuemail" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "(src.value.startsWith('mailto:'))" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.substring(7)" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "email" ] ] ) ] ) ] [ fhir:name [ fhir:v "valuehttp" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "(src.value.startsWith('http:'))" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v.substring(5)" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "url" ] ] ) ] ) ] [ fhir:name [ fhir:v "usehome" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "use" ] ; fhir:condition [ fhir:v "(src.use.startsWith('H'))" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "home" ] ] ) ] ) ] [ fhir:name [ fhir:v "usework" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "use" ] ; fhir:condition [ fhir:v "((src.use = 'WP') or (src.use = 'DIR') or (src.use = 'PUB'))" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "work" ] ] ) ] ) ] [ fhir:name [ fhir:v "usebad" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "use" ] ; fhir:condition [ fhir:v "(src.use = 'BAD')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "old" ] ] ) ] ) ] [ fhir:name [ fhir:v "usetmp" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "use" ] ; fhir:condition [ fhir:v "(src.use = 'TMP')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "temp" ] ] ) ] ) ] [ fhir:name [ fhir:v "usemobile" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "use" ] ; fhir:condition [ fhir:v "(src.use = 'MC')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "mobile" ] ] ) ] ) ] [ fhir:name [ fhir:v "useablePeriod" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "useablePeriod" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ] ) ] [ fhir:name [ fhir:v "PQQuantity" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "PQ" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Quantity" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "unit" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "unit" ] ; fhir:variable [ fhir:v "unit" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "unit" ] ] ) ] ) ; fhir:documentation [ fhir:v "src.unit as unit -> tgt.code = unit;" ] ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "value" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "value" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "RTOPQPQRatio" ] ; fhir:extends [ fhir:v "Any" ] ; fhir:typeMode [ fhir:v "types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "RTO_PQ_PQ" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Ratio" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "numerator" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "numerator" ] ; fhir:variable [ fhir:v "numerator" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "numerator" ] ; fhir:variable [ fhir:v "targetNumerator" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "PQQuantity" ] ; ( fhir:variable [ fhir:v "numerator" ] [ fhir:v "targetNumerator" ] ) ] ) ] [ fhir:name [ fhir:v "denominator" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "denominator" ] ; fhir:variable [ fhir:v "denominator" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "denominator" ] ; fhir:variable [ fhir:v "targetDenominator" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "PQQuantity" ] ; ( fhir:variable [ fhir:v "denominator" ] [ fhir:v "targetDenominator" ] ) ] ) ] ) ] [ fhir:name [ fhir:v "CensusTract" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "ST" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "ext" ] ; fhir:type [ fhir:v "Extension" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "url" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" ] ] ) ] ) ] [ fhir:name [ fhir:v "value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "string" ] ] ) ] [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "evaluate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "src.dataString" ] ] ) ] ) ] ) ] ) . #
IG © 2023+ HL7 Italy. Package hl7.fhir.it.cda2fhir#0.1.0 based on FHIR 4.0.1. Generated 2024-04-11
Links: Table of Contents |
QA Report