Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Supported HTTP operation:

  • CREATE POST - used to submitting the claim. The FHIR claim representation is converted to python ClaimSubmit (https://github.com/openimis/openimis-be-claim_py/blob/master/claim/services.py#L38 ) which is used by the python claim servicesubmit a new claim. 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 has JSON representation (example can be found below).Note:
    The

    claim service is used to process the request (https://github.com/openimis/openimis-be-claim_py/blob/master/claim/services.py#L146 ).The response is (example of the outcome can be found below)

    response is:

    • OperationOutcome which notice about the failure (list of possible errors);

    • ClaimResponse which notice about the success.

  • READ GET - by default return list of all available resources. To fetch information about a specific object you should add the primary key Claim UUID to URL for instance:
    http://localhost:8000/api_fhir_R4/Claim/{claimcode}
    , where "{claimcode}" is the value of the primary key (claim code in case of that resource). Should be used the GET HTTP method.ClaimUUID}

  • 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,

R4_fhir_identifier_type_config

configuration of system and codes used to represent the specific types of identifiers

"R4_fhir_identifier_type_config":{
"system":"https://hl7.org/fhir/valueset-identifier-type.html",
"fhir_code_for_imis_db_id_type":"ACSN",
"fhir_code_for_imis_chfid_type":"SB",
"fhir_code_for_imis_passport_type":"PPN",
"fhir_code_for_imis_facility_id_type":"FI",
"fhir_code_for_imis_claim_admin_code_type":"FILL",
"fhir_code_for_imis_claim_code_type":"MR",

},

R4_fhir_issue_type_config

configuration of system and codes used to represent the specific types of operation outcome

"R4_fhir_issue_type_config":{
"fhir_code_for_exception":"exception",
"fhir_code_for_not_found":"not-found",
"fhir_code_for_informational":"informational"
},

R4_fhir_claim_config

configuration of system and codes used to represent the specific types of claim codes

"R4_fhir_claim_config":{
"fhir_claim_information_guarantee_id_code":"guarantee_id",
"fhir_claim_information_explanation_code":"explanation",
"fhir_claim_item_explanation_code":"item_explanation",
"fhir_claim_item_code":"item",
"fhir_claim_service_code":"service",
"fhir_claim_status_rejected_code":"rejected",
"fhir_claim_status_entered_code":"entered",
"fhir_claim_status_checked_code":"checked",
"fhir_claim_status_processed_code":"processed",
"fhir_claim_status_valuated_code":"valuated",
"fhir_claim_item_status_code":"claim_item_status",
"fhir_claim_item_status_passed_code":"passed",
"fhir_claim_item_status_rejected_code":"rejected",
"fhir_claim_item_general_adjudication_code":"general",
"fhir_claim_item_rejected_reason_adjudication_code":"rejected_reason",
},

Example JSON representation of content:

...