Id: |
ANCDT21 |
Url: |
ANC.DT.21 Syphilis diagnosis |
Version: |
0.3.0 |
Identifier: |
value: ANC.DT.21
|
Name: |
ANCDT21 |
Title: |
ANC.DT.21 Syphilis diagnosis |
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 tests positive for syphilis, provide counselling and treatment as needed |
Jurisdiction: |
001 |
Related Artifacts: |
Dependencies
|
Parameters: |
Name | Type | Min | Max | In/Out |
encounter | string | 0 | 1 | In |
Patient | Patient | 0 | 1 | Out |
Should Conduct syphilis counselling and further testing | boolean | 0 | 1 | Out |
Should Conduct syphilis counselling and further testing 2 | boolean | 0 | 1 | Out |
Should Conduct syphilis counselling and further testing 3 | 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-b9-de98
|
Observation |
http://hl7.org/fhir/StructureDefinition/Observation |
;;;; |
code filter:
path: code
value set: http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de107
|
|
Content: text/cql |
library ANCDT21
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include ANCConfig called Config
include ANCConcepts called Cx
include ANCDataElements called PatientData
include ANCContactDataElements called ContactData
context Patient
/*
("Population prevalence of syphilis in pregnant women" ≥ 5%)
AND ("Syphilis test type" = "Rapid syphilis test (RST)")
AND (Syphilis test result" = "Syphilis positive")
*/
define "Should Conduct syphilis counselling and further testing":
Config."Population prevalence of syphilis in pregnant women" >= 5 '%'
and ContactData."Syphilis test type" in Cx."Syphilis test type - Rapid syphilis test (RST) Choices"
and ContactData."Syphilis test result" in Cx."Syphilis test result - Positive Choices"
/*
("Population prevalence of syphilis in pregnant women" ≥ 5%)
AND ("Syphilis test type" = "Rapid plasma reagin (RPR) test")
AND (Syphilis test result" = "Syphilis positive")
*/
define "Should Conduct syphilis counselling and further testing 2":
Config."Population prevalence of syphilis in pregnant women" >= 5 '%'
and ContactData."Syphilis test type" in Cx."Syphilis test type - Rapidd plasma reagin (RPR) test Choices"
and ContactData."Syphilis test result" in Cx."Syphilis test result - Positive Choices"
/*
("Population prevalence of syphilis in pregnant women" < 5%)
AND ("Syphilis test result" = "Syphilis positive")
*/
define "Should Conduct syphilis counselling and further testing 3":
Config."Population prevalence of syphilis in pregnant women" < 5 '%'
and ContactData."Syphilis test result" in Cx."Syphilis test result - Positive Choices"
|
|
Content: application/elm+xml |
Encoded data (21864 characters)
|
|
Content: application/elm+json |
Encoded data (36360 characters)
|
|