Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smart hiv implementation Guide to FHIR SDK #1

Merged
merged 3 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add smart hiv implementation Guide to FHIR SDK
  • Loading branch information
abertnamanya committed May 30, 2024
commit 1ec93edcf95dbdea66d7b336864c05a9a1048786
81 changes: 81 additions & 0 deletions workflow-testing/src/main/resources/hiv-cds/Measure-HIVIND19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"resourceType": "Measure",
"id": "HIVIND19",
"description": "Number of HIV tests performed (volume) and the % of HIV-positive results returned to people (positivity)",
"url": "http:https://smart.who.int/smart-hiv/Measure/HIVIND19",
"version": "0.3.0",
"status": "draft",
"experimental": false,
"date": "2024-05-29",
"name": "HIVIND19",
"publisher": "World Health Organization (WHO)",
"library": [
"hivind19|0.3.0"
],
"scoring": {
"coding": [
{
"code": "proportion",
"system": "http:https://terminology.hl7.org/CodeSystem/measure-scoring",
"display": "Proportion"
}
]
},
"group": [
{
"population": [
{
"id": "HIVIND19.InitialPopulation",
"description": "Initial Population",
"code": {
"coding": [
{
"code": "initial-population",
"system": "http:https://terminology.hl7.org/CodeSystem/measure-population",
"display": "Initial Population"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "denominator"
}
},
{
"id": "HIVIND19.Denominator",
"description": "Denominator",
"code": {
"coding": [
{
"code": "denominator",
"system": "http:https://terminology.hl7.org/CodeSystem/measure-population",
"display": "Denominator"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "denominator"
}
},
{
"id": "HIVIND19.Numerator",
"description": "Numerator",
"code": {
"coding": [
{
"code": "numerator",
"system": "http:https://terminology.hl7.org/CodeSystem/measure-population",
"display": "Numerator"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "numerator"
}
}
]
}
]
}
123 changes: 123 additions & 0 deletions workflow-testing/src/main/resources/hiv-cds/library-hivind19.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/CodeSystem-concept-codes.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/ConceptMap-ICD-10.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/ConceptMap-ICD-11.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/ConceptMap-ICF.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/ConceptMap-ICHI.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/ConceptMap-LOINC.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-fhircommon.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-fhirhelpers.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivb2dt.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivb7dt.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivind18.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivind19.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivind20.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivind27.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivind28.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-hivind30.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/Library-whocommon.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/PlanDefinition-HIVB2DT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"resourceType":"PlanDefinition","id":"HIVB2DT","text":{"status":"generated","div":"<div xmlns=\"http:https://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: PlanDefinition </b><a name=\"HIVB2DT\"> </a><a name=\"hcHIVB2DT\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">ResourcePlanDefinition &quot;HIVB2DT&quot; </p></div><p><b>url</b>: <code>http:https://fhir.org/guides/who/anc-cds/PlanDefinition/HIVB2DT</code></p><p><b>identifier</b>: HIV.B2.DT\u00a0(use:\u00a0official)</p><p><b>version</b>: 0.3.0</p><p><b>name</b>: HIVB2DT</p><p><b>title</b>: HIV.B2.DT</p><p><b>type</b>: ECA Rule <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http:https://terminology.hl7.org/5.5.0/CodeSystem-plan-definition-type.html\">PlanDefinitionType</a>#eca-rule)</span></p><p><b>status</b>: active</p><p><b>experimental</b>: false</p><p><b>date</b>: 2024-03-26 13:56:57+0300</p><p><b>publisher</b>: World Health Organization (WHO) </p><p><b>contact</b>: <a href=\"https://www.who.int\">https://www.who.int</a></p><p><b>description</b>: Check for signs of serious illness</p><h3>UseContexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>Workflow Task (Details: UsageContextType code task = ' Workflow Task ', stated as ' Workflow Task ')</td><td>Check for signs of serious illness, HIV.D3 Check for signs of serious illness <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (activity-codes#HIV.B2)</span></td></tr></table><p><b>jurisdiction</b>: Global (Whole world) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><p><b>library</b>: <a href=\"http:https://fhir.org/guides/who/anc-cds/Library/HIVB2DT\">http:https://fhir.org/guides/who/anc-cds/Library/HIVB2DT</a></p><blockquote><p><b>action</b></p><p><b>title</b>: HIV.B2.DT</p><h3>Triggers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Name</b></td></tr><tr><td style=\"display: none\">*</td><td>named-event</td><td>HIV.B2 Check for signs of serious illness, HIV.D3 Check for signs of serious illness</td></tr></table><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>1</blockquote><p><b>title</b>: Immediately take action or refer for care if a client is having this issue.</p><p><b>description</b>: Immediately take action or refer for care if a client is having this issue.</p><blockquote><p><b>documentation</b></p></blockquote><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>action</b></p></blockquote><blockquote><p><b>action</b></p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>2</blockquote><p><b>title</b>: Immediately take action or refer for care if client is showing this sign of a serious illness.</p><p><b>description</b>: Immediately take action or refer for care if client is showing this sign of a serious illness.</p><blockquote><p><b>documentation</b></p></blockquote><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>action</b></p></blockquote><blockquote><p><b>action</b></p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>3</blockquote><p><b>title</b>: Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. </p><p><b>description</b>: Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. </p><blockquote><p><b>documentation</b></p></blockquote><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>action</b></p></blockquote><blockquote><p><b>action</b></p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>4</blockquote><p><b>title</b>: Immediately take action or refer for care if client is showing this sign of a serious illness.</p><p><b>description</b>: Immediately take action or refer for care if client is showing this sign of a serious illness. 2</p><blockquote><p><b>documentation</b></p></blockquote><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>action</b></p></blockquote><blockquote><p><b>action</b></p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>5</blockquote><p><b>title</b>: Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. </p><p><b>description</b>: Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. 2</p><blockquote><p><b>documentation</b></p></blockquote><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>action</b></p></blockquote><blockquote><p><b>action</b></p></blockquote></blockquote></blockquote></div>"},"url":"http:https://fhir.org/guides/who/anc-cds/PlanDefinition/HIVB2DT","identifier":[{"use":"official","value":"HIV.B2.DT"}],"version":"0.3.0","name":"HIVB2DT","title":"HIV.B2.DT","type":{"coding":[{"system":"http:https://terminology.hl7.org/CodeSystem/plan-definition-type","code":"eca-rule"}]},"status":"active","experimental":false,"date":"2024-03-26T13:56:57+03:00","publisher":"World Health Organization (WHO) ","contact":[{"telecom":[{"system":"url","value":"https://www.who.int"}]}],"description":"Check for signs of serious illness","useContext":[{"code":{"system":"http:https://terminology.hl7.org/CodeSystem/usage-context-type","code":"task","display":"Workflow Task"},"valueCodeableConcept":{"coding":[{"system":"http:https://fhir.org/guides/who/anc-cds/CodeSystem/activity-codes","code":"HIV.B2","display":"Check for signs of serious illness, HIV.D3 Check for signs of serious illness"}]}}],"jurisdiction":[{"coding":[{"system":"http:https://unstats.un.org/unsd/methods/m49/m49.htm","code":"001"}]}],"library":["http:https://fhir.org/guides/who/anc-cds/Library/HIVB2DT"],"action":[{"title":"HIV.B2.DT","trigger":[{"type":"named-event","name":"HIV.B2 Check for signs of serious illness, HIV.D3 Check for signs of serious illness"}],"action":[{"id":"1","title":"Immediately take action or refer for care if a client is having this issue.","description":"Immediately take action or refer for care if a client is having this issue.","documentation":[{"type":"citation","label":"Consolidated guidelines on HIV prevention, testing, treatment, service delivery and monitoring: recommendations for a public health approach (2021) Chapter 5: Advanced HIV Disease. Figure 5.1: Algorithm for providing a package of care for people with advanced HIV disease. "}],"condition":[{"kind":"applicability","expression":{"description":"(HIV.B2.DT.01)\n AND ( \"Age\" ≥ 10 years)\n AND (\"Signs of serious illness\"='Tachycardia')\n AND (-)","language":"text/cql-identifier","expression":"Should Immediately take action or refer for care if a client is having this issue."}}],"action":[{"title":"Immediately take action or refer for care if a client is having this issue."},{"title":"Immediately take action or refer for care if a client is having this issue."}]},{"id":"2","title":"Immediately take action or refer for care if client is showing this sign of a serious illness.","description":"Immediately take action or refer for care if client is showing this sign of a serious illness.","documentation":[{"type":"citation","label":"Consolidated guidelines on HIV prevention, testing, treatment, service delivery and monitoring: recommendations for a public health approach (2021) Chapter 5: Advanced HIV Disease. Figure 5.1: Algorithm for providing a package of care for people with advanced HIV disease. "}],"condition":[{"kind":"applicability","expression":{"description":"((HIV.B2.DT.02)\n AND ( \"Age\" ≥ 10 years)\n AND (\"Signs of serious illness\"='Tachypnea')\n AND (-))\n OR ((HIV.B2.DT.03)\n AND ( \"Age\" ≥ 10 years)\n AND (\"Signs of serious illness\"='Unable to walk unaided')\n AND (-))","language":"text/cql-identifier","expression":"Should Immediately take action or refer for care if client is showing this sign of a serious illness."}}],"action":[{"title":"Immediately take action or refer for care if client is showing this sign of a serious illness."},{"title":"Immediately take action or refer for care if client is showing this sign of a serious illness."}]},{"id":"3","title":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. ","description":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. ","documentation":[{"type":"citation","label":"Consolidated guidelines on HIV prevention, testing, treatment, service delivery and monitoring: recommendations for a public health approach (2021) Chapter 5: Advanced HIV Disease. Figure 5.1: Algorithm for providing a package of care for people with advanced HIV disease. "}],"condition":[{"kind":"applicability","expression":{"description":"((HIV.B2.DT.04)\n AND ( \"Age\" ≥ 10 years)\n AND (\"Signs of serious illness\"='Fever of 39 °C or greater')\n AND (-))\n OR ((HIV.B2.DT.05)\n AND ( \"Age\" ≥ 10 years)\n AND (\"Signs of serious illness\"='Other sign of serious illness')\n AND (-))","language":"text/cql-identifier","expression":"Should Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. "}}],"action":[{"title":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. "},{"title":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. "}]},{"id":"4","title":"Immediately take action or refer for care if client is showing this sign of a serious illness.","description":"Immediately take action or refer for care if client is showing this sign of a serious illness. 2","documentation":[{"type":"citation","label":"Consolidated guidelines on HIV prevention, testing, treatment, service delivery and monitoring: recommendations for a public health approach (2021) Chapter 5: Advanced HIV Disease. Figure 5.1: Algorithm for providing a package of care for people with advanced HIV disease. "}],"condition":[{"kind":"applicability","expression":{"description":"((((((HIV.B2.DT.06)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Lethargy')\n AND (-))\n OR ((HIV.B2.DT.07)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Unconsciousness')\n AND (-)))\n OR ((HIV.B2.DT.08)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Convulsions')\n AND (-)))\n OR ((HIV.B2.DT.09)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Unable to breastfeed')\n AND (-)))\n OR ((HIV.B2.DT.10)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Unable to drink')\n AND (-)))\n OR ((HIV.B2.DT.11)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Repeated vomiting')\n AND (-))","language":"text/cql-identifier","expression":"Should Immediately take action or refer for care if client is showing this sign of a serious illness. 2"}}],"action":[{"title":"Immediately take action or refer for care if client is showing this sign of a serious illness."},{"title":"This is a sign and/or symptom of a serious health condition. Immediately take action or refer for care if client is showing this sign of a serious illness."}]},{"id":"5","title":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. ","description":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. 2","documentation":[{"type":"citation","label":"Consolidated guidelines on HIV prevention, testing, treatment, service delivery and monitoring: recommendations for a public health approach (2021) Chapter 5: Advanced HIV Disease. Figure 5.1: Algorithm for providing a package of care for people with advanced HIV disease. "}],"condition":[{"kind":"applicability","expression":{"description":"(((HIV.B2.DT.12)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Tachycardia')\n AND ( \"Body temperature\"≥ 39 °C))\n OR ((HIV.B2.DT.13)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Tachypnea')\n AND (\"Body temperature\" ≥ 39 °C)))\n OR ((HIV.B2.DT.14)\n AND ( \"Age\" < 10 years)\n AND (\"Signs of serious illness\"='Other sign of serious illness')\n AND (-))","language":"text/cql-identifier","expression":"Should Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. 2"}}],"action":[{"title":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. "},{"title":"Use clinical judgement and consider local epidemiology to determine if symptoms suggest client is seriously ill. "}]}]}]}
1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/PlanDefinition-HIVB7DT.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/PlanDefinition-HIVB9DT.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/PlanDefinition-HIVC23DT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"resourceType":"PlanDefinition","id":"HIVC23DT","text":{"status":"generated","div":"<div xmlns=\"http:https://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: PlanDefinition </b><a name=\"HIVC23DT\"> </a><a name=\"hcHIVC23DT\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">ResourcePlanDefinition &quot;HIVC23DT&quot; </p></div><p><b>url</b>: <code>http:https://fhir.org/guides/who/anc-cds/PlanDefinition/HIVC23DT</code></p><p><b>identifier</b>: HIV.C23.DT\u00a0(use:\u00a0official)</p><p><b>version</b>: 0.3.0</p><p><b>name</b>: HIVC23DT</p><p><b>title</b>: HIV.C23.DT</p><p><b>type</b>: ECA Rule <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http:https://terminology.hl7.org/5.5.0/CodeSystem-plan-definition-type.html\">PlanDefinitionType</a>#eca-rule)</span></p><p><b>status</b>: active</p><p><b>experimental</b>: false</p><p><b>date</b>: 2024-03-26 13:56:58+0300</p><p><b>publisher</b>: World Health Organization (WHO) </p><p><b>contact</b>: <a href=\"https://www.who.int\">https://www.who.int</a></p><p><b>description</b>: Determine PEP or PrEP regimen</p><h3>UseContexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>Workflow Task (Details: UsageContextType code task = ' Workflow Task ', stated as ' Workflow Task ')</td><td>Prescribe or administer PrEP or PEP <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (activity-codes#HIV.C23)</span></td></tr></table><p><b>jurisdiction</b>: Global (Whole world) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><p><b>library</b>: <a href=\"http:https://fhir.org/guides/who/anc-cds/Library/HIVC23DT\">http:https://fhir.org/guides/who/anc-cds/Library/HIVC23DT</a></p><blockquote><p><b>action</b></p><p><b>title</b>: HIV.C23.DT</p><h3>Triggers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Name</b></td></tr><tr><td style=\"display: none\">*</td><td>named-event</td><td>HIV.C23 Prescribe or administer PrEP or PEP</td></tr></table></blockquote></div>"},"url":"http:https://fhir.org/guides/who/anc-cds/PlanDefinition/HIVC23DT","identifier":[{"use":"official","value":"HIV.C23.DT"}],"version":"0.3.0","name":"HIVC23DT","title":"HIV.C23.DT","type":{"coding":[{"system":"http:https://terminology.hl7.org/CodeSystem/plan-definition-type","code":"eca-rule"}]},"status":"active","experimental":false,"date":"2024-03-26T13:56:58+03:00","publisher":"World Health Organization (WHO) ","contact":[{"telecom":[{"system":"url","value":"https://www.who.int"}]}],"description":"Determine PEP or PrEP regimen","useContext":[{"code":{"system":"http:https://terminology.hl7.org/CodeSystem/usage-context-type","code":"task","display":"Workflow Task"},"valueCodeableConcept":{"coding":[{"system":"http:https://fhir.org/guides/who/anc-cds/CodeSystem/activity-codes","code":"HIV.C23","display":"Prescribe or administer PrEP or PEP"}]}}],"jurisdiction":[{"coding":[{"system":"http:https://unstats.un.org/unsd/methods/m49/m49.htm","code":"001"}]}],"library":["http:https://fhir.org/guides/who/anc-cds/Library/HIVC23DT"],"action":[{"title":"HIV.C23.DT","trigger":[{"type":"named-event","name":"HIV.C23 Prescribe or administer PrEP or PEP"}]}]}
1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/PlanDefinition-HIVC7DT.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions workflow/sampledata/hiv-cds/PlanDefinition-HIVD12DT.json

Large diffs are not rendered by default.

Loading