@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/ActivityDefinition/citalopramPrescription> a fhir:ActivityDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "citalopramPrescription"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "citalopramMedication" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ;
           fhir:l <http://www.nlm.nih.gov/research/umls/rxnorm>
         ] ;
         fhir:code [ fhir:v "200371" ]
       ] ) ;
       fhir:text [ fhir:v "citalopram" ]
     ] ;
     fhir:doseForm [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "385055001" ] ;
         fhir:display [ fhir:v "Tablet (basic dose form)" ]
       ] ) ;
       fhir:text [ fhir:v "Tablet dose form" ]
     ] ;
     fhir:ingredient ( [
       fhir:item [
         fhir:reference [
           fhir:l <#citalopramSubstance> ;
           fhir:reference [ fhir:v "#citalopramSubstance" ]
         ]
       ] ;
       fhir:strength [
         a fhir:Ratio ;
         fhir:numerator [
           fhir:value [ fhir:v "20"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "mg" ]
         ] ;
         fhir:denominator [
           fhir:value [ fhir:v "1"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "{tbl}" ]
         ]
       ]
     ] )
  ] [
     a fhir:Substance ;
     fhir:id [ fhir:v "citalopramSubstance" ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ;
             fhir:l <http://www.nlm.nih.gov/research/umls/rxnorm>
           ] ;
           fhir:code [ fhir:v "2556" ]
         ] ) ;
         fhir:text [ fhir:v "citalopram" ]
       ]
     ]
  ] ) ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "cds"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription"^^xsd:anyURI ;
     fhir:l <http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.19.6" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [
       fhir:v "http://motivemi.com"^^xsd:anyURI ;
       fhir:l <http://motivemi.com>
     ] ;
     fhir:value [ fhir:v "citalopramPrescription" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "CitalopramPrescription"] ; # 
  fhir:title [ fhir:v "Citalopram Prescription"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2015-08-15"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills"] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "age" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://meshb.nlm.nih.gov"^^xsd:anyURI ;
           fhir:l <https://meshb.nlm.nih.gov>
         ] ;
         fhir:code [ fhir:v "D000328" ] ;
         fhir:display [ fhir:v "Adult" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "focus" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "87512008" ] ;
         fhir:display [ fhir:v "Mild major depression" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "focus" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "40379007" ] ;
         fhir:display [ fhir:v "Mild recurrent major depression" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "focus" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "225444004" ] ;
         fhir:display [ fhir:v "At increased risk for suicide (finding)" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "focus" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "306206005" ] ;
         fhir:display [ fhir:v "Referral to service (procedure)" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "user" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "309343006" ] ;
         fhir:display [ fhir:v "Physician" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "venue" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "440655000" ] ;
         fhir:display [ fhir:v "Outpatient environment" ]
       ] )
     ]
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "Defines a guideline supported prescription for the treatment of depressive disorders"] ; # 
  fhir:usage [ fhir:v "This activity definition is used as part of various suicide risk order sets"] ; # 
  fhir:copyright [ fhir:v "© Copyright 2016 Motive Medical Intelligence. All rights reserved."] ; # 
  fhir:approvalDate [ fhir:v "2016-03-12"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2016-08-15"^^xsd:date] ; # 
  fhir:effectivePeriod [
     fhir:start [ fhir:v "2016-01-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2017-12-31"^^xsd:date ]
  ] ; # 
  fhir:topic ( [
     fhir:text [ fhir:v "Mental Health Treatment" ]
  ] ) ; # 
  fhir:author ( [
     fhir:name [ fhir:v "Motive Medical Intelligence" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "415-362-4007" ] ;
       fhir:use [ fhir:v "work" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "info@motivemi.com" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "citation" ] ;
     fhir:display [ fhir:v "Practice Guideline for the Treatment of Patients with Major Depressive Disorder" ] ;
     fhir:document [
       fhir:url [
         fhir:v "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf"^^xsd:anyURI ;
         fhir:l <http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf>
       ]
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "#citalopramMedication"^^xsd:anyURI ;
       fhir:l <#citalopramMedication>
     ]
  ] ) ; # 
  fhir:kind [ fhir:v "MedicationRequest"] ; # 
  fhir:product [
     a fhir:Reference ;
     fhir:l <#citalopramMedication> ;
     fhir:reference [ fhir:v "#citalopramMedication" ]
  ] ; # 
  fhir:dosageInstruction [
     fhir:renderedInstruction [ fhir:v "1 tablet oral 1 time daily" ] ;
     fhir:step ( [
       fhir:component ( [
         fhir:text [ fhir:v "1 tablet oral 1 time daily" ] ;
         fhir:timing [
           fhir:repeat [
             fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
             fhir:period [ fhir:v "1"^^xsd:decimal ] ;
             fhir:periodUnit [ fhir:v "d" ]
           ]
         ] ;
         fhir:route [
           fhir:coding ( [
             fhir:code [ fhir:v "26643006" ] ;
             fhir:display [ fhir:v "Oral route (qualifier value)" ]
           ] ) ;
           fhir:text [ fhir:v "Oral route (qualifier value)" ]
         ] ;
         fhir:doseAndRate ( [
           fhir:type [
             fhir:coding ( [
               fhir:system [
                 fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
                 fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
               ] ;
               fhir:code [ fhir:v "ordered" ] ;
               fhir:display [ fhir:v "Ordered" ]
             ] )
           ] ;
           fhir:dose [
             a fhir:Quantity ;
             fhir:value [ fhir:v "1"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "{tbl}" ]
           ]
         ] )
       ] )
     ] )
  ] ; # 
  fhir:dynamicValue ( [
     fhir:path [ fhir:v "dispenseRequest.numberOfRepeatsAllowed" ] ;
     fhir:expression [
       fhir:description [ fhir:v "dispenseRequest.numberOfRepeatsAllowed is three (3)" ] ;
       fhir:language [ fhir:v "text/cql-expression" ] ;
       fhir:expression [ fhir:v "3" ]
     ]
  ] [
     fhir:path [ fhir:v "dispenseRequest.quantity" ] ;
     fhir:expression [
       fhir:description [ fhir:v "dispenseRequest.quantity is thirty (30) tablets" ] ;
       fhir:language [ fhir:v "text/cql-expression" ] ;
       fhir:expression [ fhir:v "30 '{tbl}'" ]
     ]
  ] ) . # 

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

