Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example ActivityDefinition/citalopramPrescription (Turtle)

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

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

Activity definition to prescribe citalopram to a patient

@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:ActivityDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "citalopramPrescription"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ActivityDefinition</b><a name=\"citalopramPrescription\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource ActivityDefinition &quot;citalopramPrescription&quot; </p></div><p><b>url</b>: <code>http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription</code></p><p><b>identifier</b>: id: urn:oid:2.16.840.1.113883.4.642.19.6, id: citalopramPrescription (OFFICIAL)</p><p><b>version</b>: 1.0.0</p><p><b>name</b>: CitalopramPrescription</p><p><b>title</b>: Citalopram Prescription</p><p><b>status</b>: active</p><p><b>experimental</b>: true</p><p><b>date</b>: 2015-08-15</p><p><b>publisher</b>: Motive Medical Intelligence</p><p><b>contact</b>: ph: 415-362-4007(WORK),<a href=\"mailto:info@motivemi.com\">info@motivemi.com</a></p><p><b>description</b>: Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills</p><h3>UseContexts</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Age Range (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code age = 'Age Range', stated as 'null')</td><td>Adult <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (meshb.nlm.nih.gov#D000328)</span></td></tr><tr><td>*</td><td>Clinical Focus (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code focus = 'Clinical Focus', stated as 'null')</td><td>Mild major depression <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#87512008)</span></td></tr><tr><td>*</td><td>Clinical Focus (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code focus = 'Clinical Focus', stated as 'null')</td><td>Major depression, recurrent, mild <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#40379007)</span></td></tr><tr><td>*</td><td>Clinical Focus (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code focus = 'Clinical Focus', stated as 'null')</td><td>At risk for suicide (finding) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#225444004)</span></td></tr><tr><td>*</td><td>Clinical Focus (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code focus = 'Clinical Focus', stated as 'null')</td><td>Referral to service (procedure) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#306206005)</span></td></tr><tr><td>*</td><td>User Type (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code user = 'User Type', stated as 'null')</td><td>Physician <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#309343006)</span></td></tr><tr><td>*</td><td>Clinical Venue (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code venue = 'Clinical Venue', stated as 'null')</td><td>Outpatient environment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#440655000)</span></td></tr></table><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#US)</span></p><p><b>purpose</b>: Defines a guideline supported prescription for the treatment of depressive disorders</p><p><b>usage</b>: This activity definition is used as part of various suicide risk order sets</p><p><b>copyright</b>: © Copyright 2016 Motive Medical Intelligence. All rights reserved.</p><p><b>approvalDate</b>: 2016-03-12</p><p><b>lastReviewDate</b>: 2016-08-15</p><p><b>effectivePeriod</b>: 2016-01-01 --&gt; 2017-12-31</p><p><b>topic</b>: Mental Health Treatment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>author</b>: Motive Medical Intelligence: ph: 415-362-4007(WORK),<a href=\"mailto:info@motivemi.com\">info@motivemi.com</a></p><blockquote><p><b>relatedArtifact</b></p><p><b>type</b>: citation</p><p><b>display</b>: Practice Guideline for the Treatment of Patients with Major Depressive Disorder</p></blockquote><blockquote><p><b>relatedArtifact</b></p><p><b>type</b>: composed-of</p><p><b>resource</b>: <code>#citalopramMedication</code></p></blockquote><p><b>kind</b>: MedicationRequest</p><p><b>product</b>: <a name=\"citalopramMedication\"> </a></p><blockquote><p/><p><a name=\"citalopramMedication\"> </a></p><p><b>code</b>: citalopram <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#200371)</span></p><p><b>doseForm</b>: Tablet dose form <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385055001)</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a href=\"#citalopramSubstance\">#citalopramSubstance</a></td></tr></table><p><b>strength</b>: 20 mg/1 {tbl}</p></blockquote></blockquote><blockquote><p><b>dosage</b></p><p><b>text</b>: 1 tablet oral 1 time daily</p><p><b>timing</b>: Do Once per 1 days</p><p><b>route</b>: Oral route (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#26643006)</span></p></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: dispenseRequest.numberOfRepeatsAllowed</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td>*</td><td>dispenseRequest.numberOfRepeatsAllowed is three (3)</td><td>text/cql</td><td>3</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: dispenseRequest.quantity</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td>*</td><td>dispenseRequest.quantity is thirty (30) tablets</td><td>text/cql</td><td>30 '{tbl}'</td></tr></table></blockquote></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     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.item [
         fhir:CodeableReference.reference [
           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 1;
     fhir:Resource.id [ fhir:value "citalopramSubstance" ];
     fhir:Substance.instance [ fhir:value "false"^^xsd:boolean ];
     fhir:Substance.code [
       fhir:CodeableReference.concept [
         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:ActivityDefinition.url [ fhir:value "http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription"];
  fhir:ActivityDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.19.6" ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://motivemi.com" ];
     fhir:Identifier.value [ fhir:value "citalopramPrescription" ]
  ];
  fhir:ActivityDefinition.version [ fhir:value "1.0.0"];
  fhir:ActivityDefinition.name [ fhir:value "CitalopramPrescription"];
  fhir:ActivityDefinition.title [ fhir:value "Citalopram Prescription"];
  fhir:ActivityDefinition.status [ fhir:value "active"];
  fhir:ActivityDefinition.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:ActivityDefinition.date [ fhir:value "2015-08-15"^^xsd:date];
  fhir:ActivityDefinition.publisher [ fhir:value "Motive Medical Intelligence"];
  fhir:ActivityDefinition.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:ActivityDefinition.description [ fhir:value "Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills"];
  fhir:ActivityDefinition.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:225444004;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "225444004" ];
         fhir:Coding.display [ fhir:value "At risk for suicide (finding)" ]
       ]
     ]
  ], [
     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:306206005;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "306206005" ];
         fhir:Coding.display [ fhir:value "Referral to service (procedure)" ]
       ]
     ]
  ], [
     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:ActivityDefinition.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:ActivityDefinition.purpose [ fhir:value "Defines a guideline supported prescription for the treatment of depressive disorders"];
  fhir:ActivityDefinition.usage [ fhir:value "This activity definition is used as part of various suicide risk order sets"];
  fhir:ActivityDefinition.copyright [ fhir:value "© Copyright 2016 Motive Medical Intelligence. All rights reserved."];
  fhir:ActivityDefinition.approvalDate [ fhir:value "2016-03-12"^^xsd:date];
  fhir:ActivityDefinition.lastReviewDate [ fhir:value "2016-08-15"^^xsd:date];
  fhir:ActivityDefinition.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2017-12-31"^^xsd:date ]
  ];
  fhir:ActivityDefinition.topic [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Mental Health Treatment" ]
  ];
  fhir:ActivityDefinition.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:ActivityDefinition.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "citation" ];
     fhir:RelatedArtifact.display [ fhir:value "Practice Guideline for the Treatment of Patients with Major Depressive Disorder" ];
     fhir:RelatedArtifact.document [
       fhir:Attachment.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 "#citalopramMedication" ]
  ];
  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.description [ fhir:value "dispenseRequest.numberOfRepeatsAllowed is three (3)" ];
       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.description [ fhir:value "dispenseRequest.quantity is thirty (30) tablets" ];
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "30 '{tbl}'" ]
     ]
  ]] .

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

[a owl:Ontology;
  owl:imports fhir:fhir.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.