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

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

R3 : R4 Conversion maps for PaymentReconciliation.

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

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


uses "http://hl7.org/fhir/3.0/StructureDefinition/PaymentReconciliation" alias PaymentReconciliationR3 as source
uses "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation" alias PaymentReconciliation as target

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



group PaymentReconciliation extends DomainResource
  input src : PaymentReconciliationR3 as source
  input tgt : PaymentReconciliation as target

  "PaymentReconciliation.identifier": for src.identifier make tgt.identifier
  "PaymentReconciliation.status": for src.status make tgt.status
  "PaymentReconciliation.period": for src.period make tgt.period
  "PaymentReconciliation.created": for src.created make tgt.created
  "PaymentReconciliation.organization": for src.organization make tgt.organization
  "PaymentReconciliation.request": for src.request make tgt.request
  "PaymentReconciliation.outcome": for src.outcome make tgt.outcome
  "PaymentReconciliation.disposition": for src.disposition make tgt.disposition
  "PaymentReconciliation.requestProvider": for src.requestProvider make tgt.requestProvider
  "PaymentReconciliation.detail": for src.detail as s make tgt.detail as t then PaymentReconciliationDetail(s,t)
  "PaymentReconciliation.form": for src.form make tgt.form
  "PaymentReconciliation.total": for src.total make tgt.total
  "PaymentReconciliation.processNote": for src.processNote as s make tgt.processNote as t then PaymentReconciliationProcessNote(s,t)
endgroup


group PaymentReconciliationDetail extends BackboneElement
  input src : PaymentReconciliationR3 as source
  input tgt : PaymentReconciliation as target

  "PaymentReconciliation.detail.type": for src.type make tgt.type
  "PaymentReconciliation.detail.request": for src.request make tgt.request
  "PaymentReconciliation.detail.response": for src.response make tgt.response
  "PaymentReconciliation.detail.submitter": for src.submitter make tgt.submitter
  "PaymentReconciliation.detail.payee": for src.payee make tgt.payee
  "PaymentReconciliation.detail.date": for src.date make tgt.date
  "PaymentReconciliation.detail.amount": for src.amount make tgt.amount
endgroup


group PaymentReconciliationProcessNote extends BackboneElement
  input src : PaymentReconciliationR3 as source
  input tgt : PaymentReconciliation as target

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


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


uses "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation" alias PaymentReconciliation as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/PaymentReconciliation" alias PaymentReconciliationR3 as target

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



group PaymentReconciliation extends DomainResource
  input src : PaymentReconciliationR3 as source
  input tgt : PaymentReconciliation as target

  "PaymentReconciliation.identifier": for src.identifier make tgt.identifier
  "PaymentReconciliation.status": for src.status make tgt.status
  "PaymentReconciliation.period": for src.period make tgt.period
  "PaymentReconciliation.created": for src.created make tgt.created
  "PaymentReconciliation.organization": for src.organization make tgt.organization
  "PaymentReconciliation.request": for src.request make tgt.request
  "PaymentReconciliation.outcome": for src.outcome make tgt.outcome
  "PaymentReconciliation.disposition": for src.disposition make tgt.disposition
  "PaymentReconciliation.requestProvider": for src.requestProvider make tgt.requestProvider
  "PaymentReconciliation.detail": for src.detail as s make tgt.detail as t then PaymentReconciliationDetail(s,t)
  "PaymentReconciliation.form": for src.form make tgt.form
  "PaymentReconciliation.total": for src.total make tgt.total
  "PaymentReconciliation.processNote": for src.processNote as s make tgt.processNote as t then PaymentReconciliationProcessNote(s,t)
endgroup

group PaymentReconciliationDetail extends BackboneElement
  input src : PaymentReconciliationR3 as source
  input tgt : PaymentReconciliation as target

  "PaymentReconciliation.detail.type": for src.type make tgt.type
  "PaymentReconciliation.detail.request": for src.request make tgt.request
  "PaymentReconciliation.detail.response": for src.response make tgt.response
  "PaymentReconciliation.detail.submitter": for src.submitter make tgt.submitter
  "PaymentReconciliation.detail.payee": for src.payee make tgt.payee
  "PaymentReconciliation.detail.date": for src.date make tgt.date
  "PaymentReconciliation.detail.amount": for src.amount make tgt.amount
endgroup

group PaymentReconciliationProcessNote extends BackboneElement
  input src : PaymentReconciliationR3 as source
  input tgt : PaymentReconciliation as target

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