Current Build
Financial Management Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Practitioner

R3 : R4 Conversion maps for ProcessResponse.

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

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/ProcessResponse" alias ProcessResponseR3 as source
uses "http://hl7.org/fhir/StructureDefinition/ProcessResponse" alias ProcessResponse as target

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



group ProcessResponse extends DomainResource
  input src : ProcessResponseR3 as source
  input tgt : ProcessResponse as target

  "ProcessResponse.identifier": for src.identifier make tgt.identifier
  "ProcessResponse.status": for src.status make tgt.status
  "ProcessResponse.created": for src.created make tgt.created
  "ProcessResponse.organization": for src.organization make tgt.organization
  "ProcessResponse.request": for src.request make tgt.request
  "ProcessResponse.outcome": for src.outcome make tgt.outcome
  "ProcessResponse.disposition": for src.disposition make tgt.disposition
  "ProcessResponse.requestProvider": for src.requestProvider make tgt.requestProvider
  "ProcessResponse.form": for src.form make tgt.form
  "ProcessResponse.processNote": for src.processNote as s make tgt.processNote as t then ProcessResponseProcessNote(s,t)
  "ProcessResponse.error": for src.error make tgt.error
  "ProcessResponse.communicationRequest": for src.communicationRequest make tgt.communicationRequest
endgroup


group ProcessResponseProcessNote extends BackboneElement
  input src : ProcessResponseR3 as source
  input tgt : ProcessResponse as target

  "ProcessResponse.processNote.type": for src.type make tgt.type
  "ProcessResponse.processNote.text": for src.text make tgt.text
endgroup


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


uses "http://hl7.org/fhir/StructureDefinition/ProcessResponse" alias ProcessResponse as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/ProcessResponse" alias ProcessResponseR3 as target

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



group ProcessResponse extends DomainResource
  input src : ProcessResponseR3 as source
  input tgt : ProcessResponse as target

  "ProcessResponse.identifier": for src.identifier make tgt.identifier
  "ProcessResponse.status": for src.status make tgt.status
  "ProcessResponse.created": for src.created make tgt.created
  "ProcessResponse.organization": for src.organization make tgt.organization
  "ProcessResponse.request": for src.request make tgt.request
  "ProcessResponse.outcome": for src.outcome make tgt.outcome
  "ProcessResponse.disposition": for src.disposition make tgt.disposition
  "ProcessResponse.requestProvider": for src.requestProvider make tgt.requestProvider
  "ProcessResponse.form": for src.form make tgt.form
  "ProcessResponse.processNote": for src.processNote as s make tgt.processNote as t then ProcessResponseProcessNote(s,t)
  "ProcessResponse.error": for src.error make tgt.error
  "ProcessResponse.communicationRequest": for src.communicationRequest make tgt.communicationRequest
endgroup

group ProcessResponseProcessNote extends BackboneElement
  input src : ProcessResponseR3 as source
  input tgt : ProcessResponse as target

  "ProcessResponse.processNote.type": for src.type make tgt.type
  "ProcessResponse.processNote.text": for src.text make tgt.text
endgroup