FHIR Resource - EligibilityRequest
OpenIMIS table - EligibilityRequest
FHIR field | OpenIMIS field | notes | mapping status |
---|---|---|---|
patient | CHFID | mapped | |
benefitCategory | ServiceCode | mapped | |
benefitSubCategory | ItemCode | mapped |
EligibilityRequest strategy change is mapped depending on the configuration set in openimis-be-api_fhir_py/api_fhir/apps.py file
:
|
In "stu3_fhir_eligibility_config" field, fhir_serializer need to be set that determines the ElibilityRequest strategy.
"EligibilityRequestSerializer" is a default fhir_serializer.
http://127.0.0.1:8000/api_fhir/EligibilityRequest/
CREATE - used to request EligibilityService
. The FHIR representation is converted to OpenIMIS python EligibilityRequest
(link) which is used by the EligibilityService
(link). List of supported fields can be found in the table which shows the mapping between OpenIMIS and FHIR. Should be used the POST HTTP method and the body as JSON representation (example can be found below).
Note:
The EligibilityService
is used to process the request (link).
The FHIR EligibilityResponse
will be returned as the outcome.. Example of the outcome can be found below.
READ - the operation currently not supported
UPDATE - the operation currently not supported
DELETE - the operation currently not supported
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, |
stu3_fhir_eligibility_config | configuration of system and codes used to represent the specific codes used by eligibility endpoint | "stu3_fhir_eligibility_config":{ |
|