FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). 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 GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

R2 : R3 Converson maps for Binary.

Functional status for this map: 2 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)

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

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Binary" alias BinaryR2 as source
uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as target

imports "http://hl7.org/fhir/StructureMap/primitives2to3"
imports "http://hl7.org/fhir/StructureMap/Resource2to3"

group for type+types  Binary extends Resource
  input src : BinaryR2 as source
  input tgt : Binary as target

  "Binary-contentType" : for src.contentType make tgt.contentType
  "Binary-content" : for src.content make tgt.content

endgroup

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

uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Binary" alias BinaryR2 as target

imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/Resource3to2"

group for type+types  Binary extends Resource
  input src : Binary as source
  input tgt : BinaryR2 as target

  "Binary-contentType" : for src.contentType make tgt.contentType
  "Binary-content" : for src.content make tgt.content

endgroup