This page is part of the Clinical Guidelines (v1.0.0: STU 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Formats: Narrative, XML, JSON, Turtle
Raw ttl
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:Library;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "OpioidCDSR4Recommendation05"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Participants</h2><table class=\"grid\"><tr><td>Author</td><td>Kensaku Kawamoto, MD, PhD, MHS</td></tr><tr><td>Author</td><td>Bryn Rhodes</td></tr><tr><td>Author</td><td>Floyd Eisenberg, MD, MPH</td></tr><tr><td>Author</td><td>Robert McClure, MD, MPH</td></tr></table><h2>Related Artifacts</h2><table class=\"grid\"><tr><td>documentation</td><td>CDC guideline for prescribing opioids for chronic pain</td><td>https://www.cdc.gov/mmwr/volumes/65/rr/rr6501e1.htm?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fmmwr%2Fvolumes%2F65%2Frr%2Frr6501e1er.htm</td></tr><tr><td>depends-on</td><td></td><td><a href=\"Library-OpioidCDSR4Common.html\">Opioid CDS R4 Common Logic</a></td></tr><tr><td>documentation</td><td>MME Conversion Tables</td><td>https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf</td></tr></table><h2>Data Requirements</h2><table class=\"grid\"><tr><td colspan=\"2\"><b>Type</b>: <a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></td></tr><tr style=\"background-color: #efefef\"><td>Filter</td><td>Value</td></tr><tr><td>status</td><td>One of these codes: <a href=\"http://hl7.org/fhir/R4/codesystem-medicationrequest-status.html\">http://hl7.org/fhir/CodeSystem/medicationrequest-status</a> active: Active</td></tr><tr><td>category</td><td>One of these codes: <a href=\"https://terminology.hl7.org/1.0.0//CodeSystem-medicationrequest-category.html\">http://terminology.hl7.org/CodeSystem/medicationrequest-category</a> outpatient: Outpatient</td></tr></table><h2>Contents</h2><p><code>text/cql</code></p><pre><code class=\"language-sql\">library OpioidCDSR4Recommendation05 version '0.1.0'\n\nusing FHIR version '4.0.0'\n\ninclude OpioidCDSR4Common version '0.1.0' called Common\n\n/*\n**\n** Recommendation #5\n**\n*/\n\n/*\n Plan Definition:\n http://build.fhir.org/ig/cqframework/opioid-cds/PlanDefinition-opioidcds-r4-recommendation-05.html\n*/\n\nparameter ContextPrescriptions List<MedicationRequest>\n\ncontext Patient\n\ndefine \"Inclusion Criteria\":\n AgeInYears() >= 18\n and not \"Exclusion Criteria\"\n and \"Total MME\" >= 50 'mg/d'\n\ndefine \"Exclusion Criteria\":\n Common.\"End of Life Assessment\"\n\ndefine \"Total MME\":\n Common.TotalMME(ContextPrescriptions union Common.\"Active Ambulatory Opioid Rx\")\n\ndefine \"Taper Now\": \"Total MME\".value >= 90\n\ndefine \"Consider Tapering\": \"Total MME\".value < 90\n\ndefine \"Get Indicator\":\n if \"Inclusion Criteria\"\n then 'warning'\n else null\n\ndefine \"Get Summary\":\n if \"Inclusion Criteria\"\n then\n 'High risk for opioid overdose - '\n + case when \"Taper Now\"\n then 'taper now'\n else 'consider tapering'\n end\n else null\n\ndefine \"Get Detail\":\n if \"Inclusion Criteria\"\n then'Total morphine milligram equivalent (MME) is ' + ToString(\"Total MME\") + '. Taper to less than 50.'\n else null\n</code></pre></div>"
];
fhir:Library.url [ fhir:value "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSR4Recommendation05"];
fhir:Library.version [ fhir:value "1.0.0"];
fhir:Library.name [ fhir:value "OpioidCDSR4Recommendation05"];
fhir:Library.title [ fhir:value "Opioid CDS R4 Logic for recommendation #5"];
fhir:Library.status [ fhir:value "active"];
fhir:Library.experimental [ fhir:value "true"^^xsd:boolean];
fhir:Library.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ];
fhir:Coding.code [ fhir:value "logic-library" ];
fhir:Coding.display [ fhir:value "Logic Library" ] ]
];
fhir:Library.date [ fhir:value "2018-04-15T13:49:09-06:00"^^xsd:dateTime];
fhir:Library.publisher [ fhir:value "Centers for Disease Control and Prevention (CDC)"];
fhir:Library.description [ fhir:value "Opioid Decision Support Logic for use in implementing CDC Opioid Prescribing Guidelines."];
fhir:Library.useContext [
fhir:index 0;
fhir:UsageContext.code [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
fhir:Coding.code [ fhir:value "focus" ];
fhir:Coding.display [ fhir:value "Clinical Focus" ] ];
fhir:UsageContext.valueCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:182888003;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "182888003" ];
fhir:Coding.display [ fhir:value "Medication requested (situation)" ] ] ]
], [
fhir:index 1;
fhir:UsageContext.code [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
fhir:Coding.code [ fhir:value "focus" ];
fhir:Coding.display [ fhir:value "Clinical Focus" ] ];
fhir:UsageContext.valueCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:82423001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "82423001" ];
fhir:Coding.display [ fhir:value "Chronic pain (finding)" ] ] ]
];
fhir:Library.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
fhir:Coding.code [ fhir:value "001" ];
fhir:Coding.display [ fhir:value "World" ] ]
];
fhir:Library.purpose [ fhir:value "This library works in concert with the OMTK logic library to provide decision support for Morphine Milligram Equivalence calculations and dynamic value resolution."];
fhir:Library.usage [ fhir:value "This library is to notify the prescriber/user whether the current prescription exceeds the recommended MME."];
fhir:Library.copyright [ fhir:value "© CDC 2016+."];
fhir:Library.topic [
fhir:index 0;
fhir:CodeableConcept.text [ fhir:value "Opioid Prescribing" ]
];
fhir:Library.author [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "Kensaku Kawamoto, MD, PhD, MHS" ]
], [
fhir:index 1;
fhir:ContactDetail.name [ fhir:value "Bryn Rhodes" ]
], [
fhir:index 2;
fhir:ContactDetail.name [ fhir:value "Floyd Eisenberg, MD, MPH" ]
], [
fhir:index 3;
fhir:ContactDetail.name [ fhir:value "Robert McClure, MD, MPH" ]
];
fhir:Library.relatedArtifact [
fhir:index 0;
fhir:RelatedArtifact.type [ fhir:value "documentation" ];
fhir:RelatedArtifact.display [ fhir:value "CDC guideline for prescribing opioids for chronic pain" ];
fhir:RelatedArtifact.url [ fhir:value "https://www.cdc.gov/mmwr/volumes/65/rr/rr6501e1.htm?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fmmwr%2Fvolumes%2F65%2Frr%2Frr6501e1er.htm" ]
], [
fhir:index 1;
fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
fhir:RelatedArtifact.resource [
fhir:value "http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSR4Common";
fhir:link <http://fhir.org/guides/cdc/opioid-cds/Library/OpioidCDSR4Common> ]
], [
fhir:index 2;
fhir:RelatedArtifact.type [ fhir:value "documentation" ];
fhir:RelatedArtifact.display [ fhir:value "MME Conversion Tables" ];
fhir:RelatedArtifact.url [ fhir:value "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf" ]
];
fhir:Library.dataRequirement [
fhir:index 0;
fhir:Element.id [ fhir:value "medications" ];
fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
fhir:DataRequirement.codeFilter [
fhir:index 0;
fhir:DataRequirement.codeFilter.path [ fhir:value "status" ];
fhir:DataRequirement.codeFilter.code [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/CodeSystem/medicationrequest-status" ];
fhir:Coding.code [ fhir:value "active" ] ] ], [
fhir:index 1;
fhir:DataRequirement.codeFilter.path [ fhir:value "category" ];
fhir:DataRequirement.codeFilter.code [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/medicationrequest-category" ];
fhir:Coding.code [ fhir:value "outpatient" ] ] ]
];
fhir:Library.content [
fhir:index 0;
fhir:Attachment.contentType [ fhir:value "text/cql" ];
fhir:Attachment.data [ fhir:value "bGlicmFyeSBPcGlvaWRDRFNSNFJlY29tbWVuZGF0aW9uMDUgdmVyc2lvbiAnMC4xLjAnCgp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4wJwoKaW5jbHVkZSBPcGlvaWRDRFNSNENvbW1vbiB2ZXJzaW9uICcwLjEuMCcgY2FsbGVkIENvbW1vbgoKLyoKKioKKiogUmVjb21tZW5kYXRpb24gIzUKKioKKi8KCi8qCiAgUGxhbiBEZWZpbml0aW9uOgoJaHR0cDovL2J1aWxkLmZoaXIub3JnL2lnL2NxZnJhbWV3b3JrL29waW9pZC1jZHMvUGxhbkRlZmluaXRpb24tb3Bpb2lkY2RzLXI0LXJlY29tbWVuZGF0aW9uLTA1Lmh0bWwKKi8KCnBhcmFtZXRlciBDb250ZXh0UHJlc2NyaXB0aW9ucyBMaXN0PE1lZGljYXRpb25SZXF1ZXN0PgoKY29udGV4dCBQYXRpZW50CgpkZWZpbmUgIkluY2x1c2lvbiBDcml0ZXJpYSI6CiAgQWdlSW5ZZWFycygpID49IDE4CiAgICBhbmQgbm90ICJFeGNsdXNpb24gQ3JpdGVyaWEiCiAgICBhbmQgIlRvdGFsIE1NRSIgPj0gNTAgJ21nL2QnCgpkZWZpbmUgIkV4Y2x1c2lvbiBDcml0ZXJpYSI6CiAgQ29tbW9uLiJFbmQgb2YgTGlmZSBBc3Nlc3NtZW50IgoKZGVmaW5lICJUb3RhbCBNTUUiOgogIENvbW1vbi5Ub3RhbE1NRShDb250ZXh0UHJlc2NyaXB0aW9ucyB1bmlvbiBDb21tb24uIkFjdGl2ZSBBbWJ1bGF0b3J5IE9waW9pZCBSeCIpCgpkZWZpbmUgIlRhcGVyIE5vdyI6ICJUb3RhbCBNTUUiLnZhbHVlID49IDkwCgpkZWZpbmUgIkNvbnNpZGVyIFRhcGVyaW5nIjogIlRvdGFsIE1NRSIudmFsdWUgPCA5MAoKZGVmaW5lICJHZXQgSW5kaWNhdG9yIjoKICBpZiAiSW5jbHVzaW9uIENyaXRlcmlhIgogICAgdGhlbiAnd2FybmluZycKICBlbHNlIG51bGwKCmRlZmluZSAiR2V0IFN1bW1hcnkiOgogIGlmICJJbmNsdXNpb24gQ3JpdGVyaWEiCiAgICB0aGVuCiAgICAgICdIaWdoIHJpc2sgZm9yIG9waW9pZCBvdmVyZG9zZSAtICcKICAgICAgICArIGNhc2Ugd2hlbiAiVGFwZXIgTm93IgogICAgICAgICAgIHRoZW4gJ3RhcGVyIG5vdycKICAgICAgICAgICBlbHNlICdjb25zaWRlciB0YXBlcmluZycKICAgICAgICAgZW5kCiAgZWxzZSBudWxsCgpkZWZpbmUgIkdldCBEZXRhaWwiOgogIGlmICJJbmNsdXNpb24gQ3JpdGVyaWEiCiAgICB0aGVuJ1RvdGFsIG1vcnBoaW5lIG1pbGxpZ3JhbSBlcXVpdmFsZW50IChNTUUpIGlzICcgKyBUb1N0cmluZygiVG90YWwgTU1FIikgKyAnLiBUYXBlciB0byBsZXNzIHRoYW4gNTAuJwogIGVsc2UgbnVsbAo="^^xsd:base64Binary ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.