Datasets:
AutoOntologyBench / source_data /pinned /smart-anc /commit-301a6b8b9043 /input /pagecontent /quick-start.xml
Download source_data/pinned/smart-anc/commit-301a6b8b9043/input/pagecontent/quick-start.xml from Vinyeh/AutoOntologyBench: direct link, hf CLI and curl.
- Browser
- Download file 5.47 kB
-
https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/main/source_data/pinned/smart-anc/commit-301a6b8b9043/input/pagecontent/quick-start.xml
- Command line
-
hf download hf://datasets/Vinyeh/AutoOntologyBench/source_data/pinned/smart-anc/commit-301a6b8b9043/input/pagecontent/quick-start.xml
-
curl -L -o quick-start.xml https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/main/source_data/pinned/smart-anc/commit-301a6b8b9043/input/pagecontent/quick-start.xml
5.47 kB
| <div xmlns="http://www.w3.org/1999/xhtml" > | |
| <a name="quick-start"> </a> | |
| <h3>WHO Antenatal Care Guideline - Quick Start</h3> | |
| <p>This section provides a quick start guide to getting up and running quickly with the Clinical Quality Framework reference | |
| implementation. This quick start focuses on the decision logic associated with the "Quick Check" activity, step 5 of the Routine | |
| Contact.</p> | |
| <a name="approach"> </a> | |
| <h3>Overall Approach</h3> | |
| <p>This quick start will focus on standing up an instance of Clinical Quality Framework reference | |
| implementation that can run the guidance artifacts published in this implementation guide.</p> | |
| <a name="api-request-and-response-http-client"> </a> | |
| <h3>API Requests/Responses Via HTTP Client</h3> | |
| <p>Throughout the Quick Start you will be required to upload/retrieve data and initiate execution of the | |
| recommendations via HTTP requests. Requests can be submitted via any tool or client that allows you | |
| to interact with an HTTP API. One popular client is Postman, available | |
| <a href="https://www.getpostman.com" target="_blank">here</a>. | |
| Postman is an application that provides a user-friendly GUI for constructing and submitting HTTP | |
| requests to APIs and viewing responses in an easy-to-read format. | |
| </p> | |
| <a name="service"> </a> | |
| <h3>FHIR Clinical Reasoning Service</h3> | |
| <p>The first step is to stand up an instance of the CQF Ruler, a reference implementation of the FHIR | |
| Clinical Reasoning module. Follow the instructions on the | |
| <a href="https://github.com/DBCG/cqf-ruler/wiki/Deployment" target="_blank">Deployment</a> page | |
| of the CQF Ruler wiki to start a local CQF Ruler service.</p> | |
| <p>This service is a HAPI FHIR Server with some additional plug-ins to support the Clinical Reasoning module. To verify | |
| the service is running, issue a couple basic queries:</p> | |
| <div class="example"> | |
| <pre class="http"> | |
| GET http://localhost:8080/cqf-ruler-r4/fhir/Library | |
| GET http://localhost:8080/cqf-ruler-r4/fhir/PlanDefinition | |
| </pre> | |
| </div> | |
| <p>For a newly instantiated CQF Ruler, both of these queries should return 0 results, indicating there is no content | |
| currently loaded.</p> | |
| <a name="content-load"> </a> | |
| <h3>Loading Content</h3> | |
| <p>The next step is to load the content, i.e., the artifacts published in this implementation guide that | |
| define the recommendations. For convenience, the resources for the decision table have all been | |
| added to a plandefinition-dt-01-bundle transaction bundle that can be POSTed to the base URL of the server:</p> | |
| <table class="list"> | |
| <thead> | |
| <tr><th>Resource</th><th>Type</th><th>Description</th></tr> | |
| </thead> | |
| <tbody> | |
| <tr><td><a href="https://raw.githubusercontent.com/WorldHealthOrganization/smart-anc/master/bundles/plandefinition/ANCDT01/ANCDT01-bundle.json">ANCDT-01-bundle</a></td><td>Bundle</td><td>The PlanDefinition and associated dependencies for Decision Table 01 - Danger Signs</td></tr> | |
| </tbody> | |
| </table> | |
| <p>The bundle includes:</p> | |
| <ul> | |
| <li>PlanDefinition DT01 - The Event-Condition-Action rule that associates the decision logic for Danger Signs to the Quick Check activity</li> | |
| <li>Library DT01 - The logic for evaluating the criteria of the decision</li> | |
| <li>Library ANCCommon - ANC common functions</li> | |
| <li>Library ANCConcepts - Concept dictionary for the ANC content</li> | |
| <li>Library ANCDataElements - Expressions for referencing data elements throughout ANC content</li> | |
| <li>Library ANCContactDataElements - Expressions for referencing data elements from the perspective of an encounter</li> | |
| <li>ValueSets - Vocabulary resources used by the decision logic</li> | |
| <li>Test Data - Test resources for the "charity-with-danger-signs" test patient, which should evaluate to Referral for Central Cyanosis</li> | |
| </ul> | |
| <div class="example"> | |
| <pre class="http"> | |
| POST http://localhost:8080/cqf-ruler-r4/fhir | |
| </pre> | |
| </div> | |
| <p>Following normal FHIR server transaction processing, this will post all the content resources as | |
| a single transaction.</p> | |
| <a name="request-and-response"> </a> | |
| <h3>Request and Response</h3> | |
| <p>Now that the content is loaded, you can apply the PlanDefinition for the DT.01 - Danger Signs via the $apply operation | |
| and will receive a CarePlan resource in response. | |
| For example, POST the following to apply the DT.01 PlanDefinition for the Patient with id 'charity-with-danger-signs':</p> | |
| <div class="example"> | |
| <pre class="http"> | |
| POST http://localhost:8080/cqf-ruler-r4/fhir/PlanDefinition/DT01/$apply?patient=charity-with-danger-signs | |
| </pre> | |
| </div> | |
| <p>This POST results in the following response:</p> | |
| <div class="example"> | |
| <pre class="xml"> | |
| <CarePlan xmlns="http://hl7.org/fhir"> | |
| <id value="charity-with-danger-signs"/> | |
| <instantiatesCanonical value="http://smart.who.int/anc/PlanDefinition/DT01"/> | |
| <status value="active"/> | |
| <intent value="plan"/> | |
| <subject> | |
| <reference value="Patient/charity-with-danger-signs"/> | |
| <display value="Charity Otala"/> | |
| </subject> | |
| <activity> | |
| <description value="If no danger signs are present, the health worker can continue with the normal ANC contact"/> | |
| </activity> | |
| </CarePlan> | |
| </pre> | |
| </div> | |
| </div> | |