Current Build

Plandefinition-example.ttl

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Low Suicide Risk Order Set

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/PlanDefinition/low-suicide-risk-order-set> a fhir:PlanDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "low-suicide-risk-order-set"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Id: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">PlanDefinition/low-suicide-risk-order-set</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Identifier: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <b>value: </b>\n                  <span>mmi:low-suicide-risk-order-set</span>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Title: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">Low Suicide Risk Order Set</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Status: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">draft</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Description: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">Orders to be applied to a patient characterized as low suicide risk.</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Purpose: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">This order set helps ensure consistent application of appropriate orders for the care of low suicide risk patients.</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Usage: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">This order set should be applied after assessing a patient for suicide risk, when the findings of that assessment indicate the patient has low suicide risk.</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>age</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>https://meshb.nlm.nih.gov</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>D000328</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Adult</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>focus</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>http://snomed.info/sct</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>87512008</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Mild major depression</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>focus</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>http://snomed.info/sct</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>40379007</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Major depression, recurrent, mild</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>focus</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>http://snomed.info/sct</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>394687007</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Low suicide risk</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>focus</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>http://snomed.info/sct</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>225337009</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Suicide risk assessment</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>user</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>http://snomed.info/sct</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>309343006</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Physician</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Context: </b>\n               </td>\n            </tr>\n            <tr style=\"vertical-align: top;\">\n               <td style=\"padding-right: 25px;\">\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>system: </b>\n                     <span>http://terminology.hl7.org/CodeSystem/usage-context-type</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>code: </b>\n                     <span>venue</span>\n                  </p>\n                  <p style=\"padding-left: 25px; margin-top: 5px; margin-bottom: 5px;\">\n                     <b>value: </b>\n                     <br/>\n                     <span>\n                        <span>\n                           <span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>system: </b>\n                                 <span>http://snomed.info/sct</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>code: </b>\n                                 <span>440655000</span>\n                                 <br/>\n                              </span>\n                              <span style=\"padding-left: 25px;\">\n                                 <b>display: </b>\n                                 <span>Outpatient environment</span>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </p>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Topic: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <span>\n                     <b>text: </b>\n                     <span>Suicide risk assessment</span>\n                  </span>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Contributor: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <b>\n                     <span>author</span>:\n                  </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 50px; padding-right: 25px;\">Motive Medical Intelligence</td>\n            </tr>\n         </table>\n         <p/>\n         <table class=\"grid dict\">\n            <tr>\n               <td>\n                  <b>Library: </b>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <b>reference: </b>\n                  <span>Library/suiciderisk-orderset-logic</span>\n               </td>\n            </tr>\n            <tr>\n               <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  <b>display: </b>\n                  <span>SuicideRiskLogic</span>\n               </td>\n            </tr>\n         </table>\n         <p/>\n         <h2>Actions</h2>\n         <p style=\"width: 100%;\" class=\"hierarchy\">\n            <span>\n               <b>Step: </b>\n               <br/>\n               <span style=\"padding-left: 25px;\">\n                  <b>title: </b>\n                  <span>Suicide Risk Assessment and Outpatient Management</span>\n                  <br/>\n               </span>\n               <span style=\"padding-left: 25px;\">\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 50px;\">\n                        <b>title: </b>\n                        <span>Consults and Referrals</span>\n                        <br/>\n                     </span>\n                     <span style=\"padding-left: 50px;\">\n                        <span>\n                           <b>Step: </b>\n                           <br/>\n                           <span style=\"padding-left: 75px;\">\n                              <b>text: </b>\n                              <span>Refer to outpatient mental health program for evaluation and treatment of mental health conditions now</span>\n                              <br/>\n                           </span>\n                           <span style=\"padding-left: 75px;\">\n                              <b>condition: </b>\n                              <br/>\n                              <span style=\"padding-left: 100px;\">\n                                 <b>reference: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 125px;\">#referralToMentalHealthCare</span>\n                                 <span>\n                                    <span style=\"padding-left: 75px;\">\n                                       <br/>\n                                       <span style=\"padding-left: 100px;\">\n                                          <b>description: </b>\n                                          <span>refer to primary care mental-health integrated care program for evaluation and treatment of mental health conditions now</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\">\n                                          <b>category: </b>\n                                          <span>referral</span>\n                                          <br/>\n                                       </span>\n                                    </span>\n                                 </span>\n                              </span>\n                           </span>\n                           <span style=\"padding-left: 50px;\"/>\n                        </span>\n                     </span>\n                  </span>\n                  <span>\n                     <b>Step: </b>\n                     <br/>\n                     <span style=\"padding-left: 50px;\">\n                        <b>title: </b>\n                        <span>Medications</span>\n                        <br/>\n                     </span>\n                     <span style=\"padding-left: 50px;\">\n                        <span>\n                           <b>Step: </b>\n                           <br/>\n                           <span style=\"padding-left: 75px;\">\n                              <b>title: </b>\n                              <span>First-Line Antidepressants</span>\n                              <br/>\n                           </span>\n                           <span style=\"padding-left: 75px;\">\n                              <span>\n                                 <b>Step: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 100px;\">\n                                    <b>title: </b>\n                                    <span>Selective Serotonin Reuptake Inhibitors (Choose a mazimum of one or document reasons for exception)</span>\n                                    <br/>\n                                 </span>\n                                 <span style=\"padding-left: 100px;\">\n                                    <span>\n                                       <b>Step: </b>\n                                       <br/>\n                                       <span style=\"padding-left: 125px;\">\n                                          <b>text: </b>\n                                          <span>citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 125px;\">\n                                          <b>condition: </b>\n                                          <br/>\n                                          <span style=\"padding-left: 150px;\">\n                                             <b>reference: </b>\n                                             <br/>\n                                             <span style=\"padding-left: 175px;\">#citalopramPrescription</span>\n                                             <span/>\n                                             <span>\n                                                <span style=\"padding-left: 125px;\">\n                                                   <br/>\n                                                   <span style=\"padding-left: 150px;\">\n                                                      <b>category: </b>\n                                                      <span>drug</span>\n                                                      <br/>\n                                                   </span>\n                                                </span>\n                                             </span>\n                                             <span/>\n                                             <span/>\n                                          </span>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\"/>\n                                    </span>\n                                    <span>\n                                       <b>Step: </b>\n                                       <br/>\n                                       <span style=\"padding-left: 125px;\">\n                                          <b>text: </b>\n                                          <span>escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\"/>\n                                    </span>\n                                    <span>\n                                       <b>Step: </b>\n                                       <br/>\n                                       <span style=\"padding-left: 125px;\">\n                                          <b>text: </b>\n                                          <span>fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\"/>\n                                    </span>\n                                    <span>\n                                       <b>Step: </b>\n                                       <br/>\n                                       <span style=\"padding-left: 125px;\">\n                                          <b>text: </b>\n                                          <span>paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\"/>\n                                    </span>\n                                    <span>\n                                       <b>Step: </b>\n                                       <br/>\n                                       <span style=\"padding-left: 125px;\">\n                                          <b>text: </b>\n                                          <span>sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)</span>\n                                          <br/>\n                                       </span>\n                                       <span style=\"padding-left: 100px;\"/>\n                                    </span>\n                                 </span>\n                              </span>\n                              <span>\n                                 <b>Step: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 125px;\">\n                                    <b>text: </b>\n                                    <span>Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)</span>\n                                    <br/>\n                                 </span>\n                                 <span style=\"padding-left: 75px;\"/>\n                              </span>\n                              <span>\n                                 <b>Step: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 100px;\">\n                                    <b>text: </b>\n                                    <span>Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons for exception)</span>\n                                    <br/>\n                                 </span>\n                                 <span style=\"padding-left: 75px;\"/>\n                              </span>\n                              <span>\n                                 <b>Step: </b>\n                                 <br/>\n                                 <span style=\"padding-left: 100px;\">\n                                    <b>text: </b>\n                                    <span>Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)</span>\n                                    <br/>\n                                 </span>\n                                 <span style=\"padding-left: 100px;\"/>\n                              </span>\n                           </span>\n                        </span>\n                     </span>\n                  </span>\n               </span>\n            </span>\n         </p>\n      </div>"
  ];
  fhir:DomainResource.contained [
     a fhir:ActivityDefinition;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "referralToMentalHealthCare" ];
     fhir:ActivityDefinition.status [ fhir:value "draft" ];
     fhir:ActivityDefinition.description [ fhir:value "refer to primary care mental-health integrated care program for evaluation and treatment of mental health conditions now" ];
     fhir:ActivityDefinition.kind [ fhir:value "ServiceRequest" ];
     fhir:ActivityDefinition.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:306206005;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "306206005" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Referral to service (procedure)" ]
     ];
     fhir:ActivityDefinition.timingTiming [
       fhir:Timing.event [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
           fhir:Extension.valueExpression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "Now()" ]
           ]
         ]
       ]
     ];
     fhir:ActivityDefinition.participant [
       fhir:index 0;
       fhir:ActivityDefinition.participant.type [ fhir:value "practitioner" ]
     ]
  ], [
     a fhir:ActivityDefinition;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "citalopramPrescription" ];
     fhir:ActivityDefinition.status [ fhir:value "draft" ];
     fhir:ActivityDefinition.kind [ fhir:value "MedicationRequest" ];
     fhir:ActivityDefinition.productReference [
       fhir:Reference.reference [ fhir:value "#citalopramMedication" ]
     ];
     fhir:ActivityDefinition.dosage [
       fhir:index 0;
       fhir:Dosage.text [ fhir:value "1 tablet oral 1 time daily" ];
       fhir:Dosage.timing [
         fhir:Timing.repeat [
           fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
           fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
           fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
         ]
       ];
       fhir:Dosage.route [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "26643006" ];
           fhir:Coding.display [ fhir:value "Oral route (qualifier value)" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Oral route (qualifier value)" ]
       ];
       fhir:Dosage.doseAndRate [
         fhir:index 0;
         fhir:Dosage.doseAndRate.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
             fhir:Coding.code [ fhir:value "ordered" ];
             fhir:Coding.display [ fhir:value "Ordered" ]
           ]
         ];
         fhir:Dosage.doseAndRate.doseQuantity [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "{tbl}" ]
         ]
       ]
     ];
     fhir:ActivityDefinition.dynamicValue [
       fhir:index 0;
       fhir:ActivityDefinition.dynamicValue.path [ fhir:value "dispenseRequest.numberOfRepeatsAllowed" ];
       fhir:ActivityDefinition.dynamicValue.expression [
         fhir:Expression.language [ fhir:value "text/cql" ];
         fhir:Expression.expression [ fhir:value "3" ]
       ]
     ], [
       fhir:index 1;
       fhir:ActivityDefinition.dynamicValue.path [ fhir:value "dispenseRequest.quantity" ];
       fhir:ActivityDefinition.dynamicValue.expression [
         fhir:Expression.language [ fhir:value "text/cql" ];
         fhir:Expression.expression [ fhir:value "30 '{tbl}'" ]
       ]
     ]
  ], [
     a fhir:Medication;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "citalopramMedication" ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
         fhir:Coding.code [ fhir:value "200371" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "citalopram" ]
     ];
     fhir:Medication.doseForm [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:385055001;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "385055001" ];
         fhir:Coding.display [ fhir:value "Tablet dose form" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Tablet dose form" ]
     ];
     fhir:Medication.ingredient [
       fhir:index 0;
       fhir:Medication.ingredient.itemReference [
         fhir:Reference.reference [ fhir:value "#citalopramSubstance" ]
       ];
       fhir:Medication.ingredient.strengthRatio [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mg" ]
         ];
         fhir:Ratio.denominator [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "{tbl}" ]
         ]
       ]
     ]
  ], [
     a fhir:Substance;
     fhir:index 3;
     fhir:Resource.id [ fhir:value "citalopramSubstance" ];
     fhir:Substance.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
         fhir:Coding.code [ fhir:value "2556" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "citalopram" ]
     ]
  ];
  fhir:PlanDefinition.url [ fhir:value "http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set"];
  fhir:PlanDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://motivemi.com/artifacts" ];
     fhir:Identifier.value [ fhir:value "mmi:low-suicide-risk-order-set" ]
  ];
  fhir:PlanDefinition.version [ fhir:value "1.0.0"];
  fhir:PlanDefinition.name [ fhir:value "LowSuicideRiskOrderSet"];
  fhir:PlanDefinition.title [ fhir:value "Low Suicide Risk Order Set"];
  fhir:PlanDefinition.status [ fhir:value "active"];
  fhir:PlanDefinition.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:PlanDefinition.date [ fhir:value "2015-08-15"^^xsd:date];
  fhir:PlanDefinition.publisher [ fhir:value "Motive Medical Intelligence"];
  fhir:PlanDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "415-362-4007" ];
       fhir:ContactPoint.use [ fhir:value "work" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "info@motivemi.com" ];
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ];
  fhir:PlanDefinition.description [ fhir:value "Orders to be applied to a patient characterized as low suicide risk."];
  fhir:PlanDefinition.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 "age" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://meshb.nlm.nih.gov" ];
         fhir:Coding.code [ fhir:value "D000328" ];
         fhir:Coding.display [ fhir:value "Adult" ]
       ]
     ]
  ], [
     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:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:87512008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "87512008" ];
         fhir:Coding.display [ fhir:value "Mild major depression" ]
       ]
     ]
  ], [
     fhir:index 2;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:40379007;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "40379007" ];
         fhir:Coding.display [ fhir:value "Major depression, recurrent, mild" ]
       ]
     ]
  ], [
     fhir:index 3;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:394687007;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "394687007" ];
         fhir:Coding.display [ fhir:value "Low suicide risk" ]
       ]
     ]
  ], [
     fhir:index 4;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:225337009;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "225337009" ];
         fhir:Coding.display [ fhir:value "Suicide risk assessment" ]
       ]
     ]
  ], [
     fhir:index 5;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "user" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:309343006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "309343006" ];
         fhir:Coding.display [ fhir:value "Physician" ]
       ]
     ]
  ], [
     fhir:index 6;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "venue" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:440655000;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "440655000" ];
         fhir:Coding.display [ fhir:value "Outpatient environment" ]
       ]
     ]
  ];
  fhir:PlanDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]
     ]
  ];
  fhir:PlanDefinition.purpose [ fhir:value "This order set helps ensure consistent application of appropriate orders for the care of low suicide risk patients."];
  fhir:PlanDefinition.usage [ fhir:value "This order set should be applied after assessing a patient for suicide risk, when the findings of that assessment indicate the patient has low suicide risk."];
  fhir:PlanDefinition.copyright [ fhir:value "© Copyright 2016 Motive Medical Intelligence. All rights reserved."];
  fhir:PlanDefinition.approvalDate [ fhir:value "2016-03-12"^^xsd:date];
  fhir:PlanDefinition.lastReviewDate [ fhir:value "2016-08-15"^^xsd:date];
  fhir:PlanDefinition.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2017-12-31"^^xsd:date ]
  ];
  fhir:PlanDefinition.topic [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Suicide risk assessment" ]
  ];
  fhir:PlanDefinition.author [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Motive Medical Intelligence" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "415-362-4007" ];
       fhir:ContactPoint.use [ fhir:value "work" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "info@motivemi.com" ];
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ];
  fhir:PlanDefinition.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "derived-from" ];
     fhir:RelatedArtifact.display [ fhir:value "Practice Guideline for the Treatment of Patients with Major Depressive Disorder" ];
     fhir:RelatedArtifact.url [ fhir:value "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf" ]
  ], [
     fhir:index 1;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "ActivityDefinition/referralPrimaryCareMentalHealth";
       fhir:link <http://hl7.org/fhir/ActivityDefinition/referralPrimaryCareMentalHealth>
     ]
  ], [
     fhir:index 2;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "ActivityDefinition/citalopramPrescription";
       fhir:link <http://hl7.org/fhir/ActivityDefinition/citalopramPrescription>
     ]
  ];
  fhir:PlanDefinition.library [
     fhir:value "Library/suiciderisk-orderset-logic";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Library/suiciderisk-orderset-logic>
  ];
  fhir:PlanDefinition.action [
     fhir:index 0;
     fhir:PlanDefinition.action.title [ fhir:value "Suicide Risk Assessment and Outpatient Management" ];
     fhir:PlanDefinition.action.action [
       fhir:index 0;
       fhir:PlanDefinition.action.title [ fhir:value "Consults and Referrals" ];
       fhir:PlanDefinition.action.groupingBehavior [ fhir:value "logical-group" ];
       fhir:PlanDefinition.action.selectionBehavior [ fhir:value "any" ];
       fhir:PlanDefinition.action.action [
         fhir:index 0;
         fhir:PlanDefinition.action.textEquivalent [ fhir:value "Refer to outpatient mental health program for evaluation and treatment of mental health conditions now" ];
         fhir:PlanDefinition.action.definitionCanonical [ fhir:value "#referralToMentalHealthCare" ];
         fhir:PlanDefinition.action.dynamicValue [
           fhir:index 0;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "timing.event" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "Now()" ]
           ]
         ], [
           fhir:index 1;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "specialty" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "Code '261QM0850X' from SuicideRiskLogic.\"NUCC Provider Taxonomy\" display 'Adult Mental Health'" ]
           ]
         ], [
           fhir:index 2;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "occurrenceDateTime" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "SuicideRiskLogic.ServiceRequestFulfillmentTime" ]
           ]
         ], [
           fhir:index 3;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "subject" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "SuicideRiskLogic.Patient" ]
           ]
         ], [
           fhir:index 4;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "requester.agent" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "SuicideRiskLogic.Practitioner" ]
           ]
         ], [
           fhir:index 5;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "reasonCode" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "SuicideRiskLogic.RiskAssessmentScore" ]
           ]
         ], [
           fhir:index 6;
           fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "reasonReference" ];
           fhir:PlanDefinition.action.dynamicValue.expression [
             fhir:Expression.language [ fhir:value "text/cql" ];
             fhir:Expression.expression [ fhir:value "SuicideRiskLogic.RiskAssessment" ]
           ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:PlanDefinition.action.title [ fhir:value "Medications" ];
       fhir:PlanDefinition.action.groupingBehavior [ fhir:value "logical-group" ];
       fhir:PlanDefinition.action.selectionBehavior [ fhir:value "at-most-one" ];
       fhir:PlanDefinition.action.action [
         fhir:index 0;
         fhir:PlanDefinition.action.title [ fhir:value "First-Line Antidepressants" ];
         fhir:PlanDefinition.action.documentation [
           fhir:index 0;
           fhir:RelatedArtifact.type [ fhir:value "citation" ];
           fhir:RelatedArtifact.document [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence" ];
               fhir:Extension.valueCodeableConcept [
                 fhir:CodeableConcept.coding [
                   fhir:index 0;
                   fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/evidence-quality" ];
                   fhir:Coding.code [ fhir:value "high" ]
                 ];
                 fhir:CodeableConcept.text [ fhir:value "High Quality" ]
               ]
             ];
             fhir:Attachment.contentType [ fhir:value "text/html" ];
             fhir:Attachment.url [ fhir:value "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf" ];
             fhir:Attachment.title [ fhir:value "Practice Guideline for the Treatment of Patients with Major Depressive Disorder" ]
           ]
         ];
         fhir:PlanDefinition.action.groupingBehavior [ fhir:value "logical-group" ];
         fhir:PlanDefinition.action.selectionBehavior [ fhir:value "at-most-one" ];
         fhir:PlanDefinition.action.action [
           fhir:index 0;
           fhir:PlanDefinition.action.title [ fhir:value "Selective Serotonin Reuptake Inhibitors (Choose a mazimum of one or document reasons for exception)" ];
           fhir:PlanDefinition.action.documentation [
             fhir:index 0;
             fhir:RelatedArtifact.type [ fhir:value "citation" ];
             fhir:RelatedArtifact.document [
               fhir:Attachment.contentType [ fhir:value "text/html" ];
               fhir:Attachment.url [ fhir:value "http://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=6daeb45c-451d-b135-bf8f-2d6dff4b6b01" ];
               fhir:Attachment.title [ fhir:value "National Library of Medicine. DailyMed website. CITALOPRAM- citalopram hydrobromide tablet, film coated." ]
             ]
           ];
           fhir:PlanDefinition.action.groupingBehavior [ fhir:value "logical-group" ];
           fhir:PlanDefinition.action.selectionBehavior [ fhir:value "at-most-one" ];
           fhir:PlanDefinition.action.action [
             fhir:index 0;
             fhir:PlanDefinition.action.textEquivalent [ fhir:value "citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)" ];
             fhir:PlanDefinition.action.definitionCanonical [ fhir:value "#citalopramPrescription" ];
             fhir:PlanDefinition.action.dynamicValue [
               fhir:index 0;
               fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "status" ];
               fhir:PlanDefinition.action.dynamicValue.expression [
                 fhir:Expression.language [ fhir:value "text/cql" ];
                 fhir:Expression.expression [ fhir:value "'draft'" ]
               ]
             ], [
               fhir:index 1;
               fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "patient" ];
               fhir:PlanDefinition.action.dynamicValue.expression [
                 fhir:Expression.language [ fhir:value "text/cql" ];
                 fhir:Expression.expression [ fhir:value "SuicideRiskLogic.Patient" ]
               ]
             ], [
               fhir:index 2;
               fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "prescriber" ];
               fhir:PlanDefinition.action.dynamicValue.expression [
                 fhir:Expression.language [ fhir:value "text/cql" ];
                 fhir:Expression.expression [ fhir:value "SuicideRiskLogic.Practitioner" ]
               ]
             ], [
               fhir:index 3;
               fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "reasonCode" ];
               fhir:PlanDefinition.action.dynamicValue.expression [
                 fhir:Expression.language [ fhir:value "text/cql" ];
                 fhir:Expression.expression [ fhir:value "SuicideRiskLogic.RiskAssessmentScore" ]
               ]
             ], [
               fhir:index 4;
               fhir:PlanDefinition.action.dynamicValue.path [ fhir:value "reasonReference" ];
               fhir:PlanDefinition.action.dynamicValue.expression [
                 fhir:Expression.language [ fhir:value "text/cql" ];
                 fhir:Expression.expression [ fhir:value "SuicideRiskLogic.RiskAssessment" ]
               ]
             ]
           ], [
             fhir:index 1;
             fhir:PlanDefinition.action.textEquivalent [ fhir:value "escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)" ]
           ], [
             fhir:index 2;
             fhir:PlanDefinition.action.textEquivalent [ fhir:value "fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)" ]
           ], [
             fhir:index 3;
             fhir:PlanDefinition.action.textEquivalent [ fhir:value "paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)" ]
           ], [
             fhir:index 4;
             fhir:PlanDefinition.action.textEquivalent [ fhir:value "sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)" ]
           ]
         ], [
           fhir:index 1;
           fhir:PlanDefinition.action.textEquivalent [ fhir:value "Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)" ]
         ], [
           fhir:index 2;
           fhir:PlanDefinition.action.textEquivalent [ fhir:value "Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons for exception)" ]
         ], [
           fhir:index 3;
           fhir:PlanDefinition.action.textEquivalent [ fhir:value "Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)" ]
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/PlanDefinition/low-suicide-risk-order-set.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/PlanDefinition/low-suicide-risk-order-set.ttl> .

# -------------------------------------------------------------------------------------


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.