IHTSDO / snomed-fhir-cds-service

A demo Clinical Decision Support service using FHIR (R4) and SNOMED CT to drive clinical decision support rules.
Other
2 stars 1 forks source link

Adding reference medication, condition info to CDS alert response #2

Closed sivareddyp closed 1 year ago

sivareddyp commented 1 year ago

JIRA - https://bahmni.atlassian.net/browse/BS-209

Summary

Sample response

[
    {
        "uuid": "7b544b67-fbc7-48af-af95-ddaee09e836b",
        "indicator": "warning",
        "summary": "Contraindication: \"Atorvastatin 20 mg\" with patient condition \"Large liver\".",
        "detail": "The use of Atorvastatin is contraindicated when the patient has Disease of liver.",
        "source": {
            "label": "Wikipedia",
            "url": "https://en.wikipedia.org/wiki/Atorvastatin#Contraindications"
        },
        "referenceMedication": {
            "coding": [
                {
                    "system": "http://snomed.info/sct",
                    "code": "108600003"
                }
            ]
        },
        "referenceCondition": {
            "coding": [
                {
                    "code": "7da7838f-e18f-40d9-8218-c1ea9910879c",
                    "display": "Large liver"
                },
                {
                    "system": "http://snomed.info/sct",
                    "code": "80515008",
                    "display": "Large liver"
                }
            ]
        }
    }
]