...
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:
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)
Theresponse 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":{ }, |
R4_fhir_issue_type_config | configuration of system and codes used to represent the specific types of operation outcome | "R4_fhir_issue_type_config":{ |
R4_fhir_claim_config | configuration of system and codes used to represent the specific types of claim codes | "R4_fhir_claim_config":{ |
Example JSON representation of content:
...