FHIR R4 - Coverage

FHIR R4 Resource - Coverage

OpenIMIS table - tblPolicy

FHIR R4 field

OpenIMIS field

notes

mapping status

FHIR R4 field

OpenIMIS field

notes

mapping status

Identifier

PolicyID / PolicyUUID

 

mapped

policyHolder

FamilyID

 

mapped

period

StartDate / ExpiryDate

start date and expiry date are mapped to a period of time between them

mapped

status

PolicyStatus

 

mapped

contract.term.asset.valuedItem.net

PolicyValue

contract.valuedItem is now defined as contract.term.asset.valuedItem

mapped

class

ProdID

renamed from grouping to class

mapped

contract.term.offer.party

OfficerID

contract.agent is now defined as contract.term.offer.party

mapped

Endpoint specification:

Example of endpoint URL:

http://localhost:8000/api_fhir_r4/Coverage/

Supported HTTP operation:

  • POST - used to submit a new coverage. List of supported fields can be found in the table above 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);

    • Coverge created object 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 coverage UUID to URL for instance:
    http://localhost:8000/api_fhir_r4/Coverage/{CovergaeUUID}

  • PUT - the operation currently is supported to update fields in the database

  • DELETE - the operation currently not supported

Example JSON representation of content

 

{ "resourceType": "Coverage", "identifier": [ { "type": { "coding": [ { "code": "UUID" } ] }, "use": "usual", "value": "A3DF066B-3E23-429A-92AD-CD1EF46DAA2F" } ], "period": { "end": "2020-08-19", "start": "2019-08-20" }, "policyHolder": { "reference": "FamilyReference/72C8C4FC-EBB2-44E3-B3C5-557E53F443F7" }, "classes":[ { "type": { "coding": [ { "code": "Product", "system": "https://hl7.org/fhir/valueset-identifier-type.html" } ] }, "id":"9AD6E81D-CE42-43BA-AA2E-4EC3978352E8", "name":"Basic Cover Ultha", "value": "10000" } ], "status": "active" }

 

 

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/