FHIR JSON Validation API

Base Url

https://hidex-portal-uat.azurewebsites.net/

This endpoint allows the user to check if the FHIR JSON they are submitting meets the business requirements. The endpoint accepts the JSON in the request body for validation and returns a list of fhir element name and the corresponding error message if the element fails said validation.

Below is the list of Resources that the tool supports:

Request Body Body Type
Patient Fhir JSON
Observation - Smoking Status Fhir JSON
Encounter Fhir JSON
Condition - Womens Health History Fhir JSON
Condition - Diagnosis Fhir JSON
Coverage Fhir JSON
Bundle Fhir JSON

Syntax: POST [Base Url]/Validation

Sample Request Body (Encounter)

        {
            "resourceType": "Encounter",
            "id": "160785--6648.51",
            "extension": [{
                "url": "https://fhirtest.netsmartcloud.com/v4/StructureDefinition/encounter-hospitalServiceReference",
                "valueReference": {
                    "id": "LE11800"
                }
            }],
            "status": "arrived",
            "class": {
                "system": "44",
                "code": "1"
            },
            "subject": {
                "id": "160785"
            },
            "participant": [{
                "individual": {
                    "id": "002683"
                }
            }],
            "period": {
                "start": "2023-01-11T13:48:00+00:00"
            }
        }