FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "ValueSet2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ValueSet2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ValueSet2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ValueSet Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/ValueSet<span style=\"color: navy\">" </span><b>alias </b>ValueSetR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/ValueSet<span style=\"color: navy\">" </span><b>alias </b>ValueSet <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>ValueSet<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ValueSetR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ValueSet<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.url<span style=\"color: navy\"><b> -> </b></span>tgt.url <i>"ValueSet-url"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"ValueSet-identifier"</i><span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version <i>"ValueSet-version"</i><span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"ValueSet-name"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"ValueSet-status"</i><span style=\"color: navy\">;</span>\r\n src.experimental<span style=\"color: navy\"><b> -> </b></span>tgt.experimental <i>"ValueSet-experimental"</i><span style=\"color: navy\">;</span>\r\n src.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher <i>"ValueSet-publisher"</i><span style=\"color: navy\">;</span>\r\n src.contact<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.contact<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.name<span style=\"color: navy\"><b> -> </b></span>vt0.name <i>"ContactDetail-name"</i><span style=\"color: navy\">;</span>\r\n vs0.telecom<span style=\"color: navy\"><b> -> </b></span>vt0.telecom <i>"ContactDetail-telecom"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ValueSet-contact"</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date <i>"ValueSet-date"</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"ValueSet-description"</i><span style=\"color: navy\">;</span>\r\n src.requirements<span style=\"color: navy\"><b> -> </b></span>tgt.purpose <i>"ValueSet-purpose"</i><span style=\"color: navy\">;</span>\r\n src.copyright<span style=\"color: navy\"><b> -> </b></span>tgt.copyright <i>"ValueSet-copyright"</i><span style=\"color: navy\">;</span>\r\n src.useContext<b> where </b>coding.system = 'urn:iso:std:iso:3166'<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction <i>"ValueSet-jurisdiction"</i><span style=\"color: navy\">;</span>\r\n src.useContext<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>(coding.system = 'urn:iso:std:iso:3166').not()<span style=\"color: navy\"><b> -> </b></span> tgt.useContext<b> as </b><span style=\"color: maroon\">uc</span><span style=\"color: navy\">, </span> uc.code<b> as </b><span style=\"color: maroon\">ucc</span><span style=\"color: navy\">, </span> ucc.system = <span style=\"color: blue\">'http://hl7.org/fhir/usage-context-type'</span><span style=\"color: navy\">, </span> ucc.code = <span style=\"color: blue\">'task'</span><span style=\"color: navy\">, </span> uc.value<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>CodeableConcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"ValueSet-useContext"</i><span style=\"color: navy\">;</span>\r\n src.immutable<span style=\"color: navy\"><b> -> </b></span>tgt.immutable <i>"ValueSet-immutable"</i><span style=\"color: navy\">;</span>\r\n src.extensible<span style=\"color: navy\"><b> -> </b></span>tgt.extensible <i>"ValueSet-extensible"</i><span style=\"color: navy\">;</span>\r\n src.codeSystem<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeSystem'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>codeSystem<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ValueSet-codeSystem"</i><span style=\"color: navy\">;</span>\r\n src.compose<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.compose<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>compose<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ValueSet-compose"</i><span style=\"color: navy\">;</span>\r\n src.expansion<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.expansion<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>expansion<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ValueSet-expansion"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>codeSystem<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">vs</span>, <b>target</b> <span style=\"color: maroon\">vstgt</span>, <b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.modifierExtension<span style=\"color: navy\"><b> -> </b></span>tgt.modifierExtension <i>"CodeSystem-modifierExtension"</i><span style=\"color: navy\">;</span>\r\n src.system<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> vstgt.compose<b> as </b><span style=\"color: maroon\">c</span><span style=\"color: navy\">, </span> c.include<b> as </b><span style=\"color: maroon\">i</span><span style=\"color: navy\">, </span> i.system = <span style=\"color: maroon\">v</span> <i>"CodeSystem-reference"</i><span style=\"color: navy\">;</span>\r\n vs.text<span style=\"color: navy\"><b> -> </b></span>tgt.text <i>"CodeSystem-text"</i><span style=\"color: navy\">;</span>\r\n src.system<span style=\"color: navy\"><b> -> </b></span>tgt.url <i>"CodeSystem-url"</i><span style=\"color: navy\">;</span>\r\n vs.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"CodeSystem-identifier"</i><span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version <i>"CodeSystem-version"</i><span style=\"color: navy\">;</span>\r\n vs.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"CodeSystem-name"</i><span style=\"color: navy\">;</span>\r\n vs.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"CodeSystem-status"</i><span style=\"color: navy\">;</span>\r\n vs.experimental<span style=\"color: navy\"><b> -> </b></span>tgt.experimental <i>"CodeSystem-experimental"</i><span style=\"color: navy\">;</span>\r\n vs.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher <i>"CodeSystem-publisher"</i><span style=\"color: navy\">;</span>\r\n vs.contact<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.contact<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.name<span style=\"color: navy\"><b> -> </b></span>vt0.name <i>"ContactDetail-name"</i><span style=\"color: navy\">;</span>\r\n vs0.telecom<span style=\"color: navy\"><b> -> </b></span>vt0.telecom <i>"ContactDetail-telecom"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"CodeSystem-contact"</i><span style=\"color: navy\">;</span>\r\n vs<b> where </b>codeSystem.descendants().abstract<span style=\"color: navy\"><b> -> </b></span> tgt.property<b> as </b><span style=\"color: maroon\">p</span><span style=\"color: navy\">, </span> p.code = <span style=\"color: blue\">'notSelectable'</span><span style=\"color: navy\">, </span> p.uri = <span style=\"color: blue\">'http://todo'</span><span style=\"color: navy\">, </span> p.description = <span style=\"color: blue\">'Indicates that the code is abstract - only intended to be used as a selector for other concepts'</span> <i>"CodeSystem-abstract"</i><span style=\"color: navy\">;</span>\r\n vs.date<span style=\"color: navy\"><b> -> </b></span>tgt.date <i>"CodeSystem-date"</i><span style=\"color: navy\">;</span>\r\n vs.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"CodeSystem-description"</i><span style=\"color: navy\">;</span>\r\n vs.useContext<b> where </b>coding.system = 'urn:iso:std:iso:3166'<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction <i>"CodeSystem-jurisdiction"</i><span style=\"color: navy\">;</span>\r\n vs.useContext<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>(coding.system = 'urn:iso:std:iso:3166').not()<span style=\"color: navy\"><b> -> </b></span> tgt.useContext<b> as </b><span style=\"color: maroon\">uc</span><span style=\"color: navy\">, </span> uc.code<b> as </b><span style=\"color: maroon\">ucc</span><span style=\"color: navy\">, </span> ucc.system = <span style=\"color: blue\">'http://hl7.org/fhir/usage-context-type'</span><span style=\"color: navy\">, </span> ucc.code = <span style=\"color: blue\">'task'</span><span style=\"color: navy\">, </span> uc.value<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>CodeableConcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"CodeSystem-useContext"</i><span style=\"color: navy\">;</span>\r\n vs.requirements<span style=\"color: navy\"><b> -> </b></span>tgt.purpose <i>"CodeSystem-purpose"</i><span style=\"color: navy\">;</span>\r\n vs.copyright<span style=\"color: navy\"><b> -> </b></span>tgt.copyright <i>"CodeSystem-copyright"</i><span style=\"color: navy\">;</span>\r\n vs.url<span style=\"color: navy\"><b> -> </b></span>tgt.valueSet <i>"CodeSystem-valueSet"</i><span style=\"color: navy\">;</span>\r\n src.caseSensitive<span style=\"color: navy\"><b> -> </b></span>tgt.caseSensitive <i>"CodeSystem-caseSensitive"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>tgt.content = <span style=\"color: blue\">'complete'</span> <i>"CodeSystem-content"</i><span style=\"color: navy\">;</span>\r\n src.concept<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.concept<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>csconcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"CodeSystem-concept"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>csconcept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"cs-concept-code"</i><span style=\"color: navy\">;</span>\r\n src.abstract<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.property<b> as </b><span style=\"color: maroon\">p</span><span style=\"color: navy\">, </span> p.code = <span style=\"color: blue\">'notSelectable'</span><span style=\"color: navy\">, </span> p.value = <span style=\"color: maroon\">v</span> <i>"cs-concept-abstract"</i><span style=\"color: navy\">;</span>\r\n src.display<span style=\"color: navy\"><b> -> </b></span>tgt.display <i>"cs-concept-display"</i><span style=\"color: navy\">;</span>\r\n src.definition<span style=\"color: navy\"><b> -> </b></span>tgt.definition <i>"cs-concept-definition"</i><span style=\"color: navy\">;</span>\r\n src.designation<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.designation<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>designation<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"cs-concept-designation"</i><span style=\"color: navy\">;</span>\r\n src.concept<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.concept<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>csconcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"cs-concept-concept"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>compose<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">vs</span>, <b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> vs.lockedDate<span style=\"color: navy\"><b> -> </b></span>tgt.lockedDate <i>"vs-compose-ld"</i><span style=\"color: navy\">;</span>\r\n src.import<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.include<b> as </b><span style=\"color: maroon\">ti</span><span style=\"color: navy\">, </span> ti.valueSet = <span style=\"color: maroon\">v</span> <i>"vs-compose-imp"</i><span style=\"color: navy\">;</span>\r\n src.include<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.include<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>include<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"vs-compose-incl"</i><span style=\"color: navy\">;</span>\r\n src.exclude<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.exclude<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>include<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"vs-compose-excl"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>include<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system <i>"vs-incl-system"</i><span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version <i>"vs-incl-version"</i><span style=\"color: navy\">;</span>\r\n src.concept<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.concept<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>concept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"vs-incl-concept"</i><span style=\"color: navy\">;</span>\r\n src.filter<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.filter<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>filter<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"vs-incl-filter"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>concept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"vs-concept-code"</i><span style=\"color: navy\">;</span>\r\n src.display<span style=\"color: navy\"><b> -> </b></span>tgt.display <i>"vs-concept-display"</i><span style=\"color: navy\">;</span>\r\n src.designation<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.designation<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>designation<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"vs-concept-designation"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>designation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.language<span style=\"color: navy\"><b> -> </b></span>tgt.language <i>"vs-designation-language"</i><span style=\"color: navy\">;</span>\r\n src.use<span style=\"color: navy\"><b> -> </b></span>tgt.use <i>"vs-designation-use"</i><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"vs-designation-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>filter<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.property<span style=\"color: navy\"><b> -> </b></span>tgt.property <i>"vs-filter-property"</i><span style=\"color: navy\">;</span>\r\n src.op<span style=\"color: navy\"><b> -> </b></span>tgt.op <i>"vs-filter-op"</i><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"vs-filter-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>expansion<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"expansion-identifier"</i><span style=\"color: navy\">;</span>\r\n src.timestamp<span style=\"color: navy\"><b> -> </b></span>tgt.timestamp <i>"expansion-timestamp"</i><span style=\"color: navy\">;</span>\r\n src.total<span style=\"color: navy\"><b> -> </b></span>tgt.total <i>"expansion-total"</i><span style=\"color: navy\">;</span>\r\n src.offset<span style=\"color: navy\"><b> -> </b></span>tgt.offset <i>"expansion-offset"</i><span style=\"color: navy\">;</span>\r\n src.parameter<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.parameter<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>parameter<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"expansion-parameter"</i><span style=\"color: navy\">;</span>\r\n src.contains<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.contains<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>contains<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"expansion-contains"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>parameter<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"vs-parameter-name"</i><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"vs-parameter-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>contains<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system <i>"contains-system"</i><span style=\"color: navy\">;</span>\r\n src.abstract<span style=\"color: navy\"><b> -> </b></span>tgt.abstract <i>"contains-abstract"</i><span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version <i>"contains-version"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"contains-code"</i><span style=\"color: navy\">;</span>\r\n src.display<span style=\"color: navy\"><b> -> </b></span>tgt.display <i>"contains-display"</i><span style=\"color: navy\">;</span>\r\n src.contains<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.contains<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>contains<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"contains-contains"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/ValueSet2to3",
"version" : "0.1.0",
"name" : "ValueSet2to3",
"title" : "ValueSet Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "ValueSetTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/ValueSet",
"mode" : "source",
"alias" : "ValueSetR2"
},
{
"url" : "http://hl7.org/fhir/3.0/ValueSet",
"mode" : "target",
"alias" : "ValueSet"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "ValueSet",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ValueSetR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ValueSet",
"mode" : "target"
}
],
"rule" : [
{
"name" : "ValueSet-url",
"source" : [
{
"context" : "src",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-experimental",
"source" : [
{
"context" : "src",
"element" : "experimental",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "experimental",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-publisher",
"source" : [
{
"context" : "src",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "ContactDetail-name",
"source" : [
{
"context" : "vs0",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ContactDetail-telecom",
"source" : [
{
"context" : "vs0",
"element" : "telecom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "telecom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ValueSet-date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-purpose",
"source" : [
{
"context" : "src",
"element" : "requirements",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "purpose",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-copyright",
"source" : [
{
"context" : "src",
"element" : "copyright",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "copyright",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-jurisdiction",
"source" : [
{
"context" : "src",
"element" : "useContext",
"variable" : "vvv",
"condition" : "coding.system = 'urn:iso:std:iso:3166'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-useContext",
"source" : [
{
"context" : "src",
"element" : "useContext",
"variable" : "vs",
"condition" : "(coding.system = 'urn:iso:std:iso:3166').not()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "useContext",
"variable" : "uc"
},
{
"context" : "uc",
"element" : "code",
"variable" : "ucc"
},
{
"context" : "ucc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/usage-context-type"
}
]
},
{
"context" : "ucc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "task"
}
]
},
{
"context" : "uc",
"element" : "value",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "CodeableConcept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "ValueSet-immutable",
"source" : [
{
"context" : "src",
"element" : "immutable",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "immutable",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-extensible",
"source" : [
{
"context" : "src",
"element" : "extensible",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "extensible",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ValueSet-codeSystem",
"source" : [
{
"context" : "src",
"element" : "codeSystem",
"variable" : "vs0"
}
],
"target" : [
{
"variable" : "vt0",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeSystem"
}
]
}
],
"dependent" : [
{
"name" : "codeSystem",
"parameter" : [
{
"valueId" : "src"
},
{
"valueId" : "tgt"
},
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "ValueSet-compose",
"source" : [
{
"context" : "src",
"element" : "compose",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "compose",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "compose",
"parameter" : [
{
"valueId" : "src"
},
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "ValueSet-expansion",
"source" : [
{
"context" : "src",
"element" : "expansion",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expansion",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "expansion",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "codeSystem",
"extends" : "Element",
"input" : [
{
"name" : "vs",
"mode" : "source"
},
{
"name" : "vstgt",
"mode" : "target"
},
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "CodeSystem-modifierExtension",
"source" : [
{
"context" : "src",
"element" : "modifierExtension",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modifierExtension",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-reference",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "v"
}
],
"target" : [
{
"context" : "vstgt",
"element" : "compose",
"variable" : "c"
},
{
"context" : "c",
"element" : "include",
"variable" : "i"
},
{
"context" : "i",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "CodeSystem-text",
"source" : [
{
"context" : "vs",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "text",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-url",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-identifier",
"source" : [
{
"context" : "vs",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-name",
"source" : [
{
"context" : "vs",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-status",
"source" : [
{
"context" : "vs",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-experimental",
"source" : [
{
"context" : "vs",
"element" : "experimental",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "experimental",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-publisher",
"source" : [
{
"context" : "vs",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-contact",
"source" : [
{
"context" : "vs",
"element" : "contact",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "ContactDetail-name",
"source" : [
{
"context" : "vs0",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ContactDetail-telecom",
"source" : [
{
"context" : "vs0",
"element" : "telecom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "telecom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "CodeSystem-abstract",
"source" : [
{
"context" : "vs",
"condition" : "codeSystem.descendants().abstract"
}
],
"target" : [
{
"context" : "tgt",
"element" : "property",
"variable" : "p"
},
{
"context" : "p",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "notSelectable"
}
]
},
{
"context" : "p",
"element" : "uri",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://todo"
}
]
},
{
"context" : "p",
"element" : "description",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Indicates that the code is abstract - only intended to be used as a selector for other concepts"
}
]
}
]
},
{
"name" : "CodeSystem-date",
"source" : [
{
"context" : "vs",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-description",
"source" : [
{
"context" : "vs",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-jurisdiction",
"source" : [
{
"context" : "vs",
"element" : "useContext",
"variable" : "vvv",
"condition" : "coding.system = 'urn:iso:std:iso:3166'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-useContext",
"source" : [
{
"context" : "vs",
"element" : "useContext",
"variable" : "vs",
"condition" : "(coding.system = 'urn:iso:std:iso:3166').not()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "useContext",
"variable" : "uc"
},
{
"context" : "uc",
"element" : "code",
"variable" : "ucc"
},
{
"context" : "ucc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/usage-context-type"
}
]
},
{
"context" : "ucc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "task"
}
]
},
{
"context" : "uc",
"element" : "value",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "CodeableConcept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "CodeSystem-purpose",
"source" : [
{
"context" : "vs",
"element" : "requirements",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "purpose",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-copyright",
"source" : [
{
"context" : "vs",
"element" : "copyright",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "copyright",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-valueSet",
"source" : [
{
"context" : "vs",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "valueSet",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-caseSensitive",
"source" : [
{
"context" : "src",
"element" : "caseSensitive",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "caseSensitive",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "CodeSystem-content",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "tgt",
"element" : "content",
"transform" : "copy",
"parameter" : [
{
"valueString" : "complete"
}
]
}
]
},
{
"name" : "CodeSystem-concept",
"source" : [
{
"context" : "src",
"element" : "concept",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "csconcept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
},
{
"name" : "csconcept",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "cs-concept-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "cs-concept-abstract",
"source" : [
{
"context" : "src",
"element" : "abstract",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "property",
"variable" : "p"
},
{
"context" : "p",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "notSelectable"
}
]
},
{
"context" : "p",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "cs-concept-display",
"source" : [
{
"context" : "src",
"element" : "display",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "display",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "cs-concept-definition",
"source" : [
{
"context" : "src",
"element" : "definition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "cs-concept-designation",
"source" : [
{
"context" : "src",
"element" : "designation",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "designation",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "designation",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "cs-concept-concept",
"source" : [
{
"context" : "src",
"element" : "concept",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "csconcept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
},
{
"name" : "compose",
"extends" : "BackboneElement",
"input" : [
{
"name" : "vs",
"mode" : "source"
},
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "vs-compose-ld",
"source" : [
{
"context" : "vs",
"element" : "lockedDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "lockedDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-compose-imp",
"source" : [
{
"context" : "src",
"element" : "import",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "include",
"variable" : "ti"
},
{
"context" : "ti",
"element" : "valueSet",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "vs-compose-incl",
"source" : [
{
"context" : "src",
"element" : "include",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "include",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "include",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "vs-compose-excl",
"source" : [
{
"context" : "src",
"element" : "exclude",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "exclude",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "include",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
},
{
"name" : "include",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "vs-incl-system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-incl-version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-incl-concept",
"source" : [
{
"context" : "src",
"element" : "concept",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "concept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "vs-incl-filter",
"source" : [
{
"context" : "src",
"element" : "filter",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "filter",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "filter",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
},
{
"name" : "concept",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "vs-concept-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-concept-display",
"source" : [
{
"context" : "src",
"element" : "display",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "display",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-concept-designation",
"source" : [
{
"context" : "src",
"element" : "designation",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "designation",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "designation",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
},
{
"name" : "designation",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "vs-designation-language",
"source" : [
{
"context" : "src",
"element" : "language",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "language",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-designation-use",
"source" : [
{
"context" : "src",
"element" : "use",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "use",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-designation-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "filter",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "vs-filter-property",
"source" : [
{
"context" : "src",
"element" : "property",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "property",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-filter-op",
"source" : [
{
"context" : "src",
"element" : "op",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "op",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-filter-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "expansion",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "expansion-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expansion-timestamp",
"source" : [
{
"context" : "src",
"element" : "timestamp",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timestamp",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expansion-total",
"source" : [
{
"context" : "src",
"element" : "total",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "total",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expansion-offset",
"source" : [
{
"context" : "src",
"element" : "offset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "offset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expansion-parameter",
"source" : [
{
"context" : "src",
"element" : "parameter",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parameter",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "parameter",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "expansion-contains",
"source" : [
{
"context" : "src",
"element" : "contains",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contains",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "contains",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
},
{
"name" : "parameter",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "vs-parameter-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "vs-parameter-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "contains",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "contains-system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contains-abstract",
"source" : [
{
"context" : "src",
"element" : "abstract",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "abstract",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contains-version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contains-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contains-display",
"source" : [
{
"context" : "src",
"element" : "display",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "display",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contains-contains",
"source" : [
{
"context" : "src",
"element" : "contains",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contains",
"variable" : "vt"
}
],
"dependent" : [
{
"name" : "contains",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
}
]
}