Current Build
Structured Documents Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for DocumentManifest.

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

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/DocumentManifest" alias DocumentManifestR3 as source
uses "http://hl7.org/fhir/StructureDefinition/DocumentManifest" alias DocumentManifest as target

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



group DocumentManifest extends DomainResource
  input src : DocumentManifestR3 as source
  input tgt : DocumentManifest as target

  "DocumentManifest.masterIdentifier": for src.masterIdentifier make tgt.masterIdentifier
  "DocumentManifest.identifier": for src.identifier make tgt.identifier
  "DocumentManifest.status": for src.status make tgt.status
  "DocumentManifest.type": for src.type make tgt.type
  "DocumentManifest.subject": for src.subject make tgt.subject
  "DocumentManifest.created": for src.created make tgt.created
  "DocumentManifest.agent": for src.agent as s make tgt.agent as t then DocumentManifestAgent(s,t)
  "DocumentManifest.recipient": for src.recipient make tgt.recipient
  "DocumentManifest.source": for src.source make tgt.source
  "DocumentManifest.description": for src.description make tgt.description
  "DocumentManifest.content": for src.content make tgt.content
  "DocumentManifest.related": for src.related as s make tgt.related as t then DocumentManifestRelated(s,t)
endgroup


group DocumentManifestAgent extends BackboneElement
  input src : DocumentManifestR3 as source
  input tgt : DocumentManifest as target

  "DocumentManifest.agent.type": for src.type make tgt.type
  "DocumentManifest.agent.who": for src.who make tgt.who
endgroup


group DocumentManifestRelated extends BackboneElement
  input src : DocumentManifestR3 as source
  input tgt : DocumentManifest as target

  "DocumentManifest.related.identifier": for src.identifier make tgt.identifier
  "DocumentManifest.related.ref": for src.ref make tgt.ref
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/DocumentManifest" alias DocumentManifest as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/DocumentManifest" alias DocumentManifestR3 as target

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



group DocumentManifest extends DomainResource
  input src : DocumentManifestR3 as source
  input tgt : DocumentManifest as target

  "DocumentManifest.masterIdentifier": for src.masterIdentifier make tgt.masterIdentifier
  "DocumentManifest.identifier": for src.identifier make tgt.identifier
  "DocumentManifest.status": for src.status make tgt.status
  "DocumentManifest.type": for src.type make tgt.type
  "DocumentManifest.subject": for src.subject make tgt.subject
  "DocumentManifest.created": for src.created make tgt.created
  "DocumentManifest.agent": for src.agent as s make tgt.agent as t then DocumentManifestAgent(s,t)
  "DocumentManifest.recipient": for src.recipient make tgt.recipient
  "DocumentManifest.source": for src.source make tgt.source
  "DocumentManifest.description": for src.description make tgt.description
  "DocumentManifest.content": for src.content make tgt.content
  "DocumentManifest.related": for src.related as s make tgt.related as t then DocumentManifestRelated(s,t)
endgroup

group DocumentManifestAgent extends BackboneElement
  input src : DocumentManifestR3 as source
  input tgt : DocumentManifest as target

  "DocumentManifest.agent.type": for src.type make tgt.type
  "DocumentManifest.agent.who": for src.who make tgt.who
endgroup

group DocumentManifestRelated extends BackboneElement
  input src : DocumentManifestR3 as source
  input tgt : DocumentManifest as target

  "DocumentManifest.related.identifier": for src.identifier make tgt.identifier
  "DocumentManifest.related.ref": for src.ref make tgt.ref
endgroup