R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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: R4B R4 R3

Orders and Observations Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Patient, Practitioner

R3 : R4 Conversion maps for Media.

Functional status for this map: 4 tests of which 4 fail to execute. (see documentation)

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/Media" alias MediaR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Media" alias Media as target

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



group Media extends DomainResource
  input src : MediaR3 as source
  input tgt : Media as target

  "Media.identifier": for src.identifier make tgt.identifier
  "Media.basedOn": for src.basedOn make tgt.basedOn
  "Media.partOf": for src.partOf make tgt.partOf
  "Media.status": for src.status make tgt.status
  "Media.type": for src.type make tgt.type
  "Media.modality": for src.modality make tgt.modality
  "Media.view": for src.view make tgt.view
  "Media.subject": for src.subject make tgt.subject
  "Media.context": for src.context make tgt.context
  "Media.created": for src.created make tgt.created
  "Media.issued": for src.issued make tgt.issued
  "Media.operator": for src.operator make tgt.operator
  "Media.reasonCode": for src.reasonCode make tgt.reasonCode
  "Media.bodySite": for src.bodySite make tgt.bodySite
  "Media.deviceName": for src.deviceName make tgt.deviceName
  "Media.device": for src.device make tgt.device
  "Media.height": for src.height make tgt.height
  "Media.width": for src.width make tgt.width
  "Media.frames": for src.frames make tgt.frames
  "Media.duration": for src.duration make tgt.duration
  "Media.content": for src.content make tgt.content
  "Media.note": for src.note make tgt.note
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/Media" alias Media as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Media" alias MediaR3 as target

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



group Media extends DomainResource
  input src : MediaR3 as source
  input tgt : Media as target

  "Media.identifier": for src.identifier make tgt.identifier
  "Media.basedOn": for src.basedOn make tgt.basedOn
  "Media.partOf": for src.partOf make tgt.partOf
  "Media.status": for src.status make tgt.status
  "Media.type": for src.type make tgt.type
  "Media.modality": for src.modality make tgt.modality
  "Media.view": for src.view make tgt.view
  "Media.subject": for src.subject make tgt.subject
  "Media.context": for src.context make tgt.context
  "Media.created": for src.created make tgt.created
  "Media.issued": for src.issued make tgt.issued
  "Media.operator": for src.operator make tgt.operator
  "Media.reasonCode": for src.reasonCode make tgt.reasonCode
  "Media.bodySite": for src.bodySite make tgt.bodySite
  "Media.deviceName": for src.deviceName make tgt.deviceName
  "Media.device": for src.device make tgt.device
  "Media.height": for src.height make tgt.height
  "Media.width": for src.width make tgt.width
  "Media.frames": for src.frames make tgt.frames
  "Media.duration": for src.duration make tgt.duration
  "Media.content": for src.content make tgt.content
  "Media.note": for src.note make tgt.note
endgroup