FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureMap/PaymentReconciliation5to4

Packagehl7.fhir.uv.xver
Resource TypeStructureMap
IdPaymentReconciliation5to4
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-PaymentReconciliation5to4.html
URLhttp://hl7.org/fhir/StructureMap/PaymentReconciliation5to4
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NamePaymentReconciliation5to4
TitlePaymentReconciliation Transforms: R5 to R4
Realmuv
Authorityhl7
DescriptionPaymentReconciliationTransformsR5toR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/PaymentReconciliation5to4'
/// name = 'PaymentReconciliation5to4'
/// title = 'PaymentReconciliation Transforms: R5 to R4'
/// status = 'active'

uses "http://hl7.org/fhir/5.0/PaymentReconciliation" alias PaymentReconciliationR5 as source
uses "http://hl7.org/fhir/4.0/PaymentReconciliation" alias PaymentReconciliationR4 as target

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

group PaymentReconciliation(source src : PaymentReconciliationR5, target tgt : PaymentReconciliationR4) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/PaymentReconciliation.status-R5toR4', 'code');
  src.period -> tgt.period;
  src.created -> tgt.created;
  src.paymentIssuer -> tgt.paymentIssuer;
  src.request -> tgt.request;
  src.requestor -> tgt.requestor;
  src.outcome as v -> tgt.outcome = translate(v, 'http://hl7.org/fhir/ConceptMap/PaymentReconciliation.outcome-R5toR4', 'code');
  src.disposition -> tgt.disposition;
  src.date -> tgt.paymentDate;
  src.amount -> tgt.paymentAmount;
  src.paymentIdentifier -> tgt.paymentIdentifier;
  src.allocation as s -> tgt.detail as t then PaymentReconciliationAllocation(s, t);
  src.formCode -> tgt.formCode;
  src.processNote as s -> tgt.processNote as t then PaymentReconciliationProcessNote(s, t);
}

group PaymentReconciliationAllocation(source src, target tgt) extends BackboneElement {
  src.identifier -> tgt.identifier;
  src.predecessor -> tgt.predecessor;
  src.type -> tgt.type;
  src.submitter -> tgt.submitter;
  src.response -> tgt.response;
  src.date -> tgt.date;
  src.responsible -> tgt.responsible;
  src.payee -> tgt.payee;
  src.amount -> tgt.amount;
}

group PaymentReconciliationProcessNote(source src, target tgt) extends BackboneElement {
  src.type as v -> tgt.type = translate(v, 'http://hl7.org/fhir/ConceptMap/PaymentReconciliation.processNote.type-R5toR4', 'code');
  src.text -> tgt.text;
}


Source

{
  "resourceType": "StructureMap",
  "id": "PaymentReconciliation5to4",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "draft",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/StructureMap/PaymentReconciliation5to4",
  "version": "0.1.0",
  "name": "PaymentReconciliation5to4",
  "title": "PaymentReconciliation Transforms: R5 to R4",
  "status": "active",
  "date": "2024-02-22T03:16:50+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "PaymentReconciliationTransformsR5toR4",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/5.0/PaymentReconciliation",
      "mode": "source",
      "alias": "PaymentReconciliationR5"
    },
    {
      "url": "http://hl7.org/fhir/4.0/PaymentReconciliation",
      "mode": "target",
      "alias": "PaymentReconciliationR4"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*5to4"
  ],
  "group": [
    {
      "name": "PaymentReconciliation",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "PaymentReconciliationR5",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "PaymentReconciliationR4",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "identifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "identifier",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "status",
          "source": [
            {
              "context": "src",
              "element": "status",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "status",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/PaymentReconciliation.status-R5toR4"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "period",
          "source": [
            {
              "context": "src",
              "element": "period",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "period",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "created",
          "source": [
            {
              "context": "src",
              "element": "created",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "created",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "paymentIssuer",
          "source": [
            {
              "context": "src",
              "element": "paymentIssuer",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "paymentIssuer",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "request",
          "source": [
            {
              "context": "src",
              "element": "request",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "request",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "requestor",
          "source": [
            {
              "context": "src",
              "element": "requestor",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "requestor",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "outcome",
          "source": [
            {
              "context": "src",
              "element": "outcome",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "outcome",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/PaymentReconciliation.outcome-R5toR4"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "disposition",
          "source": [
            {
              "context": "src",
              "element": "disposition",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "disposition",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "date",
          "source": [
            {
              "context": "src",
              "element": "date",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "paymentDate",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "amount",
          "source": [
            {
              "context": "src",
              "element": "amount",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "paymentAmount",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "paymentIdentifier",
          "source": [
            {
              "context": "src",
              "element": "paymentIdentifier",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "paymentIdentifier",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "allocation",
          "source": [
            {
              "context": "src",
              "element": "allocation",
              "variable": "s"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "detail",
              "variable": "t"
            }
          ],
          "dependent": [
            {
              "name": "PaymentReconciliationAllocation",
              "parameter": [
                {
                  "valueId": "s"
                },
                {
                  "valueId": "t"
                }
              ]
            }
          ]
        },
        {
          "name": "formCode",
          "source": [
            {
              "context": "src",
              "element": "formCode",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "formCode",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "processNote",
          "source": [
            {
              "context": "src",
              "element": "processNote",
              "variable": "s"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "processNote",
              "variable": "t"
            }
          ],
          "dependent": [
            {
              "name": "PaymentReconciliationProcessNote",
              "parameter": [
                {
                  "valueId": "s"
                },
                {
                  "valueId": "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "PaymentReconciliationAllocation",
      "extends": "BackboneElement",
      "input": [
        {
          "name": "src",
          "mode": "source"
        },
        {
          "name": "tgt",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "identifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "identifier",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "predecessor",
          "source": [
            {
              "context": "src",
              "element": "predecessor",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "predecessor",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "type",
          "source": [
            {
              "context": "src",
              "element": "type",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "submitter",
          "source": [
            {
              "context": "src",
              "element": "submitter",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "submitter",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "response",
          "source": [
            {
              "context": "src",
              "element": "response",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "response",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "date",
          "source": [
            {
              "context": "src",
              "element": "date",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "date",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "responsible",
          "source": [
            {
              "context": "src",
              "element": "responsible",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "responsible",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "payee",
          "source": [
            {
              "context": "src",
              "element": "payee",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "payee",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "amount",
          "source": [
            {
              "context": "src",
              "element": "amount",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "amount",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "PaymentReconciliationProcessNote",
      "extends": "BackboneElement",
      "input": [
        {
          "name": "src",
          "mode": "source"
        },
        {
          "name": "tgt",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "type",
          "source": [
            {
              "context": "src",
              "element": "type",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/PaymentReconciliation.processNote.type-R5toR4"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "text",
          "source": [
            {
              "context": "src",
              "element": "text",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "text",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}