Id: |
ANCDT29 |
Url: |
ANC.DT.29 HIV risk counselling |
Version: |
0.3.0 |
Identifier: |
value: ANC.DT.29
|
Name: |
ANCDT29 |
Title: |
ANC.DT.29 HIV risk counselling |
Status: |
active |
Experimental: |
false |
Type: |
system: http://terminology.hl7.org/CodeSystem/library-type
code: logic-library
|
Date: |
2024-09-10 04:55:21+0000 |
Publisher: |
World Health Organization (WHO) |
Description: |
If the woman has risk factors for contracting HIV, provide counselling to reduce risk of contracting HIV |
Jurisdiction: |
001 |
Related Artifacts: |
Dependencies
|
Parameters: |
Name | Type | Min | Max | In/Out |
encounter | string | 0 | 1 | In |
Patient | Patient | 0 | 1 | Out |
Should Conduct counselling on HIV risk | boolean | 0 | 1 | Out |
Should Conduct counselling on pre-exposure prophylaxis (PrEP) for HIV prevention | boolean | 0 | 1 | Out |
Should Conduct counselling on HIV risk 2 | boolean | 0 | 1 | Out |
|
Data Requirements: |
Type | Profile | MS | Code Filter |
Patient |
http://hl7.org/fhir/StructureDefinition/Patient |
|
|
Observation |
http://hl7.org/fhir/StructureDefinition/Observation |
;;;;; |
code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de146
|
Observation |
http://hl7.org/fhir/StructureDefinition/Observation |
;;;; |
code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de45
|
Observation |
http://hl7.org/fhir/StructureDefinition/Observation |
;;;; |
code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de156
|
Observation |
http://hl7.org/fhir/StructureDefinition/Observation |
;;;; |
code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de48
|
Observation |
http://hl7.org/fhir/StructureDefinition/Observation |
;;;; |
code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de55
|
|
Content: text/cql |
library ANCDT29
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include ANCBaseDataElements called BaseDataElements
include ANCConfig called Config
include ANCConcepts called Cx
include ANCDataElements called PatientData
include ANCContactDataElements called ContactData
context Patient
/*
(((((("HIV status" = "HIV negative")
AND ("Prevalence of HIV in pregnant women in the catchment area" > 1%))
OR (("HIV status" = "HIV negative")
AND ("Partner HIV status (reported)" = "HIV positive")))
OR (("HIV status" = "HIV negative")
AND ("Partner HIV test result" = HIV positive")))
OR (("HIV status" = "HIV negative")
AND (Partner HIV status (confirmed)" = "HIV positive")))
OR (("HIV status" = "HIV negative")
AND (Current alcohol and/or other substance use" = "Injectable drugs")))
OR (("HIV status" = "HIV negative")
AND ("Occupation" = "Employment that puts woman at increased risk for HIV (e.g. sex worker)"))
*/
define "Should Conduct counselling on HIV risk":
ContactData."HIV status" in Cx."HIV status - HIV negative Choices"
and (
Config."Prevalence of HIV in pregnant women in the catchment area" > 1 '%'
or ContactData."Partner HIV status (reported)" in Cx."Partner HIV status (reported) - HIV Positive Choices"
or ContactData."Partner HIV test result" in Cx."Partner HIV test result - Partner HIV positive Choices"
or ContactData."Partner HIV status (confirmed)" in Cx."Partner HIV status (confirmed) - HIV positive Choices"
or ContactData."Current alcohol and/or other substance use" in Cx."Current alcohol and/or other substance use - Injectable drugs Choices"
or BaseDataElements."Patient Occupation" in Cx."Occupation - Employment that puts woman at increased risk for HIV (e.g. sex worker) Choices"
)
/*
"Population incidence of HIV in the absence of PrEP" > 3 per 100 person-years
*/
define "Should Conduct counselling on pre-exposure prophylaxis (PrEP) for HIV prevention":
Config."Population incidence of HIV in the absence of PrEP" > 3 '{Person-Years}'
/*
("Partner HIV status (reported)" = "Inconclusive")
OR ("Partner HIV test conducted" = FALSE)
*/
define "Should Conduct counselling on HIV risk 2":
ContactData."Partner HIV status (reported)" in Cx."Partner HIV status (reported) - Inconclusive Choices"
or ContactData."Partner HIV test result" is null
|
|
Content: application/elm+xml |
Encoded data (30652 characters)
|
|
Content: application/elm+json |
Encoded data (51440 characters)
|
|