Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FHIR R4 field

openIMIS field

notes

mapping status

identifier

tblClaim.ClaimID / tblClaim.ClaimUUID / tblClaim.ClaimCode

Claim can have multiple identifiers. The most important one is mapped from ClaimUUID.

mapped

status

one of [entered, checked, reviewed, valuated] based on tblClaim.ClaimStatus

entered state by default

patient

tblClaim.InsureeUUID

reference to Patient resource

mapped - mandatory

billablePeriod

tblClaim.DateFrom / tblClaim.DateTo

DateFrom and DateTo are mapped to a period of time between them

mapped - mandatory

diagnosis

tblClaim.ICDID / tblClaim.ICDID1 / tblClaim.ICDID2 / tblClaim.ICDID3 / tblClaim.ICDID4

reference to Condition resource

There is an error with the POST for both versions. When the error is found complete the mapping.

mapped - mandatory

from fhir to imis not mapped (diagnosis)

provider

tblClaim.Adjuster

to be validated

not mapped

total

tblClaim.Claimed

mapped as Money data type

mapped - mandatory

created

tblClaim.DateClaimed

mapped - mandatory

supportingInfo

tblClaim.Explanation / tblClaim.GuaranteeId / tblClaimItems.Availability / tblClaimItems.Explanation / tblClaimServices.Explanation

information category is distinguishing the type of information
renamed from information (STU3) to supportingInfo (R4)

mapped

facility

tblClaim.HFID

reference to HealthcareService resource
FHIR specification: reference to Location (warning)

not mapped - mandatory

enterer

tblClaim.ClaimAdminId

reference to Practitioner resource

mapped

type

tblClaim.VisitType

mapped - mandatory

item.productOrService

tblClaimItems.tblItem.ItemCode / tblClaimServices.tblServices.ServiceCode

actual Code value

mapped - mandatory

item.extension.productOrServiceReference

tblClaimItems.ItemUUID / tblClaimServices.ServiceUUID

reference to Medication resource if medical item
reference to ActivityDefinition resource if medical service

mapped

item.quantity

tblClaimItems.QtyProvided / tblClaimServices.QtyProvided

mapped

item.unitPrice

tblClaimItems.PriceAsked / tblClaimServices.PriceAsked

price could differ from the price defined in medical item/service definition

mapped

item.category.text

“service” or “item”

distinguishing whether mapping is done from tblClaimsServices or tblClaimItems

mapped - mandatory

...

