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 7 Next »

List of content:

Description:

The FHIR CommunicationRequest endpoint can be used to fetch information about claim feedback. The resource used by the ComunicationResponse to provide information about feedback. More information can be found here: openIMIS tblClaim resource (FHIR Claim / ClaimResponse)

Notes / Assumptions:

  • The current version of an endpoint can be used only to fetching data

FHIR resources:

CommunicationRequestCommunicationRequest

Fields mapping:

Table legend:

ColorDescription

Mapped - the final choice, the most suitable choice

Need to be found the best place for the field (not mapped currently)

Currently not important - not mapped

CommunicationRequest mapping:

OpenIMIS fieldDB typeFHIR fieldNoteSTPHMapping status
FeedbackIDPKidentifierUnique identifier
This is the Database ID and should be used only internally
FeedbackUUIDuniqueidentifieridentifierThe unique identifier used as PK for FHIR
mapped
ClaimIDFK(tblClaim)-The ClaimResponse has relation to feedback object

CareRenderedbitreasonCode

mapped
PaymentAskedbitreasonCode

mapped
DrugPrescribedbitreasonCode

mapped
DrugReceivedbitreasonCode

mapped
AsessmenttinyintreasonCode

mapped
CHFOfficerCodeint



FeedbackDatedatetimeoccurrenceDateTime

mapped
ValidityFromdatetime



ValidityTodatetime



LegacyIDint



AuditUserIDint



Endpoint specification:

Example of endpoint URL:

http://127.0.0.1:8000/api_fhir/CommunicationRequest/

Supported HTTP operation:

  • CREATE - the operation currently not supported

  • READ - by default return list of all available resources. To fetch information about a specific object you should add the primary key to URL for instance:
    http://127.0.0.1:8000/api_fhir/Claim/{feedbackUUID}
    , where "{feedbackUUID}" is the value of the primary key . Should be used the GET HTTP method.
  • UPDATE - the operation currently not supported
  • DELETE - the operation currently not supported

Module configuration used by the endpoint: 

Configuration keyDescriptionDefault value
stu3_fhir_identifier_type_configconfiguration of system and codes used to represent the specific types of identifiers

"stu3_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",

},

stu3_fhir_communication_request_configconfiguration of system and codes used to represent the specific codes for IMIS feedback attributes"stu3_fhir_communication_request_config":{
  "fhir_care_rendered_code":"care_rendered",
  "fhir_payment_asked_code":"payment_asked",
  "fhir_drug_prescribed_code":"drug_prescribed",
  "fhir_drug_received_code":"drug_received",
  "fhir_asessment_code":"asessment"
}

Example JSON representation of content:

{
    "resourceType": "CommunicationRequest",
    "id": "F719B223-83A7-44A1-8F21-7B80E5B9FDD0",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "ACSN",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "F719B223-83A7-44A1-8F21-7B80E5B9FDD0"
        }
    ],
    "occurrenceDateTime": "2019-10-24T00:00:00",
    "reasonCode": [
        {
            "coding": [
                {
                    "code": "care_rendered"
                }
            ],
            "text": "False"
        },
        {
            "coding": [
                {
                    "code": "payment_asked"
                }
            ],
            "text": "True"
        },
        {
            "coding": [
                {
                    "code": "drug_prescribed"
                }
            ],
            "text": "True"
        },
        {
            "coding": [
                {
                    "code": "drug_received"
                }
            ],
            "text": "True"
        },
        {
            "coding": [
                {
                    "code": "asessment"
                }
            ],
            "text": "1"
        }
    ],
    "status": "unknown"
}
  • No labels