This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Clinical Decision Support Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw XML (canonical form + also see XML Format Specification)
Suicide Risk Order Set Logic (id = "suiciderisk-orderset-logic")
<?xml version="1.0" encoding="UTF-8"?> <Library xmlns="http://hl7.org/fhir"> <id value="suiciderisk-orderset-logic"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <table class="grid dict"> <tr> <td> <b> Id: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;">Library/mmi-suiciderisk-orderset-logic</td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Identifier: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;"> <b> value: </b> <span> SuicideRiskLogic</span> </td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Version: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;">1.0.0</td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Title: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;">Suicide Risk Order Set Logic</td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Type: </b> </td> </tr> <tr> <td style="padding-right: 25px;"> <span> <span> <span style="padding-left: 25px;"> <b> code: </b> <span> logic-library</span> </span> </span> </span> </td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Status: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;">draft</td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Description: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;">Logic for Suicide Risk Order Sets</td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Topic: </b> </td> </tr> <tr> <td style="padding-right: 25px;"> <span style="padding-left: 25px;"> <b> text: </b> <span> Suicide Risk Order Set Logic</span> </span> </td> </tr> </table> <p/> <table class="grid dict"> <tr> <td> <b> Related: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <p style="margin-bottom: 5px;"> <b> type: </b> <span> depends-on</span> </p> <p style="margin-bottom: 5px;"> <b> Resource: </b> <br/> <span> <span style="padding-left: 25px;"> <b> reference: </b> <span> Library/library-fhir-model-definition</span> </span> </span> </p> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Related: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <p style="margin-bottom: 5px;"> <b> type: </b> <span> depends-on</span> </p> <p style="margin-bottom: 5px;"> <b> Resource: </b> <br/> <span> <span style="padding-left: 25px;"> <b> reference: </b> <span> Library/library-fhir-helpers</span> <br/> </span> <span style="padding-left: 25px;"> <b> display: </b> <span> FHIRHelpers</span> </span> </span> </p> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Related: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <p style="margin-bottom: 5px;"> <b> type: </b> <span> depends-on</span> </p> <p style="margin-bottom: 5px;"> <b> Resource: </b> <br/> <span> <span style="padding-left: 25px;"> <b> reference: </b> <span> http://nucc.org/provider-taxonomy</span> </span> </span> </p> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Related: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <p style="margin-bottom: 5px;"> <b> type: </b> <span> depends-on</span> </p> <p style="margin-bottom: 5px;"> <b> Resource: </b> <br/> <span> <span style="padding-left: 25px;"> <b> reference: </b> <span> ValueSet/1.2.3.4.5</span> <br/> </span> <span style="padding-left: 25px;"> <b> display: </b> <span> Suicide Risk Assessment</span> </span> </span> </p> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Parameter: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <span> <b> name: </b> <span> Patient</span> <br/> </span> <b> use: </b> <span> in</span> <br/> <span> <b> minimum cardinality: </b> <span> 1</span> <br/> </span> <span> <b> maximum cardinality: </b> <span> 1</span> <br/> </span> <b> type: </b> <span> Patient</span> <br/> <p style="margin-bottom: 5px;"/> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Parameter: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <span> <b> name: </b> <span> Encounter</span> <br/> </span> <b> use: </b> <span> in</span> <br/> <span> <b> minimum cardinality: </b> <span> 1</span> <br/> </span> <span> <b> maximum cardinality: </b> <span> 1</span> <br/> </span> <b> type: </b> <span> Encounter</span> <br/> <p style="margin-bottom: 5px;"/> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Parameter: </b> </td> </tr> <tr style="vertical-align: top;"> <td style="padding-left: 25px; padding-right: 25px;"> <span> <b> name: </b> <span> Practitioner</span> <br/> </span> <b> use: </b> <span> in</span> <br/> <span> <b> minimum cardinality: </b> <span> 1</span> <br/> </span> <span> <b> maximum cardinality: </b> <span> 1</span> <br/> </span> <b> type: </b> <span> Practitioner</span> <br/> <p style="margin-bottom: 5px;"/> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Data Requirements: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;"> <div> <p style="margin-bottom: 5px;"> <b> type: </b> <span> RiskAssessment</span> </p> <p style="margin-bottom: 5px;"> <b> code filter:</b> <br/> <span style="padding-left: 25px;"> <b> path: </b> <span> code</span> </span> <br/> <span style="padding-left: 25px;"> <b> valueset: </b> <span> Suicide Risk Assessment</span> </span> </p> </div> </td> </tr> </table> <table class="grid dict"> <tr> <td> <b> Content: </b> </td> </tr> <tr> <td style="padding-left: 25px; padding-right: 25px;"> <p style="margin-bottom: 5px;"> <b> type: </b> <span> text/cql</span> </p> <p style="margin-bottom: 5px;"> <b> url: </b> <span> library-mmi-suiciderisk-orderset-logic-content.cql</span> </p> </td> </tr> </table> </div> </text> <url value="http://motivemi.com/artifacts/Library/suiciderisk-orderset-logic"/> <identifier> <use value="official"/> <system value="http://motivemi.com/artifacts"/> <value value="mmi:suiciderisk-orderset-logic"/> </identifier> <version value="1.0.0"/> <name value="SuicideRiskOrderSetLogic"/> <title value="Suicide Risk Order Set Logic"/> <status value="active"/> <experimental value="true"/> <type> <coding> <code value="logic-library"/> </coding> </type> <date value="2015-07-22"/> <publisher value="Motive Medical Intelligence"/> <contact> <telecom> <system value="phone"/> <value value="415-362-4007"/> <use value="work"/> </telecom> <telecom> <system value="email"/> <value value="info@motivemi.com"/> <use value="work"/> </telecom> </contact> <description value="Logic for Suicide Risk Order Sets"/> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="age"/> </code> <valueCodeableConcept> <coding> <system value="https://meshb.nlm.nih.gov"/> <code value="D000328"/> <display value="Adult"/> </coding> </valueCodeableConcept> </useContext> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="focus"/> </code> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct"/> <code value="87512008"/> <display value="Mild major depression"/> </coding> </valueCodeableConcept> </useContext> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="focus"/> </code> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct"/> <code value="40379007"/> <display value="Major depression, recurrent, mild"/> </coding> </valueCodeableConcept> </useContext> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="focus"/> </code> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct"/> <code value="225444004"/> <display value="At risk for suicide (finding)"/> </coding> </valueCodeableConcept> </useContext> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="user"/> </code> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct"/> <code value="309343006"/> <display value="Physician"/> </coding> </valueCodeableConcept> </useContext> <useContext> <code> <system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/> <code value="venue"/> </code> <valueCodeableConcept> <coding> <system value="http://snomed.info/sct"/> <code value="440655000"/> <display value="Outpatient environment"/> </coding> </valueCodeableConcept> </useContext> <jurisdiction> <coding> <system value="urn:iso:std:iso:3166"/> <code value="US"/> </coding> </jurisdiction> <purpose value="Defines a referral to a mental-health integrated care program for use in suicide risk order sets. The definition is independent of the order set in which it appears to allow reuse of the general definition of the referrral."/> <usage value="This activity definition is used as the definition of a referral request within various suicide risk order sets. Elements that apply universally are defined here, while elements that apply to the specific setting of a referral within a particular order set are defined in the order set."/> <copyright value="© Copyright 2016 Motive Medical Intelligence. All rights reserved."/> <approvalDate value="2016-03-12"/> <lastReviewDate value="2016-08-15"/> <effectivePeriod> <start value="2016-01-01"/> <end value="2017-12-31"/> </effectivePeriod> <topic> <text value="Suicide Risk Order Set Logic"/> </topic> <author> <name value="Motive Medical Intelligence"/> <telecom> <system value="phone"/> <value value="415-362-4007"/> <use value="work"/> </telecom> <telecom> <system value="email"/> <value value="info@motivemi.com"/> <use value="work"/> </telecom> </author> <relatedArtifact> <type value="citation"/> <display value="Practice Guideline for the Treatment of Patients with Major Depressive Disorder"/> <url value="http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"/> </relatedArtifact> <relatedArtifact> <type value="depends-on"/> <resource value="http://hl7.org/fhir/Library/library-fhir-model-definition"/> </relatedArtifact> <relatedArtifact> <type value="depends-on"/> <resource value="http://hl7.org/fhir/Library/library-fhir-helpers"/> </relatedArtifact> <relatedArtifact> <type value="depends-on"/> <resource value="http://nucc.org/provider-taxonomy"/> </relatedArtifact> <relatedArtifact> <type value="depends-on"/> <resource value="http://hl7.org/fhir/ValueSet/1.2.3.4.5"/> </relatedArtifact> <parameter> <name value="Patient"/> <use value="in"/> <min value="1"/> <max value="1"/> <type value="Patient"/> </parameter> <parameter> <name value="Encounter"/> <use value="in"/> <min value="1"/> <max value="1"/> <type value="Encounter"/> </parameter> <parameter> <name value="Practitioner"/> <use value="in"/> <min value="1"/> <max value="1"/> <type value="Practitioner"/> </parameter> <dataRequirement> <type value="RiskAssessment"/> <codeFilter> <path value="code"/> <valueSet value="http://example.org/valueset/1.2.3.4.5"/> <!-- Suicide Risk Assessment --> </codeFilter> </dataRequirement> <content> <contentType value="text/cql"/> <data value="bGlicmFyeSAiemlrYS12aXJ1cy1pbnRlcnZlbnRpb24tbG9naWMiIHZlcnNpb24gJzEuMC4wJwoKdXNpbmcgRkhJUiB2ZXJzaW9u ICcxLjgnCgppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzEuOCcgY2FsbGVkIEZISVJIZWxwZXJzCgpjb2Rlc3lzdGVtICJFe GFtcGxlIFF1ZXN0aW9ubmFpcmVzIjogJ2h0dHA6Ly9leGFtcGxlLm9yZy9xdWVzdGlvbm5haXJlcycKCnZhbHVlc2V0ICJQcmVnbm FuY3kiOiAndXJuOm9pZDpYLlkuWicKdmFsdWVzZXQgIlppa2EgQWZmZWN0ZWQgQXJlYXMiOiAndXJuOm9pZDoyLjE2Ljg0MC4xLjE xNDIyMi40LjExLjc0NTcnIC8vIFZhbHVlIHNldCBoYXMgYmVlbiBjcmVhdGVkIGJhc2VkIHVwb24gSmFuIDI2dGgsIDIwMTYgdHJh dmVsIG5vdGljZSBmcm9tIENEQyBaaWthIHZpcnVzIGRpc2Vhc2Ugd2Vic2l0ZQlodHRwczovL3BoaW52YWRzLmNkYy5nb3YvdmFkc y9WaWV3VmFsdWVTZXQuYWN0aW9uP29pZD0yLjE2Ljg0MC4xLjExNDIyMi40LjExLjc0NTcKdmFsdWVzZXQgIlppa2EgVmlydXMgU2 lnbnMgYW5kIFN5bXB0b21zIjoJJ3VybjpvaWQ6Mi4xNi44NDAuMS4xMTQyMjIuNC4xMS43NDU5JyAvLyBodHRwczovL3BoaW52YWR zLmNkYy5nb3YvdmFkcy9WaWV3VmFsdWVTZXQuYWN0aW9uP29pZD0yLjE2Ljg0MC4xLjExNDIyMi40LjExLjc0NTk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Pj0gMTIgd2Vla3MpCiAgICBvciAoIk5vIFppa2EgU3ltcHRvbXMiIGFuZCAiVGltZSBTaW5jZSBQb3NzaWJsZSBFeHBv c3VyZSIgPj0gMTIgd2Vla3MpCgpkZWZpbmUgIlNob3VsZCBQcm92aWRlIE1vc3F1aXRvIFByZXZlbnRpb24gYW5kIENvbnRyYWNlc HRpb24gQWR2aWNlIjoKICAiUGxhbm5lZCBUcmF2ZWwgdG8gWmlrYSBBcmVhIgo="/> </content> </Library>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.