This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: N/A | Compartments: N/A |
Following are maps for converting between the equivalent R4B resource and this R5 resource.
/// url = 'http://hl7.org/fhir/StructureMap/Group5to4' /// name = 'Group5to4' /// title = 'FML Conversion for Group: R5 to R4' /// status = 'active' conceptmap "GroupType" { prefix s = "http://hl7.org/fhir/group-type" prefix t = "http://hl7.org/fhir/4.0/group-type" s:person - t:person s:animal - t:animal s:practitioner - t:practitioner s:device - t:device } uses "http://hl7.org/fhir/StructureDefinition/Group" alias GroupR5 as source uses "http://hl7.org/fhir/4.0/StructureDefinition/Group" alias GroupR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group Group(source src : GroupR5, target tgt : GroupR4) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.active -> tgt.active; src.type as v -> tgt.type = translate(v, '#GroupType', 'code'); src.code -> tgt.code; // src.membership as v -> tgt.membership = translate(v, '#group-membership-basis', 'code'); src.name -> tgt.name; src.quantity -> tgt.quantity; // src.description -> tgt.description; src.managingEntity -> tgt.managingEntity; src.characteristic as s -> tgt.characteristic as t then GroupCharacteristic(s, t); src.member as s -> tgt.member as t then GroupMember(s, t); } group GroupCharacteristic(source src, target tgt) extends BackboneElement { src.code -> tgt.code; src.value : CodeableConcept -> tgt.value; src.value : boolean -> tgt.value; src.value : Quantity -> tgt.value; src.value : Range -> tgt.value; src.value : Reference -> tgt.value; src.exclude -> tgt.exclude; src.period -> tgt.period; } group GroupMember(source src, target tgt) extends BackboneElement { src.entity -> tgt.entity; src.period -> tgt.period; src.inactive -> tgt.inactive; }
/// url = 'http://hl7.org/fhir/StructureMap/Group5to4B' /// name = 'Group5to4B' /// title = 'FML Conversion for Group: R5 to R4B' /// status = 'active' conceptmap "GroupType" { prefix s = "http://hl7.org/fhir/group-type" prefix t = "http://hl7.org/fhir/4.3/group-type" s:person - t:person s:animal - t:animal s:practitioner - t:practitioner s:device - t:device } uses "http://hl7.org/fhir/StructureDefinition/Group" alias GroupR5 as source uses "http://hl7.org/fhir/4.3/StructureDefinition/Group" alias GroupR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group Group(source src : GroupR5, target tgt : GroupR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.active -> tgt.active; src.type as v -> tgt.type = translate(v, '#GroupType', 'code'); src.code -> tgt.code; // src.membership as v -> tgt.membership = translate(v, '#group-membership-basis', 'code'); src.name -> tgt.name; src.quantity -> tgt.quantity; // src.description -> tgt.description; src.managingEntity -> tgt.managingEntity; src.characteristic as s -> tgt.characteristic as t then GroupCharacteristic(s, t); src.member as s -> tgt.member as t then GroupMember(s, t); } group GroupCharacteristic(source src, target tgt) extends BackboneElement { src.code -> tgt.code; src.value : CodeableConcept -> tgt.value; src.value : boolean -> tgt.value; src.value : Quantity -> tgt.value; src.value : Range -> tgt.value; src.value : Reference -> tgt.value; src.exclude -> tgt.exclude; src.period -> tgt.period; } group GroupMember(source src, target tgt) extends BackboneElement { src.entity -> tgt.entity; src.period -> tgt.period; src.inactive -> tgt.inactive; }
/// url = 'http://hl7.org/fhir/StructureMap/Group4Bto5' /// name = 'Group4Bto5' /// title = 'FML Conversion for Group: R4B to R5' /// status = 'active' conceptmap "GroupType" { prefix s = "http://hl7.org/fhir/4.3/group-type" prefix t = "http://hl7.org/fhir/group-type" s:person - t:person s:animal - t:animal s:practitioner - t:practitioner s:device - t:device } uses "http://hl7.org/fhir/4.3/StructureDefinition/Group" alias GroupR4B as source uses "http://hl7.org/fhir/StructureDefinition/Group" alias GroupR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group Group(source src : GroupR4B, target tgt : GroupR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.active -> tgt.active; src.type as v -> tgt.type = translate(v, '#GroupType', 'code'); src.code -> tgt.code; // src.membership as v -> tgt.membership = translate(v, '#group-membership-basis', 'code'); src.name -> tgt.name; src.quantity -> tgt.quantity; // src.description -> tgt.description; src.managingEntity -> tgt.managingEntity; src.characteristic as s -> tgt.characteristic as t then GroupCharacteristic(s, t); src.member as s -> tgt.member as t then GroupMember(s, t); } group GroupCharacteristic(source src, target tgt) extends BackboneElement { src.code -> tgt.code; src.value : CodeableConcept -> tgt.value; src.value : boolean -> tgt.value; src.value : Quantity -> tgt.value; src.value : Range -> tgt.value; src.value : Reference -> tgt.value; src.exclude -> tgt.exclude; src.period -> tgt.period; } group GroupMember(source src, target tgt) extends BackboneElement { src.entity -> tgt.entity; src.period -> tgt.period; src.inactive -> tgt.inactive; }
/// url = 'http://hl7.org/fhir/StructureMap/Group4to5' /// name = 'Group4to5' /// title = 'FML Conversion for Group: R4 to R5' /// status = 'active' conceptmap "GroupType" { prefix s = "http://hl7.org/fhir/4.0/group-type" prefix t = "http://hl7.org/fhir/group-type" s:person - t:person s:animal - t:animal s:practitioner - t:practitioner s:device - t:device } uses "http://hl7.org/fhir/4.0/StructureDefinition/Group" alias GroupR4 as source uses "http://hl7.org/fhir/StructureDefinition/Group" alias GroupR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group Group(source src : GroupR4, target tgt : GroupR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.active -> tgt.active; src.type as v -> tgt.type = translate(v, '#GroupType', 'code'); src.code -> tgt.code; // src.membership as v -> tgt.membership = translate(v, '#group-membership-basis', 'code'); src.name -> tgt.name; src.quantity -> tgt.quantity; // src.description -> tgt.description; src.managingEntity -> tgt.managingEntity; src.characteristic as s -> tgt.characteristic as t then GroupCharacteristic(s, t); src.member as s -> tgt.member as t then GroupMember(s, t); } group GroupCharacteristic(source src, target tgt) extends BackboneElement { src.code -> tgt.code; src.value : CodeableConcept -> tgt.value; src.value : boolean -> tgt.value; src.value : Quantity -> tgt.value; src.value : Range -> tgt.value; src.value : Reference -> tgt.value; src.exclude -> tgt.exclude; src.period -> tgt.period; } group GroupMember(source src, target tgt) extends BackboneElement { src.entity -> tgt.entity; src.period -> tgt.period; src.inactive -> tgt.inactive; }