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: R5 R4B R4 R3

Patient Care Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for CommunicationRequest.

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

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/CommunicationRequest" alias CommunicationRequestR3 as source
uses "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" alias CommunicationRequest as target

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



group CommunicationRequest extends DomainResource
  input src : CommunicationRequestR3 as source
  input tgt : CommunicationRequest as target

  "CommunicationRequest.identifier": for src.identifier make tgt.identifier
  "CommunicationRequest.basedOn": for src.basedOn make tgt.basedOn
  "CommunicationRequest.replaces": for src.replaces make tgt.replaces
  "CommunicationRequest.groupIdentifier": for src.groupIdentifier make tgt.groupIdentifier
  "CommunicationRequest.status": for src.status make tgt.status
  "CommunicationRequest.statusReason": for src.statusReason make tgt.statusReason
  "CommunicationRequest.category": for src.category make tgt.category
  "CommunicationRequest.priority": for src.priority make tgt.priority
  "CommunicationRequest.doNotPerform": for src.doNotPerform make tgt.doNotPerform
  "CommunicationRequest.medium": for src.medium make tgt.medium
  "CommunicationRequest.subject": for src.subject make tgt.subject
  "CommunicationRequest.about": for src.about make tgt.about
  "CommunicationRequest.context": for src.context make tgt.context
  "CommunicationRequest.payload": for src.payload as s make tgt.payload as t then CommunicationRequestPayload(s,t)
  "CommunicationRequest.occurrence": for src.occurrence make tgt.occurrence
  "CommunicationRequest.authoredOn": for src.authoredOn make tgt.authoredOn
  "CommunicationRequest.requester": for src.requester make tgt.requester
  "CommunicationRequest.recipient": for src.recipient make tgt.recipient
  "CommunicationRequest.sender": for src.sender make tgt.sender
  "CommunicationRequest.reasonCode": for src.reasonCode make tgt.reasonCode
  "CommunicationRequest.reasonReference": for src.reasonReference make tgt.reasonReference
  "CommunicationRequest.note": for src.note make tgt.note
endgroup


group CommunicationRequestPayload extends BackboneElement
  input src : CommunicationRequestR3 as source
  input tgt : CommunicationRequest as target

  "CommunicationRequest.payload.content": for src.content make tgt.content
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" alias CommunicationRequest as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/CommunicationRequest" alias CommunicationRequestR3 as target

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



group CommunicationRequest extends DomainResource
  input src : CommunicationRequestR3 as source
  input tgt : CommunicationRequest as target

  "CommunicationRequest.identifier": for src.identifier make tgt.identifier
  "CommunicationRequest.basedOn": for src.basedOn make tgt.basedOn
  "CommunicationRequest.replaces": for src.replaces make tgt.replaces
  "CommunicationRequest.groupIdentifier": for src.groupIdentifier make tgt.groupIdentifier
  "CommunicationRequest.status": for src.status make tgt.status
  "CommunicationRequest.statusReason": for src.statusReason make tgt.statusReason
  "CommunicationRequest.category": for src.category make tgt.category
  "CommunicationRequest.priority": for src.priority make tgt.priority
  "CommunicationRequest.doNotPerform": for src.doNotPerform make tgt.doNotPerform
  "CommunicationRequest.medium": for src.medium make tgt.medium
  "CommunicationRequest.subject": for src.subject make tgt.subject
  "CommunicationRequest.about": for src.about make tgt.about
  "CommunicationRequest.context": for src.context make tgt.context
  "CommunicationRequest.payload": for src.payload as s make tgt.payload as t then CommunicationRequestPayload(s,t)
  "CommunicationRequest.occurrence": for src.occurrence make tgt.occurrence
  "CommunicationRequest.authoredOn": for src.authoredOn make tgt.authoredOn
  "CommunicationRequest.requester": for src.requester make tgt.requester
  "CommunicationRequest.recipient": for src.recipient make tgt.recipient
  "CommunicationRequest.sender": for src.sender make tgt.sender
  "CommunicationRequest.reasonCode": for src.reasonCode make tgt.reasonCode
  "CommunicationRequest.reasonReference": for src.reasonReference make tgt.reasonReference
  "CommunicationRequest.note": for src.note make tgt.note
endgroup

group CommunicationRequestPayload extends BackboneElement
  input src : CommunicationRequestR3 as source
  input tgt : CommunicationRequest as target

  "CommunicationRequest.payload.content": for src.content make tgt.content
endgroup