Code Block
languagejson
{
    "resourceType": "Claim",
    "billablePeriod": {
        "end": "20182019-1005-0313",
        "start": "20182019-1005-0313"
    },
    "created": "20182019-1005-0314",
    "diagnosis": [
        {
            "diagnosisReference": {
                "reference": "Condition/A02A03"
            },
            "sequence": 1,
            "type": [
                {
                    "coding": [
                        {
                            "code": "icd_0"
                        }
                    ]
                }
            ]
        },
    ],    {
 "enterer":  {         "referencediagnosisReference": "Practitioner/6F480233-5A7B-4034-8107-17B419E32498"{
    },     "facility": {         "reference": "Location/D61C869B-F184-4CAE-B61B-0AD52DDE2354"Condition/A01"
            },
    "id        "sequence": "858A706A-A6BF-48DC-998D-30EFDAF8EDD2"2,
    "identifier        "type": [
        {        {
    "type": {                 "coding": [
                        {
                            "code": "UUIDicd_1",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"}
                    ]
   }             }
   ]         ]
   },     },
       "use": "usual", {
            "valuediagnosisReference": "858A706A-A6BF-48DC-998D-30EFDAF8EDD2"{
        },         {"reference": "Condition/A02"
            "type": {},
            "sequence": 3,
    "coding        "type": [
                {
    {                "coding": [
        "code": "MR",               {
         "system": "https://hl7.org/fhir/valueset-identifier-type.html"                  "code": "icd_2"
 }                 ]      }
      },             "use": "usual", ]
                }
            ]
        }
    ],
    "enterer": {
        "reference": "Practitioner/BC32112F-9DF2-4F46-AD5D-97727E07CBD7"
    },
    "facility": {
        "reference": "HealthcareService/50E9ABD9-A826-4071-BFED-F731F5FAFB55"
    },
    "id": "6F6062DB-F912-4FC9-B659-BA9D0032EF99",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "UUID",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "6F6062DB-F912-4FC9-B659-BA9D0032EF99"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "MR",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "chs123"
        }
    ],
    "item": [
        {
            "category": {
                "text": "item"
            },
            "extension": [
                {
                    "url": "Medication",
                    "valueReference": {
                        "reference": "Medication/6b4175c6-73f8-43ff-9ec5-c9f1fa4a32b6"
                    }
                }
            ],
            "productOrService": {
                "text": "0002"
            },
            "quantity": {
                "value": 1.0
            },
            "sequence": 1,
            "unitPrice": {
                "value": 1000.0
            }
        },
        {
            "category": {
                "text": "item"
            },
            "extension": [
                {
                    "url": "Medication",
                    "valueReference": {
                        "reference": "Medication/fd94dd67-7450-40c2-988a-9e930d0895a5"
                    }
                }
            ],
            "productOrService": {
                "text": "0002"
            },
            "quantity": {
                "value": 1.0
            },
            "sequence": 2,
            "unitPrice": {
                "value": 1000.0
            }
        },
        {
            "category": {
                "text": "item"
            },
            "extension": [
                {
                    "url": "Medication",
                    "valueReference": {
                        "reference": "Medication/e2a343f1-7f66-4662-b94b-d26c6a651ca7"
                    }
                }
            ],
            "productOrService": {
                "text": "0002"
            },
            "quantity": {
                "value": 1.0
            },
            "sequence": 3,
            "unitPrice": {
                "value": 1000.0
            }
        },
        {
            "category": {
                "text": "service"
            },
            "extension": [
                {
                    "url": "ActivityDefinition",
                    "valueReference": {
                        "reference": "ActivityDefinition/ce56189a-0a8c-4c50-a8d4-6c9456504b13"
                    }
                }
            ],
            "productOrService": {
                "text": "M4"
            },
            "quantity": {
                "value": 1.0
            },
            "sequence": 4,
            "unitPrice": {
                "value": 21000.0
            }
        },
        {
            "category": {
                "text": "service"
            },
            "extension": [
                {
                    "url": "ActivityDefinition",
                    "valueReference": {
                        "reference": "ActivityDefinition/9dc0a4d1-ba32-437e-84ab-fae2ae4e409e"
                    "value": "CID00001"}
         }     ],  }
  "item": [         {],
            "categoryproductOrService": {
                "text": "itemM3"
            },
            "extensionquantity": [{
                "value": 1.0
    {        },
            "urlsequence": "Medication",5,
            "unitPrice": {
                "valueReferencevalue": {21000.0
            }
        },
  "reference": "Medication/c0e1e1d7-0b54-44df-b414-e7bc03b6f748"     {
            "category": {
 }               "text": "service"
}             ]},
            "productOrServiceextension": {[
                "text": "0182"{
            },        "url": "ActivityDefinition",
   "quantity": {
                "valuevalueReference": 2.0{
            },            "reference": "sequence": 1,ActivityDefinition/da2bf3a0-f3b1-45dc-95fa-7221e38b9a52"
              "unitPrice": {     }
           "value": 10.0    }
        }    ],
    },        "productOrService": {
                "categorytext": {"M6"
            },
    "text": "service"       "quantity": {
    },             "extensionvalue": [1.0
            },
   {         "sequence": 6,
            "urlunitPrice": "ActivityDefinition",
{
                   "valueReferencevalue": {21000.0
            }
        },
  "reference": "ActivityDefinition/9eb619fc-5fe3-4628-8cc8-c6754db04f30"      {
            "category": {
}                 }"text": "service"
            ]},
            "productOrServiceextension": {[
                "text": "A1"{
             },          "url": "ActivityDefinition",
  "quantity": {                 "valuevalueReference": 1.0{
            },             "sequencereference": 2,
            "unitPrice": {"ActivityDefinition/49582fea-ac71-4116-b673-1742215984cc"
                  "value": 400.0 }
           }     }
   },         {],
            "categoryproductOrService": {
                "text": "serviceM2"
            },
            "extensionquantity": [{
                {
"value": 1.0
            },
      "url": "ActivityDefinition",     "sequence": 7,
              "valueReferenceunitPrice": {
                "value": 21000.0
      "reference": "ActivityDefinition/1976d413-7725-4d90-aa9f-7f80e7376743"     }
        }
    ],
 }   "patient": {
        "reference": "Patient/F2EC72C9-7489-45AA-95C5-30D79216E74F"
    },
    "supportingInfo": [
      ],  {
            "productOrServicecategory": {
                "text": "I113guarantee_id"
            },
            "quantitysequence": {
           1,
    "value": 1.0         "valueString": "sdasdasd"
   },     },
       "sequence": 3, {
            "unitPricecategory": {
                "valuetext": 1250.0"explanation"
            },
        }    "sequence": ]2,
    "patient": {
        "referencevalueString": "Patient/1D464C09-5334-407F-9882-14C097B89BBDasdasdasd"
        }
    ],
    "total": {
        "value": 167087000.0
    },
    "type": {
        "text": "OE"
    }
}