Versions Compared

Key

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

We highly recommend going through this page to understand different features available with SNOMED Integration before proceeding for the setup

This page contains the steps to setup SNOMED enabled integration of Bahmni with SNOMED Terminology Server over FHIR in local machine

...

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. Also CURL commands are added which can be used to create the ValuseSets by running them directly inside the snowstorm-lite container.

CURL Command that can be executed inside snoswtorm-lite container. Remember to replace password in the --user argument.

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
Code Block
languagebash
curl --location 'http://localhost:8080/fhir/ValueSet' --user admin:Admin123 -X POST --header 'Content-Type: application/json' --data '{
    "resourceType": "ValueSet",
    "url": "http://bahmni.org/fhir/ValueSet/bahmni-valueset-hospitalisationcovid",
    "version": "0.1",
    "name": "bahmni-valueset-hospitalisationcovid",
    "description": "Bahmni Valueset for HospitalisationCoVID",
    "status": "draft",
    "experimental": true,
    "compose": {
        "include": [
            {
                "system": "http://snomed.info/sct",
                "concept": [
                    {
                        "code": "7078520091240581000000104"
                    },
                    {
                        "code": "7078510021240591000000102"
                    }
                ]
            }
        ]
    }
}'
Expand
titlebahmni-valueset-hospitalisation
Code Block
{
    "resourceType": "ValueSet",
     }
        ]
    }
}
Expand
titlebahmni-valueset-symptoms
Code Block
languagejson
"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"
                    }
                ]
            }
        ]
    }
}

CURL Command that can be executed inside snoswtorm-lite container. Remember to replace password in the --user argument.

Code Block
languagebash
curl --location 'http://localhost:8080/fhir/ValueSet' --user admin:Admin123 -X POST --header 'Content-Type: application/json' --data '{
    "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"
                    }
                ]
            }
        ]
    }
}

CURL Command that can be executed inside snoswtorm-lite container. Remember to replace password in the --user argument.

Code Block
languagebash
curl --location 'http://localhost:8080/fhir/ValueSet' --user admin:Admin123 -X POST --header 'Content-Type: application/json' --data '{
    "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

...