Package | hl7.fhir.uv.xver |
Resource Type | StructureMap |
Id | Location3to2 |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Location3to2.html |
URL | http://hl7.org/fhir/StructureMap/Location3to2 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Location3to2 |
Title | Location Transforms: R3 to R2 |
Realm | uv |
Authority | hl7 |
Description | LocationTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Location3to2' /// name = 'Location3to2' /// title = 'Location Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/Location" alias Location as source uses "http://hl7.org/fhir/1.0/Location" alias LocationR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group Location(source src : Location, target tgt : LocationR2) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "Location-identifier"; src.status -> tgt.status "Location-status"; src.name -> tgt.name "Location-name"; src.description -> tgt.description "Location-description"; src.mode -> tgt.mode "Location-mode"; src.type -> tgt.type "Location-type"; src.telecom -> tgt.telecom "Location-telecom"; src.address -> tgt.address "Location-address"; src.physicalType -> tgt.physicalType "Location-physicalType"; src.position as vs0 -> tgt.position as vt0 then locPosition(vs0, vt0) "Location-position"; src.managingOrganization -> tgt.managingOrganization "Location-managingOrganization"; src.partOf -> tgt.partOf "Location-partOf"; } group locPosition(source src : Location, target tgt : LocationR2) extends BackboneElement { src.longitude -> tgt.longitude "position-longitude"; src.latitude -> tgt.latitude "position-latitude"; src.altitude -> tgt.altitude "position-altitude"; }
{ "resourceType": "StructureMap", "id": "Location3to2", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "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/Location3to2", "version": "0.1.0", "name": "Location3to2", "title": "Location Transforms: R3 to R2", "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": "LocationTransformsR3toR2", "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "structure": [ { "url": "http://hl7.org/fhir/3.0/Location", "mode": "source", "alias": "Location" }, { "url": "http://hl7.org/fhir/1.0/Location", "mode": "target", "alias": "LocationR2" } ], "import": [ "http://hl7.org/fhir/StructureMap/*3to2" ], "group": [ { "name": "Location", "extends": "DomainResource", "typeMode": "type-and-types", "input": [ { "name": "src", "type": "Location", "mode": "source" }, { "name": "tgt", "type": "LocationR2", "mode": "target" } ], "rule": [ { "name": "Location-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": "Location-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": "Location-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": "Location-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": "Location-mode", "source": [ { "context": "src", "element": "mode", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "mode", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "Location-type", "source": [ { "context": "src", "element": "type", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "type", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "Location-telecom", "source": [ { "context": "src", "element": "telecom", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "telecom", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "Location-address", "source": [ { "context": "src", "element": "address", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "address", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "Location-physicalType", "source": [ { "context": "src", "element": "physicalType", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "physicalType", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "Location-position", "source": [ { "context": "src", "element": "position", "variable": "vs0" } ], "target": [ { "context": "tgt", "element": "position", "variable": "vt0" } ], "dependent": [ { "name": "locPosition", "parameter": [ { "valueId": "vs0" }, { "valueId": "vt0" } ] } ] }, { "name": "Location-managingOrganization", "source": [ { "context": "src", "element": "managingOrganization", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "managingOrganization", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "Location-partOf", "source": [ { "context": "src", "element": "partOf", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "partOf", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] }, { "name": "locPosition", "extends": "BackboneElement", "input": [ { "name": "src", "type": "Location", "mode": "source" }, { "name": "tgt", "type": "LocationR2", "mode": "target" } ], "rule": [ { "name": "position-longitude", "source": [ { "context": "src", "element": "longitude", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "longitude", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "position-latitude", "source": [ { "context": "src", "element": "latitude", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "latitude", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "position-altitude", "source": [ { "context": "src", "element": "altitude", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "altitude", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] } ] }