FHIR R4 - Claim
FHIR R4 Resource - Claim
openIMIS tables mapped - tblClaim , tblClaimItems , tblClaimServices
FHIR R4 field | openIMIS field | notes | mapping status |
---|---|---|---|
tblClaim.ClaimID / tblClaim.ClaimUUID / tblClaim.ClaimCode | Claim can have multiple identifiers. The most important one is mapped from ClaimUUID. | mapped | |
one of [entered, checked, reviewed, valuated] based on tblClaim.ClaimStatus | entered state by default |
| |
tblClaim.InsureeUUID | reference to Patient resource | mapped - mandatory | |
tblClaim.DateFrom / tblClaim.DateTo | DateFrom and DateTo are mapped to a period of time between them | mapped - mandatory | |
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 |
tblClaim.Claimed | mapped as Money data type | mapped - mandatory | |
tblClaim.DateClaimed |
| mapped - mandatory | |
supportingInfo | tblClaim.Explanation / tblClaim.GuaranteeId / tblClaimItems.Availability / tblClaimItems.Explanation / tblClaimServices.Explanation | information category is distinguishing the type of information | mapped |
ClaimAttachment |
| ||
tblClaim.HFID | reference to HealthcareService resource | mapped - mandatory | |
tblClaim.ClaimAdminId | reference to Practitioner resource | mapped | |
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 | 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 |
provider | tblClaimAdmin.ClaimAdminUUID | reference to PractitionerRole resource | mapped for db tool reason |
priority | code = “normal” | CodeableConcept | mapped for db tool reason |
use | “claim” |
| mapped for db tool reason |
status | “active” |
| mapped for db tool reason |
claim.insurance.focal | True |
| mapped for db tool reason |
claim.insurance.sequence | 0 |
| mapped for db tool reason |
claim.insurance.coverage | tblPolicy.PolicyUUID | reference to Coverage resource | mapped for db tool reason |
Endpoint specification:
Example of endpoint URL:
http://localhost:8000/api_fhir_r4/Claim/
Supported HTTP operation:
POST - used to submit a new claim. List of supported fields can be found in the table which shows the mapping between openIMIS and FHIR and the body has JSON representation (example can be found below).
The response is:OperationOutcome which notice about the failure (list of possible errors);
ClaimResponse which notice about the success.
GET - by default return list of all available resources. To fetch information about a specific object you should add the Claim UUID to URL for instance:
http://localhost:8000/api_fhir_r4/Claim/{ClaimUUID}PUT - the operation currently not supported
DELETE - the operation currently not supported
Module configuration used by the endpoint:
Configuration key | Description | Default value |
---|---|---|
default_audit_user_id | default value which will be used for 'audit_user_id' field | "default_audit_user_id": 1, |
R4_fhir_identifier_type_config | configuration of system and codes used to represent the specific types of identifiers | "R4_fhir_identifier_type_config":{ |
R4_fhir_issue_type_config | configuration of system and codes used to represent the specific types of operation outcome | "R4_fhir_issue_type_config":{ |
R4_fhir_claim_config | configuration of system and codes used to represent the specific types of claim codes | "R4_fhir_claim_config":{ |
Claim Attachments
The following mapping is considered:
FHIR Field | openIMIS Field | Description |
---|---|---|
| One element for each attachment. | |
|
| |
| The content of the attachment. | |
ClaimAttachment.mime | The document mime type (e.g. | |
ClaimAttachment.document | The attachment content data as base64. Not available for GET ALL Claims. | |
N/A | Only for POST Claim. SHA-1 hash value of the data as base64 to validate the data. If missing, data is not validated. | |
ClaimAttachment.filename | Filename | |
ClaimAttachment.date | Date attachment was created. If missing, current date and time. |
Example JSON representation of content
As in the other resources there is an error and therefore this file is shown.
Did you encounter a problem or do you have a suggestion?
Please contact our Service Desk
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. https://creativecommons.org/licenses/by-sa/4.0/