Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

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:

In "stu3_fhir_eligibility_config" field, fhir_serializer need to be set that determines the ElibilityRequest strategy. "EligibilityRequestSerializer" is a default fhir_serializer.

Endpoint specification:

Example of endpoint URL:

http://127.0.0.1:8000/api_fhir/EligibilityRequest/

Supported HTTP operation:

  • 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

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,

stu3_fhir_eligibility_config

configuration of system and codes used to represent the specific codes used by eligibility endpoint

"stu3_fhir_eligibility_config":{
"fhir_item_code":"item",
"fhir_service_code":"service",
"fhir_total_admissions_code":"total_admissions",
"fhir_total_visits_code":"total_visits",
"fhir_total_consultations_code":"total_consultations",
"fhir_total_surgeries_code":"total_surgeries",
"fhir_total_deliveries_code":"total_deliveries",
"fhir_total_antenatal_code":"total_antenatal",
"fhir_consultation_amount_code":"consultation_amount",
"fhir_surgery_amount_code":"surgery_amount",
"fhir_delivery_amount_code":"delivery_amount",
"fhir_hospitalization_amount_code":"hospitalization_amount",
"fhir_antenatal_amount_code":"antenatal_amount",
"fhir_service_left_code":"service_left",
"fhir_item_left_code":"item_left",
"fhir_is_item_ok_code":"is_item_ok",
"fhir_is_service_ok_code":"is_service_ok"
}

Example JSON representation of content:

{
    "resourceType": "EligibilityRequest",
    "patient": {
        "reference": "Patient/chfid"
    },
    "benefitCategory": {
    	"coding": [
                    {
                        "code": "service"
                    }
                ],
        "text": "service_code"
    },
    "benefitSubCategory": {
    	"coding": [
                    {
                        "code": "item"
                    }
                ],
        "text": "item_code"
    }
}

  • No labels