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