CarePlan resource types as trigger

43 views
Skip to first unread message

Tanvir Ahamed

unread,
Apr 21, 2024, 8:56:24 PM4/21/24
to CDS Hooks
Hi ALL,

I am trying to evaluate CDS Hooks utility for a specific purpose described below. 

When certain resource types (e.g., Condition and ServiceRequest in the CarePlan pasted below) are added in a CarePlan, can CDS Hooks be utilized as triggers to contact a CDSS exposed via a RESTFul API. 

Absolute URL: 

CarePlan in JSON format:
{
    "resourceType": "CarePlan",
    "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p> A care plan that obtains actionable recommendations from a CDSS. Stage 1 Wf Vision Steps 1-3. </p>\n </div>"
    },
    "contained": [{
            "resourceType": "Condition",
            "id": "ndx1",
            "clinicalStatus": {
                "coding": [{
                        "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                        "code": "active"
                    }
                ]
            },
            "code": {
                "coding": [{
                        "system": "http://snomed.info/sct",
                        "code": "1259140002",
                        "display": "Blood glucose level unstable"
                    }
                ],
                "text": "Blood glucose level unstable (finding)"
            },
            "subject": {
                "reference": "Patient?identifier=ur12345",
                "display": "Anahi a patient"
            }
        }, {
            "resourceType": "ServiceRequest",
            "id": "nint1",
            "status": "active",
            "intent": "order",
            "code": {
                "concept": {
                    "coding": [{
                            "system": "http://snomed.info/sct",
                            "code": "33747003",
                            "display": "Glucose measurement, blood"
                        }
                    ],
                    "text": "Glucose measurement, blood (procedure)"
                }
            },
            "subject": {
                "reference": "Patient?identifier=ur12345",
                "display": "Anahi a patient"
            },
            "supportingInfo": {
                "reference": "not individualized",
                "display": "Not individualized"
            }
        }
    ],
    "identifier": [{
            "value": "CP_ur12345"
        }
    ],
    "status": "active",
    "intent": "plan",
    "title": "A care plan that obtains actionable recommendations from a CDSS. Stage 1 Wf Vision Steps 1-3.",
    "subject": {
        "reference": "Patient?identifier=ur12345",
        "display": "Anahi a patient"
    },
    "custodian": {
        "reference": "Organization?identifier=hh001",
        "display": "Happy Hospital"
    },
    "addresses": [{
            "reference": {
                "reference": "#ndx1",
                "display": "Blood glucose level unstable"
            }
        }
    ],
    "activity": [{
            "plannedActivityReference": {
                "reference": "#nint1"
            }
        }
    ]
}

Any direction to this newbie would be highly appreciated.

Thank you,

Tanvir
Reply all
Reply to author
Forward
0 new messages