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 |
@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 "Encounter3to2"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir: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/Encounter3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Encounter3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Encounter Transforms: R3 to R2'</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/3.0/Encounter<span style=\"color: navy\">" </span><b>alias </b>Encounter <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Encounter<span style=\"color: navy\">" </span><b>alias </b>EncounterR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Encounter<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Encounter, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>EncounterR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"Encounter-identifier"</i><span style=\"color: navy\">;</span>\r\n src.status<b> check </b>status != 'entered-in-error'<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"Encounter-status"</i><span style=\"color: navy\">;</span>\r\n src.statusHistory<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.statusHistory<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>encStatusHistory<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>"Encounter-statusHistory"</i><span style=\"color: navy\">;</span>\r\n src.class<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.class = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/Encounter.class-R3toR2'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>"Encounter-class"</i><span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"Encounter-type"</i><span style=\"color: navy\">;</span>\r\n src.priority<span style=\"color: navy\"><b> -> </b></span>tgt.priority <i>"Encounter-priority"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.patient <i>"Encounter-patient"</i><span style=\"color: navy\">;</span>\r\n src.episodeOfCare<span style=\"color: navy\"><b> -> </b></span>tgt.episodeOfCare <i>"Encounter-episodeOfCare"</i><span style=\"color: navy\">;</span>\r\n src.incomingReferral<span style=\"color: navy\"><b> -> </b></span>tgt.incomingReferral <i>"Encounter-incomingReferral"</i><span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.participant<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>encParticipant<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>"Encounter-participant"</i><span style=\"color: navy\">;</span>\r\n src.appointment<span style=\"color: navy\"><b> -> </b></span>tgt.appointment <i>"Encounter-appointment"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"Encounter-period"</i><span style=\"color: navy\">;</span>\r\n src.length<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.length<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>DurationToQuantity<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>"Encounter-length"</i><span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason <i>"Encounter-reason"</i><span style=\"color: navy\">;</span>\r\n src.diagnosis<b> as </b><span style=\"color: maroon\">d</span><b> then </b>encDiagnosis<span style=\"color: navy\">(</span><span style=\"color: maroon\">d</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>"Encounter-indication"</i><span style=\"color: navy\">;</span>\r\n src.hospitalization<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.hospitalization<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>encHospitaization<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>"Encounter-hospitalization"</i><span style=\"color: navy\">;</span>\r\n src.location<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.location<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>encLocation<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>"Encounter-location"</i><span style=\"color: navy\">;</span>\r\n src.serviceProvider<span style=\"color: navy\"><b> -> </b></span>tgt.serviceProvider <i>"Encounter-serviceProvider"</i><span style=\"color: navy\">;</span>\r\n src.partOf<span style=\"color: navy\"><b> -> </b></span>tgt.partOf <i>"Encounter-partOf"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>encDiagnosis<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.condition<b> as </b><span style=\"color: maroon\">v</span><b> where </b>src.role.coding.code.contains('AD').not() and role.coding.code.contains('DD').not()<span style=\"color: navy\"><b> -> </b></span>tgt.indication = <span style=\"color: maroon\">v</span> <i>"indication-condition1"</i><span style=\"color: navy\">;</span>\r\n src.condition<b> as </b><span style=\"color: maroon\">v</span><b> where </b>src.role.coding.code.contains('AD')<span style=\"color: navy\"><b> -> </b></span> tgt.hospitalization<b> as </b><span style=\"color: maroon\">h</span><span style=\"color: navy\">, </span> h.admittingDiagnosis = <span style=\"color: maroon\">v</span> <i>"indication-condition2"</i><span style=\"color: navy\">;</span>\r\n src.condition<b> as </b><span style=\"color: maroon\">v</span><b> where </b>src.role.coding.code.contains('DD')<span style=\"color: navy\"><b> -> </b></span> tgt.hospitalization<b> as </b><span style=\"color: maroon\">h</span><span style=\"color: navy\">, </span> h.dischargeDiagnosis = <span style=\"color: maroon\">v</span> <i>"indication-condition3"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>encStatusHistory<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.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"statusHistory-status"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"statusHistory-period"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>encParticipant<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.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"participant-type"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"participant-period"</i><span style=\"color: navy\">;</span>\r\n src.individual<span style=\"color: navy\"><b> -> </b></span>tgt.individual <i>"participant-individual"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>encHospitaization<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.preAdmissionIdentifier<span style=\"color: navy\"><b> -> </b></span>tgt.preAdmissionIdentifier <i>"hospitalization-preAdmissionIdentifier"</i><span style=\"color: navy\">;</span>\r\n src.origin<span style=\"color: navy\"><b> -> </b></span>tgt.origin <i>"hospitalization-origin"</i><span style=\"color: navy\">;</span>\r\n src.admitSource<span style=\"color: navy\"><b> -> </b></span>tgt.admitSource <i>"hospitalization-admitSource"</i><span style=\"color: navy\">;</span>\r\n src.reAdmission<span style=\"color: navy\"><b> -> </b></span>tgt.reAdmission <i>"hospitalization-reAdmission"</i><span style=\"color: navy\">;</span>\r\n src.dietPreference<span style=\"color: navy\"><b> -> </b></span>tgt.dietPreference <i>"hospitalization-dietPreference"</i><span style=\"color: navy\">;</span>\r\n src.specialCourtesy<span style=\"color: navy\"><b> -> </b></span>tgt.specialCourtesy <i>"hospitalization-specialCourtesy"</i><span style=\"color: navy\">;</span>\r\n src.specialArrangement<span style=\"color: navy\"><b> -> </b></span>tgt.specialArrangement <i>"hospitalization-specialArrangement"</i><span style=\"color: navy\">;</span>\r\n src.destination<span style=\"color: navy\"><b> -> </b></span>tgt.destination <i>"hospitalization-destination"</i><span style=\"color: navy\">;</span>\r\n src.dischargeDisposition<span style=\"color: navy\"><b> -> </b></span>tgt.dischargeDisposition <i>"hospitalization-dischargeDisposition"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>encLocation<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.location<span style=\"color: navy\"><b> -> </b></span>tgt.location <i>"location-location"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"location-status"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"location-period"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ; fhir:value [ fhir:v "fhir" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ; fhir:value [ fhir:v "1"^^xsd:integer ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ fhir:v "draft" ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/Encounter3to2"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "Encounter3to2"] ; # fhir:title [ fhir:v "Encounter Transforms: R3 to R2"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2024-02-22T03:16:50+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; # fhir:description [ fhir:v "EncounterTransformsR3toR2"] ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://hl7.org/fhir/3.0/Encounter"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/3.0/Encounter> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "Encounter" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/Encounter"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/1.0/Encounter> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "EncounterR2" ] ] ) ; # fhir:import ( [ fhir:v "http://hl7.org/fhir/StructureMap/*3to2"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureMap/*3to2> ] ) ; # fhir:group ( [ fhir:name [ fhir:v "Encounter" ] ; fhir:extends [ fhir:v "DomainResource" ] ; fhir:typeMode [ fhir:v "type-and-types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "Encounter" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "EncounterR2" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "Encounter-identifier" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:check [ fhir:v "status != 'entered-in-error'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-statusHistory" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "statusHistory" ] ; fhir:variable [ fhir:v "vs0" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "statusHistory" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "encStatusHistory" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-class" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "class" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "class" ] ; fhir:transform [ fhir:v "translate" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] [ fhir:value [ fhir:v "http://hl7.org/fhir/ConceptMap/Encounter.class-R3toR2" ] ] [ fhir:value [ fhir:v "code" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-priority" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "priority" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "priority" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "patient" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-episodeOfCare" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "episodeOfCare" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "episodeOfCare" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-incomingReferral" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "incomingReferral" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "incomingReferral" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-participant" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "participant" ] ; fhir:variable [ fhir:v "vs0" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "participant" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "encParticipant" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-appointment" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "appointment" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "appointment" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-period" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-length" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "length" ] ; fhir:variable [ fhir:v "vs" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "length" ] ; fhir:variable [ fhir:v "vt" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DurationToQuantity" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs" ] ] [ fhir:value [ fhir:v "vt" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-reason" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "reason" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "reason" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-indication" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "diagnosis" ] ; fhir:variable [ fhir:v "d" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "encDiagnosis" ] ; ( fhir:parameter [ fhir:value [ fhir:v "d" ] ] [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-hospitalization" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "hospitalization" ] ; fhir:variable [ fhir:v "vs0" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "hospitalization" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "encHospitaization" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-location" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "location" ] ; fhir:variable [ fhir:v "vs0" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "location" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "encLocation" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-serviceProvider" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "serviceProvider" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "serviceProvider" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "Encounter-partOf" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "partOf" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "partOf" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "encDiagnosis" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( 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 "indication-condition1" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "condition" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "src.role.coding.code.contains('AD').not() and role.coding.code.contains('DD').not()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "indication" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] ) ] ) ] [ fhir:name [ fhir:v "indication-condition2" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "condition" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "src.role.coding.code.contains('AD')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "hospitalization" ] ; fhir:variable [ fhir:v "h" ] ] [ fhir:context [ fhir:v "h" ] ; fhir:element [ fhir:v "admittingDiagnosis" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] ) ] ) ] [ fhir:name [ fhir:v "indication-condition3" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "condition" ] ; fhir:variable [ fhir:v "v" ] ; fhir:condition [ fhir:v "src.role.coding.code.contains('DD')" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "hospitalization" ] ; fhir:variable [ fhir:v "h" ] ] [ fhir:context [ fhir:v "h" ] ; fhir:element [ fhir:v "dischargeDiagnosis" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "v" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "encStatusHistory" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( 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 "statusHistory-status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "statusHistory-period" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "encParticipant" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( 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 "participant-type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "participant-period" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "participant-individual" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "individual" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "individual" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "encHospitaization" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( 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 "hospitalization-preAdmissionIdentifier" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "preAdmissionIdentifier" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "preAdmissionIdentifier" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-origin" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "origin" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "origin" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-admitSource" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "admitSource" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "admitSource" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-reAdmission" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "reAdmission" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "reAdmission" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-dietPreference" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dietPreference" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dietPreference" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-specialCourtesy" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "specialCourtesy" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "specialCourtesy" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-specialArrangement" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "specialArrangement" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "specialArrangement" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-destination" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "destination" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "destination" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "hospitalization-dischargeDisposition" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dischargeDisposition" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "dischargeDisposition" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "encLocation" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( 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 "location-location" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "location" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "location" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "location-status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "location-period" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] ) ] ) . #
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.xver#0.1.0 based on FHIR 5.0.0. Generated 2024-02-22
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change