FHIR R4 Resource - Condition
openIMIS tables mapped - tblICDCodes
FHIR R4 field | OpenIMIS field | notes | mapping status |
---|---|---|---|
identifier | tblICDCodes.ICDID / tblICDCodes.ICDUUID / tblICDCodes.ICDCode | tblICDCodes doesn’t contains UUID identifier. This should be added in the next release. | mapped |
code.coding | tblICDCodes.ICDCode | Condition resource has a different field for code and is not part of the identifier. | mapped |
code.text | tblICDCodes.ICDName | The name of the diagnosis. | mapped |
recordedDate | tblICDCodes.ValidityFrom | date from when the diagnosis is valid. | mapped |
subject | reference.type = “Patient” | reference to Patient resource | only mapped to be able to create a database |
Endpoint specification:
Example of endpoint URL:
http://localhost:8000/api_fhir_R4r4/Condition
Supported HTTP operation:
POST - the operation currently not supported
Used to submit a condition. List of supported fields can be found in the table which shows the mapping between OpenIMIS and FHIR. The body as JSON representation.The response is:
OperationOutcome which notice about the failure (list of possible errors);
Condition which notice about the success (includes the generated IDs);
GET - by default return list of all available Conditions (diagnosis). To fetch information about a specific object you should add the Condition code to URL for instance:
http://localhost:8000/api_fhir_
R4r4/Condition/{ConditionCode}
PUT - the operation currently not supported
Used to update a Condition/diagnosis.DELETE - the operation currently not supported
Used to delete a Condition/diagnosis.
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":{ |
Example JSON representation of content:
| |||||