Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. 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: Not Classified Compartments: No defined compartments

R4 : R5 Conversion maps for Binary.

Functional status for this map: See Conversions Summary. (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Binary" alias BinaryR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as target

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

group Binary(source src : BinaryR3, target tgt : Binary) extends Resource <<type+>> {
  src.contentType -> tgt.contentType;
  src.securityContext -> tgt.securityContext;
  src.content -> tgt.data;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Binary" alias BinaryR3 as target

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

group Binary(source src : Binary, target tgt : BinaryR3) extends Resource <<type+>> {
  src.contentType -> tgt.contentType;
  src.securityContext -> tgt.securityContext;
  src.data -> tgt.content "content";
}


No validation errors - all conversions are clean