FHIR R4 - Coverage
FHIR R4 Resource - Coverage
OpenIMIS table - tblPolicy
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
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/