FHIR R4 Contract
The openIMIS Policy is mapped to the FHIR R4 Contract resource.Mapping
FHIR R4 Resource - Contract
Mapping
scope | Name | Type | Value / mapping |
---|---|---|---|
formal sector |
| type.coding.code “UUID“ Reference: Contract | UUID of contract |
informal sector |
| type.coding.code “UUID“ Reference: Contract | UUID of policy |
all |
| String | NEW = N => “Offered“, RENEWED = R => “Renewed“ |
formal sector (optional) |
| type.coding.code “UUID“ Reference: Person / Patient | user that approve |
formal sector (optional) |
| type.coding.code “UUID“ Reference: Person / Patient | PH user that submitted |
informal sector (mandatory) |
| type.coding.code “UUID“ Reference: Practitioner | value:EnrolmentOfficer UUID text (optional): EnrolmentOfficer |
informal sector (optional) |
| type.coding.code “UUID“ Reference: Patient | value:Head of Family UUID text (optional): HeadOfFamily |
all |
| String | STATUS_IDLE = 1 => “Offered“ STATUS_ACTIVE = 2 => “Executed“ STATUS_SUSPENDED = 4 => “Disputed“ STATUS_EXPIRED = 8 => “Terminated“ STATUS_READY = 16 => “Executable“ STATUS_CONTRACTED(Those are FS contract) |
1 |
| Array of:
Reference: Patient Reference.type.coding.code: “UUID“ | UUID of the Patient |
formal sector |
| identifier | Contract details UUID |
1 |
| Period | Policy Start / expiry |
1 |
| Period | Policy effective_start/ expiry |
Depreciated |
[OLD, should be replaced] | Array of: Type: InsuranceProduct Indentifiertype.coding.code: “UUID“
| UUID of the product |
1 |
| identifier.type.coding.code: “UUID“ type: “InsuranceProduct” | UUID of the product |
Formal sector |
| identifier | UUID of the contractcontributionplandetails |
future |
| Money | PolicyValue before discount |
future |
| decimal | discount if any |
all |
| Money | PolicyValue |
formal sector |
| string | Link to Coverage (policy) |
deprecated |
|
| Total of contract Policy value |
|
|
|
|
Endpoint specification
Example of endpoint URL
http://localhost:8000/api_fhir_r4/Contract/
Supported HTTP operation
READ - GET HTTP method
By default, returns the list of all available contract resources. To fetch information about a specific object, you should add the UUID (e.g.02EEC-436C-495F-862U2-6FF68644D751
) key to URL :
http://localhost:8000/api_fhir_r4/Contract/02EEC-436C-495F-862U2-6FF68644D751
Should be used the GET HTTP method.
PUT - the operation currently supported
Updates the value of the specific object. List of supported fields can be found in the mapping table. Should be used the PUT HTTP method and the body as JSON representation (example can be found below). The requested URL needs to point to a specific object to do that you should add the UUID (e.g. 02EEC-436C-495F-862U2-6FF68644D751
) key to URL for instance:
http://localhost:8000/api_fhir_r4/Contract/02EEC-436C-495F-862U2-6FF68644D751
DELETE - the operation currently not supported
The operation can be used to remove the specific object from the database. Should be used the DELETE HTTP method. The requested URL needs to point to a specific object to do that you should add the UUID (e.g. 02EEC-436C-495F-862U2-6FF68644D751
) key to URL for instance:
http://localhost:8000/api_fhir_r4/Contract/02EEC-436C-495F-862U2-6FF68644D751
The DELETE operation will permanently remove the row from the database.
Example
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/