Versions Compared

Key

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

...

  1. To upload procedures in Bahmni, please follow steps mentioned here

Creation of Custom ValueSets:

In some cases, there could be a need to create a custom ValueSet for a curated set of answers for a concept when designing a form. Snowstorm APIs allows creation and management of ValueSets using REST APIs. Postman Collection can be found here.

As an example, the SNOMED CoVID form shipped out-of-the-box in config needs three custom ValueSets to be manually created. http://bahmni.org/fhir/ValueSet/bahmni-valueset-covid,http://bahmni.org/fhir/ValueSet/bahmni-valueset-hospitalisation,http://bahmni.org/fhir/ValueSet/bahmni-valueset-symptoms. A POST request needs to be made to https://<SNOWSTORM_URL>/fhir/ValueSet with the Payload below to create the ValueSets.

Expand
titlebahmni-valueset-covid
Code Block
languagejson
{
    "resourceType": "ValueSet",
    "url": "http://bahmni.org/fhir/ValueSet/bahmni-valueset-covid",
    "version": "0.1",
    "name": "bahmni-valueset-covid",
    "description": "Bahmni Valueset for CoVID",
    "status": "draft",
    "experimental": true,
    "compose": {
        "include": [
            {
                "system": "http://snomed.info/sct",
                "concept": [
                    {
                        "code": "1240581000000104"
                    },
                    {
                        "code": "1240591000000102"
                    }
                ]
            }
        ]
    }
}
Expand
titlebahmni-valueset-hospitalisation
Code Block
{
    "resourceType": "ValueSet",
    "url": "http://bahmni.org/fhir/ValueSet/bahmni-valueset-hospitalisation",
    "version": "0.1",
    "name": "bahmni-valueset-hospitalisation",
    "description": "Bahmni Valueset for Hospitalisation",
    "status": "draft",
    "experimental": true,
    "compose": {
        "include": [
            {
                "system": "http://snomed.info/sct",
                "concept": [
                    {
                        "code": "707852009"
                    },
                    {
                        "code": "707851002"
                    }
                ]
            }
        ]
    }
}
Expand
titlebahmni-valueset-symptoms
Code Block
languagejson
{
    "resourceType": "ValueSet",
    "url": "http://bahmni.org/fhir/ValueSet/bahmni-valueset-symptoms",
    "version": "0.1",
    "name": "bahmni-valueset-symptoms",
    "description": "Bahmni Valueset for Covid Symptoms",
    "status": "draft",
    "experimental": true,
    "compose": {
        "include": [
            {
                "system": "http://snomed.info/sct",
                "concept": [
                    {
                        "code": "84387000"
                    },
                    {
                        "code": "82272006"
                    },
                    {
                        "code": "38666106"
                    },
                    {
                        "code": "79890006"
                    },
                    {
                        "code": "44169009"
                    },
                    {
                        "code": "36955009"
                    },
                    {
                        "code": "162397003"
                    },
                    {
                        "code": "29857009"
                    },
                    {
                        "code": "21522001"
                    },
                    {
                        "code": "131148009"
                    },
                    {
                        "code": "49727002"
                    },
                    {
                        "code": "84229001"
                    },
                    {
                        "code": "25064002"
                    }
                ]
            }
        ]
    }
}

Known Issues with SNOMED CLINIC CONFIGURATION

...