CDA to FHIR Maps
0.1.0 - ci-build IT

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

: CDA to FHIR - Data Types - TTL Representation

Draft as of 2024-04-11

Raw ttl | Download

@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 &quot;http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirDataTypes&quot; = &quot;cda2fhirDataTypes&quot;\n\nconceptmap &quot;addressUse&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-AddressUse&quot;\n  prefix t = &quot;http://hl7.org/fhir/address-use&quot;\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 &quot;OBSstatus&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-statusCode&quot;\n  prefix t = &quot;http://hl7.org/fhir/event-status&quot;\n\n  s:completed == t:final\n  s:active == t:registered\n  s:aborted == t:cancelled\n}\n\nconceptmap &quot;EventStatus&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-statusCode&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/fm-status&quot;\n\n  s:completed == t:completed\n  s:active == t:&quot;in-progress&quot;\n  s:aborted == t:stopped\n  s:suspended == t:&quot;on-hold&quot;\n}\n\nconceptmap &quot;FinancialStatus&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-statusCode&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/fm-status&quot;\n\n  s:active == t:active\n  s:aborted == t:cancelled\n  s:suspended == t:draft\n}\n\nconceptmap &quot;MedicationStatusMap&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-statusCode&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/medicationrequest-status&quot;\n\n  s:completed == t:completed\n  s:active == t:active\n  s:aborted == t:cancelled\n  s:suspended == t:&quot;on-hold&quot;\n}\n\nconceptmap &quot;cm-v3-administrative-gender&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-AdministrativeGender&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/administrative-gender&quot;\n\n  s:M == t:male\n  s:F == t:female\n}\n\nconceptmap &quot;AllergyTypeMap&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-type&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/allergyintolerance-clinical&quot;\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 &quot;AllergyCategoryMap&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-type&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/allergyintolerance-clinical&quot;\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 &quot;CricalityMap&quot; {\n  prefix s = &quot;http://terminology.hl7.org/CodeSystem/v3-ObservationValue&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality&quot;\n\n  s:M == t:low\n  s:H == t:high\n  s:L == t:low\n}\n\nconceptmap &quot;ClinicalStatusMap&quot; {\n  prefix s = &quot;https://loinc.org/99493-9/&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/condition-clinical&quot;\n\n  s:&quot;LA16666-2&quot; == t:active\n  s:&quot;LA18632-2&quot; == t:inactive\n  s:&quot;LA9041-0&quot; == t:resolved\n}\n\nconceptmap &quot;priority&quot; {\n  prefix s = &quot;http://terminology.hl7.org/ValueSet/v3-ActPriority&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/request-priority&quot;\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 &quot;AllergyCriticality&quot; {\n  prefix s = &quot;https://art-decor.org/art-decor/decor-valuesets--hl7it-?id=2.16.840.1.113883.2.9.77.22.11.6&quot;\n  prefix t = &quot;http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality&quot;\n\n  s:L == t:low\n  s:H == t:high\n  s:M == t:unable_to_assess\n}\n\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/ED&quot; alias ED as source\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/INT&quot; alias INT as source\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/II&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/Identifier&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/TS&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/instant&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/CS&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/code&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/CE&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/CodeableConcept&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/ST&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/string&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/EN&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/HumanName&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/AD&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/Address&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/TEL&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/ContactPoint&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/BL&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/boolean&quot; as target\nuses &quot;http://hl7.org/fhir/cda/StructureDefinition/IVL-TS&quot; as source\nuses &quot;http://hl7.org/fhir/StructureDefinition/Period&quot; as target\n\ngroup Any(source src, target tgt) {\n  src -&gt; tgt &quot;simple&quot;;\n}\n\ngroup II(source src : II, target tgt : Identifier) extends Any &lt;&lt;types&gt;&gt; {\n  src.root as r where src.extension.exists() -&gt; tgt.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') &quot;root1&quot;;\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}') -&gt;  tgt.system = 'urn:ietf:rfc:3986',  tgt.value = ('urn:uuid:' + r.lower()) &quot;rootuuid&quot;;\n  src.root as r where src.extension.empty() and src.root.contains('.') -&gt;  tgt.system = 'urn:ietf:rfc:3986',  tgt.value = append('urn:oid:', r) &quot;rootoid&quot;;\n  src.extension as e -&gt; tgt.value = e;\n  src.assigningAuthorityName as s -&gt;  tgt.assigner as a,  a.display = s;\n}\n\ngroup INT(source src : INT, target tgt : integer) extends Any &lt;&lt;types&gt;&gt; {\n  src.value as v -&gt; tgt.value = cast(v, 'string');\n}\n\ngroup TemplateID(source template : II, target tgt) {\n  template -&gt; tgt.extension as ext then {\n    template -&gt; ext.url = 'http://hl7.org/fhir/cda/StructureDefinition/templateID' &quot;url&quot;;\n    template -&gt; ext.value = create('Identifier') as value then II(template, value) &quot;value&quot;;\n  } &quot;templateId&quot;;\n}\n\ngroup Negation(source negation : BL, target tgt) {\n  negation -&gt; tgt.modifierExtension as ext then {\n    negation -&gt; ext.url = 'http://hl7.org/fhir/cda/StructureDefinition/negationIndicator' &quot;url&quot;;\n    negation as neg -&gt;  ext.value = create('boolean'),  ext.value = neg &quot;value&quot;;\n  } &quot;negation&quot;;\n}\n\ngroup TSInstant(source src : TS, target tgt : instant) extends Any &lt;&lt;types&gt;&gt; {\n  src.value as v -&gt; tgt.value = cast(v, 'string');\n}\n\ngroup TSDateTime(source src : TS, target tgt : dateTime) extends TSInstant &lt;&lt;types&gt;&gt; {\n  src where (value.contains('+')) then {\n    src.value as v -&gt; tgt.value = cast(v, 'string');\n  } &quot;eff&quot;;\n  src where (value.contains('-')) then {\n    src.value as v -&gt; tgt.value = cast(v, 'string');\n  } &quot;eff&quot;;\n  src.value where (value.matches('^\\\\d{4}(\\\\-\\\\d{2}){2}T\\\\d{2}(:\\\\d{2}){2}$')) then {\n    src.value as v -&gt; tgt.value = append(v, 'Z') &quot;date&quot;;\n  } &quot;eff&quot;;\n}\n\ngroup TSDate(source src : TS, target tgt : date) extends TSInstant &lt;&lt;types&gt;&gt; {\n  src.value as v -&gt; tgt.value = cast(v, 'string') &quot;date&quot;;\n}\n\ngroup IVLTSPeriod(source src : IVL_TS, target tgt : Period) extends Any &lt;&lt;types&gt;&gt; {\n  src.low as l -&gt; tgt.start = create('dateTime') as start then TSDateTime(l, start);\n  src.high as h -&gt; tgt.end = create('dateTime') as end then TSDateTime(h, end);\n}\n\ngroup IVLTSDateTime(source src : IVL_TS, target tgt : dateTime) extends Any &lt;&lt;types&gt;&gt; {\n  src.low as s then TSDateTime(s, tgt);\n}\n\ngroup STstring(source src : ST, target tgt : string) extends Any &lt;&lt;types&gt;&gt; {\n  src as v -&gt; tgt.value = cast(v, 'string') &quot;value&quot;;\n}\n\ngroup EDstring(source src : ED, target tgt : string) extends STstring &lt;&lt;types&gt;&gt; {\n  src as v -&gt; tgt.value = cast(v, 'string') &quot;value&quot;;\n}\n\ngroup INTstring(source src : INT, target tgt : string) extends STstring &lt;&lt;types&gt;&gt; {\n  src as v -&gt; tgt.value = cast(v, 'string') &quot;value&quot;;\n}\n\ngroup ONstring(source src : ON, target tgt : string) extends STstring &lt;&lt;types&gt;&gt; {\n  src as v -&gt; tgt.value = cast(v, 'string') &quot;value&quot;;\n}\n\ngroup CSCode(source src : CS, target tgt : code) extends Any &lt;&lt;types&gt;&gt; {\n  src.code as c -&gt; tgt.value = cast(c, 'string');\n}\n\ngroup CECode(source src : CE, target tgt : code) extends CSCode &lt;&lt;types&gt;&gt; {\n  src.code as c -&gt; tgt.value = cast(c, 'string');\n}\n\ngroup CDCode(source src : CD, target tgt : code) extends CSCode &lt;&lt;types&gt;&gt; {\n  src.code as c -&gt; tgt.value = cast(c, 'string');\n}\n\ngroup CECodeableConcept(source src : CE, target tgt : CodeableConcept) extends Any &lt;&lt;types&gt;&gt; {\n  src.originalText as originalText then {\n    originalText.reference as reference -&gt; tgt.text = (reference.value);\n  } &quot;originltext&quot;;\n  src -&gt; tgt.coding as coding then {\n    src.code as code -&gt; coding.code = cast(code, 'string');\n    src.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n    src.displayName as display -&gt; coding.display = cast(display, 'string');\n    src.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n  } &quot;code&quot;;\n  src.translation as translation -&gt; tgt.coding as coding then {\n    translation.code as code -&gt; coding.code = cast(code, 'string');\n    translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n    translation.displayName as display -&gt; coding.display = cast(display, 'string');\n    translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n    translation.qualifier as qualifier then {\n      qualifier.name as name -&gt; tgt.coding as coding then {\n        name.code as code -&gt; coding.code = cast(code, 'string');\n        name.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        name.displayName as display -&gt; coding.display = cast(display, 'string');\n        name.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      };\n      qualifier.value as value -&gt; tgt.coding as coding then {\n        value.code as code -&gt; coding.code = cast(code, 'string');\n        value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        value.displayName as display -&gt; coding.display = cast(display, 'string');\n        value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      };\n    };\n  };\n}\n\ngroup CSCodeableConcept(source src : CS, target tgt : CodeableConcept) extends CECodeableConcept &lt;&lt;types&gt;&gt; {\n  src.originalText as originalText then {\n    originalText.reference as reference -&gt; tgt.text = (reference.value);\n  } &quot;originltext&quot;;\n  src -&gt; tgt.coding as coding then {\n    src.code as code -&gt; coding.code = cast(code, 'string');\n    src.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n    src.displayName as display -&gt; coding.display = cast(display, 'string');\n    src.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n  } &quot;code&quot;;\n  src.translation as translation -&gt; tgt.coding as coding then {\n    translation.code as code -&gt; coding.code = cast(code, 'string');\n    translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n    translation.displayName as display -&gt; coding.display = cast(display, 'string');\n    translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n    translation.qualifier as qualifier then {\n      qualifier.name as name -&gt; tgt.coding as coding then {\n        name.code as code -&gt; coding.code = cast(code, 'string');\n        name.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        name.displayName as display -&gt; coding.display = cast(display, 'string');\n        name.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      };\n      qualifier.value as value -&gt; tgt.coding as coding then {\n        value.code as code -&gt; coding.code = cast(code, 'string');\n        value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        value.displayName as display -&gt; coding.display = cast(display, 'string');\n        value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      };\n    };\n  };\n}\n\ngroup CDCodeableConcept(source src : CD, target tgt : CodeableConcept) extends CECodeableConcept &lt;&lt;types&gt;&gt; {\n  src.originalText as originalText then {\n    originalText.reference as reference -&gt; tgt.text = (reference.value);\n  } &quot;originltext&quot;;\n  src -&gt; tgt.coding as coding then {\n    src.code as code -&gt; coding.code = cast(code, 'string');\n    src.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n    src.displayName as display -&gt; coding.display = cast(display, 'string');\n    src.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n  } &quot;code&quot;;\n  src.translation as translation -&gt; tgt.coding as coding then {\n    translation.code as code -&gt; coding.code = cast(code, 'string');\n    translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n    translation.displayName as display -&gt; coding.display = cast(display, 'string');\n    translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n    translation.qualifier as qualifier then {\n      qualifier.name as name -&gt; tgt.coding as coding then {\n        name.code as code -&gt; coding.code = cast(code, 'string');\n        name.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        name.displayName as display -&gt; coding.display = cast(display, 'string');\n        name.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      };\n      qualifier.value as value -&gt; tgt.coding as coding then {\n        value.code as code -&gt; coding.code = cast(code, 'string');\n        value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        value.displayName as display -&gt; coding.display = cast(display, 'string');\n        value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      };\n    };\n  };\n}\n\ngroup ENHumanName(source src : EN, target tgt : HumanName) extends Any &lt;&lt;types&gt;&gt; {\n  src.family as v -&gt; tgt.family = (v.dataString);\n  src.given as v -&gt; tgt.given = (v.dataString);\n  src.prefix as v -&gt; tgt.prefix = (v.dataString);\n  src.suffix as v -&gt; tgt.suffix = (v.dataString);\n  // src.use as c -&gt; tgt.use = translate(c, 'http://hl7.org/fhir/ConceptMap/cm-name-use-v3', 'code');\n  src.validTime -&gt; tgt.period;\n}\n\ngroup ADAddress(source src : AD, target tgt : Address) extends Any &lt;&lt;types&gt;&gt; {\n  src.country as v -&gt; tgt.country = (v.dataString);\n  src.state as v -&gt; tgt.state = (v.dataString);\n  src.county as v -&gt; tgt.district = (v.dataString);\n  src.city as v -&gt; tgt.city = (v.dataString);\n  src.postalCode as v -&gt; tgt.postalCode = (v.dataString);\n  src.streetAddressLine as v -&gt; tgt.line = (v.dataString);\n  src -&gt; tgt.line as line then {\n    src where src.censusTract.exists() then {\n      src.censusTract as v -&gt; line.extension as ext1 then CensusTract(v, ext1) &quot;line&quot;;\n    } &quot;sfgfdsg&quot;;\n  } &quot;CensusTract&quot;;\n  // share firstline &quot;streetAddress&quot;;\n  src.streetName as v -&gt; tgt.line = (v.dataString);\n  src.houseNumber as v -&gt; tgt.line = (v.dataString);\n  src.use as c -&gt; tgt.use = translate(c, '#addressUse', 'code') &quot;addressUse&quot;;\n  src.useablePeriod -&gt; tgt.period;\n}\n\ngroup TELContactPoint(source src : TEL, target tgt : ContactPoint) extends Any &lt;&lt;types&gt;&gt; {\n  src.value as v where (src.value.startsWith('tel:')) -&gt;  tgt.value = (v.substring(4)),  tgt.system = 'phone' &quot;valuetel&quot;;\n  src.value as v where (src.value.startsWith('fax:')) -&gt;  tgt.value = (v.substring(4)),  tgt.system = 'fax' &quot;valuefax&quot;;\n  src.value as v where (src.value.startsWith('mailto:')) -&gt;  tgt.value = (v.substring(7)),  tgt.system = 'email' &quot;valuemail&quot;;\n  src.value as v where (src.value.startsWith('http:')) -&gt;  tgt.value = (v.substring(5)),  tgt.system = 'url' &quot;valuehttp&quot;;\n  src.use where (src.use.startsWith('H')) -&gt; tgt.use = 'home' &quot;usehome&quot;;\n  src.use where ((src.use = 'WP') or (src.use = 'DIR') or (src.use = 'PUB')) -&gt; tgt.use = 'work' &quot;usework&quot;;\n  src.use where (src.use = 'BAD') -&gt; tgt.use = 'old' &quot;usebad&quot;;\n  src.use where (src.use = 'TMP') -&gt; tgt.use = 'temp' &quot;usetmp&quot;;\n  src.use where (src.use = 'MC') -&gt; tgt.use = 'mobile' &quot;usemobile&quot;;\n  src.useablePeriod -&gt; tgt.period;\n}\n\ngroup PQQuantity(source src : PQ, target tgt : Quantity) extends Any &lt;&lt;types&gt;&gt; {\n  // src.unit as unit -&gt; tgt.code = unit;\n  src.unit as unit -&gt; tgt.unit = unit;\n  src.value as value -&gt; tgt.value = value;\n}\n\ngroup RTOPQPQRatio(source src : RTO_PQ_PQ, target tgt : Ratio) extends Any &lt;&lt;types&gt;&gt; {\n  src.numerator as numerator -&gt; tgt.numerator as targetNumerator then PQQuantity(numerator, targetNumerator);\n  src.denominator as denominator -&gt; tgt.denominator as targetDenominator then PQQuantity(denominator, targetDenominator);\n}\n\ngroup CensusTract(source src : ST, target ext : Extension) {\n  src -&gt; ext.url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract' &quot;url&quot;;\n  src -&gt;  ext.value = create('string'),  ext.value = (src.dataString) &quot;value&quot;;\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" ]         ] )       ] )     ] )
  ] ) . #