| Package | hl7.fhir.uv.xver |
| Resource Type | StructureMap |
| Id | Communication3to2 |
| FHIR Version | R5 |
| Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Communication3to2.html |
| URL | http://hl7.org/fhir/StructureMap/Communication3to2 |
| Version | 0.1.0 |
| Status | active |
| Date | 2024-02-22T03:16:50+00:00 |
| Name | Communication3to2 |
| Title | Communication Transforms: R3 to R2 |
| Realm | uv |
| Authority | hl7 |
| Description | CommunicationTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Communication3to2' /// name = 'Communication3to2' /// title = 'Communication Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/Communication" alias Communication as source uses "http://hl7.org/fhir/1.0/Communication" alias CommunicationR2 as target imports "http://hl7.org/fhir/StructureMap/primitives3to2" imports "http://hl7.org/fhir/StructureMap/DomainResource3to2" imports "http://hl7.org/fhir/StructureMap/Attachment3to2" imports "http://hl7.org/fhir/StructureMap/Identifier3to2" imports "http://hl7.org/fhir/StructureMap/Reference3to2" imports "http://hl7.org/fhir/StructureMap/CodeableConcept3to2" group Communication(source src : Communication, target tgt : CommunicationR2) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "Communication-identifier"; src.category -> tgt.category "Communication-category"; src.sender -> tgt.sender "Communication-sender"; src.recipient -> tgt.recipient "Communication-recipient"; src.payload as vs0 -> tgt.payload as vt0 then cmmPayload(vs0, vt0) "Communication-payload"; src.medium -> tgt.medium "Communication-medium"; src.status -> tgt.status "Communication-status"; src.context -> tgt.encounter "Communication-encounter"; src.sent -> tgt.sent "Communication-sent"; src.received -> tgt.received "Communication-received"; src.reasonCode -> tgt.reason "Communication-reason"; src.subject -> tgt.subject "Communication-subject"; src.basedOn -> tgt.requestDetail "Communication-requestDetail"; } group cmmPayload(source src, target tgt) { src.content -> tgt.content "payload-content"; }
{
"resourceType": "StructureMap",
"id": "Communication3to2",
"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/Communication3to2",
"version": "0.1.0",
"name": "Communication3to2",
"title": "Communication 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": "CommunicationTransformsR3toR2",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001"
}
]
}
],
"structure": [
{
"url": "http://hl7.org/fhir/3.0/Communication",
"mode": "source",
"alias": "Communication"
},
{
"url": "http://hl7.org/fhir/1.0/Communication",
"mode": "target",
"alias": "CommunicationR2"
}
],
"import": [
"http://hl7.org/fhir/StructureMap/primitives3to2",
"http://hl7.org/fhir/StructureMap/DomainResource3to2",
"http://hl7.org/fhir/StructureMap/Attachment3to2",
"http://hl7.org/fhir/StructureMap/Identifier3to2",
"http://hl7.org/fhir/StructureMap/Reference3to2",
"http://hl7.org/fhir/StructureMap/CodeableConcept3to2"
],
"group": [
{
"name": "Communication",
"extends": "DomainResource",
"typeMode": "type-and-types",
"input": [
{
"name": "src",
"type": "Communication",
"mode": "source"
},
{
"name": "tgt",
"type": "CommunicationR2",
"mode": "target"
}
],
"rule": [
{
"name": "Communication-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": "Communication-category",
"source": [
{
"context": "src",
"element": "category",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "category",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-sender",
"source": [
{
"context": "src",
"element": "sender",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "sender",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-recipient",
"source": [
{
"context": "src",
"element": "recipient",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "recipient",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-payload",
"source": [
{
"context": "src",
"element": "payload",
"variable": "vs0"
}
],
"target": [
{
"context": "tgt",
"element": "payload",
"variable": "vt0"
}
],
"dependent": [
{
"name": "cmmPayload",
"parameter": [
{
"valueId": "vs0"
},
{
"valueId": "vt0"
}
]
}
]
},
{
"name": "Communication-medium",
"source": [
{
"context": "src",
"element": "medium",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "medium",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-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": "Communication-encounter",
"source": [
{
"context": "src",
"element": "context",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "encounter",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-sent",
"source": [
{
"context": "src",
"element": "sent",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "sent",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-received",
"source": [
{
"context": "src",
"element": "received",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "received",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-reason",
"source": [
{
"context": "src",
"element": "reasonCode",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "reason",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-subject",
"source": [
{
"context": "src",
"element": "subject",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "subject",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "Communication-requestDetail",
"source": [
{
"context": "src",
"element": "basedOn",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "requestDetail",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
}
]
},
{
"name": "cmmPayload",
"input": [
{
"name": "src",
"mode": "source"
},
{
"name": "tgt",
"mode": "target"
}
],
"rule": [
{
"name": "payload-content",
"source": [
{
"context": "src",
"element": "content",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "content",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
}
]
}
]
}