Cervical Cancer Screening CDS for OpenMRS
0.1.0 - ci-build
Cervical Cancer Screening CDS for OpenMRS, published by Hopena Health. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/dhes/cervical-cancer-cds/tree/main and changes regularly. See the Directory of published versions
http://<host>/openmrs/ws/fhir2/R4/)The following concepts must be present in the OpenMRS concept dictionary. Most are available in the standard CIEL distribution; those marked with an asterisk may need to be loaded from the Open Concept Lab.
| CIEL Code | Concept | Category |
|---|---|---|
| 703 | Positive | Result |
| 664 | Negative | Result |
| 170145 | HPV DNA detection | Screening test |
| 151185 | Cervical screening (VIA) | Triage test |
| 166706 | Thermocauterization of cervix | Treatment |
| 162812 | Cryosurgery of cervix | Treatment |
| 165084 | LEEP of cervix | Treatment |
| 138405 | HIV disease | Condition |
| 116023 | Malignant neoplasm of cervix uteri | Condition |
| 145809 | CIN 1 | Diagnosis |
| 145807 | CIN 2 | Diagnosis |
| 145806 | CIN 3 | Diagnosis |
Option 1: Client-side JavaScript (recommended for O3)
Use cql-execution with cql-exec-fhir in an OpenMRS O3 microfrontend. This runs entirely in the browser, fetching patient data from the local FHIR endpoint.
npm install cql-execution cql-exec-fhir
Option 2: Server-side CQF Ruler
Deploy CQF Ruler alongside
OpenMRS for server-side CQL evaluation via $apply operations on
PlanDefinition resources.
Load the Library and PlanDefinition resources into your FHIR server:
# Load Library resources
for lib in input/resources/library/*.json; do
curl -X POST -H "Content-Type: application/fhir+json" \
-d @"$lib" http://localhost/openmrs/ws/fhir2/R4/Library
done
# Load PlanDefinition resources
for pd in input/resources/plandefinition/*.json; do
curl -X POST -H "Content-Type: application/fhir+json" \
-d @"$pd" http://localhost/openmrs/ws/fhir2/R4/PlanDefinition
done