Package | hl7.fhir.uv.xver |
Resource Type | StructureMap |
Id | Endpoint4to5 |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Endpoint4to5.html |
URL | http://hl7.org/fhir/StructureMap/Endpoint4to5 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Endpoint4to5 |
Title | Endpoint Transforms: R4 to R5 |
Realm | uv |
Authority | hl7 |
Description | EndpointTransformsR4toR5 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Endpoint4to5' /// name = 'Endpoint4to5' /// title = 'Endpoint Transforms: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/Endpoint" alias EndpointR4 as source uses "http://hl7.org/fhir/5.0/Endpoint" alias EndpointR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group Endpoint(source src : EndpointR4, target tgt : EndpointR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/Endpoint.status-R4toR5', 'code'); src.connectionType -> tgt.connectionType; src.name -> tgt.name; src.managingOrganization -> tgt.managingOrganization; src.contact -> tgt.contact; src.period -> tgt.period; src.payloadType as s -> tgt.payload as t, t.type = s; src.payloadMimeType as s -> tgt.payload as t, t.mimeType = s; src.address -> tgt.address; src.header -> tgt.header; }
{ "resourceType": "StructureMap", "id": "Endpoint4to5", "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/Endpoint4to5", "version": "0.1.0", "name": "Endpoint4to5", "title": "Endpoint Transforms: R4 to R5", "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": "EndpointTransformsR4toR5", "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "structure": [ { "url": "http://hl7.org/fhir/4.0/Endpoint", "mode": "source", "alias": "EndpointR4" }, { "url": "http://hl7.org/fhir/5.0/Endpoint", "mode": "target", "alias": "EndpointR5" } ], "import": [ "http://hl7.org/fhir/StructureMap/*4to5" ], "group": [ { "name": "Endpoint", "extends": "DomainResource", "typeMode": "type-and-types", "input": [ { "name": "src", "type": "EndpointR4", "mode": "source" }, { "name": "tgt", "type": "EndpointR5", "mode": "target" } ], "rule": [ { "name": "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": "status", "source": [ { "context": "src", "element": "status", "variable": "v" } ], "target": [ { "context": "tgt", "element": "status", "transform": "translate", "parameter": [ { "valueId": "v" }, { "valueString": "http://hl7.org/fhir/ConceptMap/Endpoint.status-R4toR5" }, { "valueString": "code" } ] } ] }, { "name": "connectionType", "source": [ { "context": "src", "element": "connectionType", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "connectionType", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "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": "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": "contact", "source": [ { "context": "src", "element": "contact", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "contact", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "period", "source": [ { "context": "src", "element": "period", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "period", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "payloadType", "source": [ { "context": "src", "element": "payloadType", "variable": "s" } ], "target": [ { "context": "tgt", "element": "payload", "variable": "t" }, { "context": "t", "element": "type", "transform": "copy", "parameter": [ { "valueId": "s" } ] } ] }, { "name": "payloadMimeType", "source": [ { "context": "src", "element": "payloadMimeType", "variable": "s" } ], "target": [ { "context": "tgt", "element": "payload", "variable": "t" }, { "context": "t", "element": "mimeType", "transform": "copy", "parameter": [ { "valueId": "s" } ] } ] }, { "name": "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": "header", "source": [ { "context": "src", "element": "header", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "header", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] } ] }