Introduction
CDS Hooks is a technology from SMART on FHIR that allows third-party CDS systems to register with an EHR using a "hook" pattern. The third-party CDS system is able to provide the EHR with information in the form of "cards" that the EHR may use to show the end-user or otherwise interweave into the workflow. The HSPC Bilirubin system is able to use CDS Hooks to alert the EHR of babies that are at risk of Kernicterus.
Links
Example using the HSPC Bilirubin System
Preconditions
- Patient and Observation data must be loaded into the EHR
- See datapack dstu2/usecases/cds-hooks.fhir-bundle.xml
- Birthdays must be for one day prior to the current date
- Observation effective date must be the same as the current date
SMART on FHIR Test Harness
- Launch the SMART on FHIR Test Harness at http://hooks.fhir.me/
- Enable the Bilirubin Patient View hook (hint: search for "bilirubin", select "Configure Hooks" again to close)
- Select "Patient View". This represents an EHR patient view screen "action"
- Observe the default patient (not a baby) sees no Bilirubin Card
- Select "Change Patient" and enter value of "ID-BabyWithoutBilirubinObservation"
- Observe a Bilirubin card is returned to the EHR stating that the baby has no bilirubin observations
- Select "Change Patient" and enter the value of "ID-BabyWithBilirubinObservation"
- Observe a Bilirubin card is returned to the EHR stating that the baby has a bilirubin level that exceeds thresholds.