Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.0.0-draft built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-recommendations/ and changes regularly. See the Directory of published versions
Active as of 2024-10-18 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:Library ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "holdmedication-library"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Library holdmedication-library</b></p><a name=\"holdmedication-library\"> </a><a name=\"hcholdmedication-library\"> </a><a name=\"holdmedication-library-en-US\"> </a><h2>Contents</h2><p><code>text/cql</code></p><pre><code class=\"language-sql\">library HoldMedication\n\nusing FHIR version '4.0.1'\n\ninclude FHIRHelpers version '4.0.1'\n\ncodesystem "Activity Type": 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'\n\ncode "Hold Activity": 'hold-activity' from "Activity Type"\n\ncontext Patient\n\n/* Recommendation to hold an existing order for a medication */\n\n/*\nPositive recommendation:\n\nIf an active order for the medication exists\n Propose holding the medication\n\nGiven a proposal, the user can:\n Accept the proposal\n Ignore the proposal\n Reject the proposal without reason\n Reject the proposal with reason\n\nScenario 1: Active medication order, no plan or proposal, decision support should propose\nScenario 2: Active medication order, incomplete proposal, decision support should not propose\nScenario 3: Active medication order, rejected proposal, decision support should not propose\nScenario 4: No active medication order, decision support should not propose\n\n*/\n\ndefine "Medication Proposal":\n [MedicationRequest] M\n where M.intent = 'order'\n and M.status = 'active'\n\ndefine "Inclusion Criteria":\n Patient.active\n and exists "Medication Proposal"\n\ndefine "Hold Medication Proposal":\n [Task] T\n where R.code ~ "Hold Activity"\n\ndefine "Is Recommendation Applicable":\n "Inclusion Criteria"\n and not exists "Hold Medication Proposal"\n</code></pre><p><code>No Content</code> (<code>application/elm+xml</code>)</p></div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ;
fhir:value [ fhir:v "shareable" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ;
fhir:value [ fhir:v "computable" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ;
fhir:value [ fhir:v "publishable" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"^^xsd:anyURI ] ;
fhir:value [ fhir:v "structured" ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/Library/holdmedication-library"^^xsd:anyURI] ; #
fhir:version [ fhir:v "2.0.0-draft"] ; #
fhir:name [ fhir:v "HoldMedicationLibrary"] ; #
fhir:title [ fhir:v "Hold Medication Library"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "true"^^xsd:boolean] ; #
fhir:type [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "logic-library" ] ] )
] ; #
fhir:date [ fhir:v "2024-10-18T13:53:25+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; #
fhir:contact ( [
fhir:name [ fhir:v "HL7 International / Clinical Decision Support" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ] ] )
] ) ; #
fhir:description [ fhir:v "Logic for an example recommendation to hold a medication"] ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ] ] )
] ) ; #
fhir:content ( [
fhir:contentType [ fhir:v "text/cql" ] ;
fhir:data [ fhir:v "bGlicmFyeSBIb2xkTWVkaWNhdGlvbgoKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKCmluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnNC4wLjEnCgpjb2Rlc3lzdGVtICJBY3Rpdml0eSBUeXBlIjogJ2h0dHA6Ly9obDcub3JnL2ZoaXIvdXYvY3BnL0NvZGVTeXN0ZW0vY3BnLWFjdGl2aXR5LXR5cGUtY3MnCgpjb2RlICJIb2xkIEFjdGl2aXR5IjogJ2hvbGQtYWN0aXZpdHknIGZyb20gIkFjdGl2aXR5IFR5cGUiCgpjb250ZXh0IFBhdGllbnQKCi8qIFJlY29tbWVuZGF0aW9uIHRvIGhvbGQgYW4gZXhpc3Rpbmcgb3JkZXIgZm9yIGEgbWVkaWNhdGlvbiAqLwoKLyoKUG9zaXRpdmUgcmVjb21tZW5kYXRpb246CgpJZiBhbiBhY3RpdmUgb3JkZXIgZm9yIHRoZSBtZWRpY2F0aW9uIGV4aXN0cwogIFByb3Bvc2UgaG9sZGluZyB0aGUgbWVkaWNhdGlvbgoKR2l2ZW4gYSBwcm9wb3NhbCwgdGhlIHVzZXIgY2FuOgogIEFjY2VwdCB0aGUgcHJvcG9zYWwKICBJZ25vcmUgdGhlIHByb3Bvc2FsCiAgUmVqZWN0IHRoZSBwcm9wb3NhbCB3aXRob3V0IHJlYXNvbgogIFJlamVjdCB0aGUgcHJvcG9zYWwgd2l0aCByZWFzb24KClNjZW5hcmlvIDE6IEFjdGl2ZSBtZWRpY2F0aW9uIG9yZGVyLCBubyBwbGFuIG9yIHByb3Bvc2FsLCBkZWNpc2lvbiBzdXBwb3J0IHNob3VsZCBwcm9wb3NlClNjZW5hcmlvIDI6IEFjdGl2ZSBtZWRpY2F0aW9uIG9yZGVyLCBpbmNvbXBsZXRlIHByb3Bvc2FsLCBkZWNpc2lvbiBzdXBwb3J0IHNob3VsZCBub3QgcHJvcG9zZQpTY2VuYXJpbyAzOiBBY3RpdmUgbWVkaWNhdGlvbiBvcmRlciwgcmVqZWN0ZWQgcHJvcG9zYWwsIGRlY2lzaW9uIHN1cHBvcnQgc2hvdWxkIG5vdCBwcm9wb3NlClNjZW5hcmlvIDQ6IE5vIGFjdGl2ZSBtZWRpY2F0aW9uIG9yZGVyLCBkZWNpc2lvbiBzdXBwb3J0IHNob3VsZCBub3QgcHJvcG9zZQoKKi8KCmRlZmluZSAiTWVkaWNhdGlvbiBQcm9wb3NhbCI6CiAgW01lZGljYXRpb25SZXF1ZXN0XSBNCiAgICB3aGVyZSBNLmludGVudCA9ICdvcmRlcicKICAgICAgYW5kIE0uc3RhdHVzID0gJ2FjdGl2ZScKCmRlZmluZSAiSW5jbHVzaW9uIENyaXRlcmlhIjoKICBQYXRpZW50LmFjdGl2ZQogICAgYW5kIGV4aXN0cyAiTWVkaWNhdGlvbiBQcm9wb3NhbCIKCmRlZmluZSAiSG9sZCBNZWRpY2F0aW9uIFByb3Bvc2FsIjoKICBbVGFza10gVAogICAgd2hlcmUgUi5jb2RlIH4gIkhvbGQgQWN0aXZpdHkiCgpkZWZpbmUgIklzIFJlY29tbWVuZGF0aW9uIEFwcGxpY2FibGUiOgogICJJbmNsdXNpb24gQ3JpdGVyaWEiCiAgICBhbmQgbm90IGV4aXN0cyAiSG9sZCBNZWRpY2F0aW9uIFByb3Bvc2FsIgo="^^xsd:base64Binary ]
] [
fhir:contentType [ fhir:v "application/elm+xml" ]
] ) . #
IG © 2023+ HL7 International / Clinical Decision Support. Package hl7.fhir.uv.cpg#2.0.0-draft based on FHIR 4.0.1. Generated 2024-10-18
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change