Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

FHIR Infrastructure icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: N/A Compartments: Not linked to any defined compartments

R4 : R5 Conversion maps for DomainResource.

Functional status for this map: Not Mapped (see documentation)

map "http://hl7.org/fhir/StructureMap/DomainResource3to4" = "R3 to R4 Conversions for DomainResource"

uses "http://hl7.org/fhir/3.0/StructureDefinition/DomainResource" alias DomainResourceR3 as source
uses "http://hl7.org/fhir/StructureDefinition/DomainResource" alias DomainResource as target

imports "http://hl7.org/fhir/StructureMap/*3to4"

group DomainResource(source src : DomainResourceR3, target tgt : DomainResource) extends Resource <<type+>> {
  src.text -> tgt.text;
  src.contained -> tgt.contained;
  src.extension -> tgt.extension;
  src.modifierExtension -> tgt.modifierExtension;
}


map "http://hl7.org/fhir/StructureMap/DomainResource4to3" = "R4 to R3 Conversion for DomainResource"

uses "http://hl7.org/fhir/StructureDefinition/DomainResource" alias DomainResource as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/DomainResource" alias DomainResourceR3 as target

imports "http://hl7.org/fhir/StructureMap/*4to3"

group DomainResource(source src : DomainResource, target tgt : DomainResourceR3) extends Resource <<type+>> {
  src.text -> tgt.text;
  src.contained -> tgt.contained;
  src.extension where url.startsWith('http://hl7.org/fhir/3.0/StructureDefinition').not() and (url != 'http://hl7.org/fhir/StructureDefinition/patient-animal') -> tgt.extension;
  src.modifierExtension -> tgt.modifierExtension;
}


<p>n/a</p>