This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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 Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: Not Classified | Compartments: Not linked to any defined compartments |
R3 : R4 Conversion maps for Bundle.
Functional status for this map: 28 tests of which 3 fail to execute. 3 fail round-trip testing and 16 r3 resources are invalid (0 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/Bundle3to4" = "R3 to R4 Conversions for Bundle"
uses "http://hl7.org/fhir/3.0/StructureDefinition/Bundle" alias BundleR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target
imports "http://hl7.org/fhir/StructureMap/*3to4"
group Bundle(source src : BundleR3, target tgt : Bundle) extends Resource <<type+>> {
src.identifier -> tgt.identifier;
src.type -> tgt.type;
src.total -> tgt.total;
src.link as vs0 -> tgt.link as vt0 then link(vs0, vt0);
src.entry as vs0 -> tgt.entry as vt0 then entry(vs0, vt0);
src.signature -> tgt.signature;
}
group link(source src, target tgt) extends BackboneElement {
src.relation -> tgt.relation;
src.url -> tgt.url;
}
group entry(source src, target tgt) extends BackboneElement {
src.fullUrl -> tgt.fullUrl;
src.resource -> tgt.resource;
src.search as vs0 -> tgt.search as vt0 then search(vs0, vt0);
src.request as vs0 -> tgt.request as vt0 then request(vs0, vt0);
src.response as vs0 -> tgt.response as vt0 then response(vs0, vt0);
}
group search(source src, target tgt) extends BackboneElement {
src.mode -> tgt.mode;
src.score -> tgt.score;
}
group request(source src, target tgt) extends BackboneElement {
src.method -> tgt.method;
src.url -> tgt.url;
src.ifNoneMatch -> tgt.ifNoneMatch;
src.ifModifiedSince -> tgt.ifModifiedSince;
src.ifMatch -> tgt.ifMatch;
src.ifNoneExist -> tgt.ifNoneExist;
}
group response(source src, target tgt) extends BackboneElement {
src.status -> tgt.status;
src.location -> tgt.location;
src.etag -> tgt.etag;
src.lastModified -> tgt.lastModified;
src.outcome -> tgt.outcome;
}
map "http://hl7.org/fhir/StructureMap/Bundle4to3" = "R4 to R3 Conversion for Bundle"
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Bundle" alias BundleR3 as target
imports "http://hl7.org/fhir/StructureMap/*4to3"
group Bundle(source src : Bundle, target tgt : BundleR3) extends Resource <<type+>> {
src.identifier -> tgt.identifier;
src.type -> tgt.type;
src.total -> tgt.total;
src.link as vs0 -> tgt.link as vt0 then link(vs0, vt0);
src.entry as vs0 -> tgt.entry as vt0 then entry(vs0, vt0);
src.signature -> tgt.signature;
}
group link(source src, target tgt) extends BackboneElement {
src.relation -> tgt.relation;
src.url -> tgt.url;
}
group entry(source src, target tgt) extends BackboneElement {
src.fullUrl -> tgt.fullUrl;
src.resource -> tgt.resource;
src.search as vs0 -> tgt.search as vt0 then search(vs0, vt0);
src.request as vs0 -> tgt.request as vt0 then request(vs0, vt0);
src.response as vs0 -> tgt.response as vt0 then response(vs0, vt0);
}
group search(source src, target tgt) extends BackboneElement {
src.mode -> tgt.mode;
src.score -> tgt.score;
}
group request(source src, target tgt) extends BackboneElement {
src.method -> tgt.method;
src.url -> tgt.url;
src.ifNoneMatch -> tgt.ifNoneMatch;
src.ifModifiedSince -> tgt.ifModifiedSince;
src.ifMatch -> tgt.ifMatch;
src.ifNoneExist -> tgt.ifNoneExist;
}
group response(source src, target tgt) extends BackboneElement {
src.status -> tgt.status;
src.location -> tgt.location;
src.etag -> tgt.etag;
src.lastModified -> tgt.lastModified;
src.outcome -> tgt.outcome;
}