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