Clinical Practice Guidelines
2.0.0 - STU2 International flag

Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-recommendations/ and changes regularly. See the Directory of published versions

: CPG Document Medication ActivityDefinition - TTL Representation

Active as of 2024-11-24

Raw ttl | Download


@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:ActivityDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cpg-documentmedication-activitydefinition"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationactivity"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationactivity>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ActivityDefinition cpg-documentmedication-activitydefinition</b></p><a name=\"cpg-documentmedication-activitydefinition\"> </a><a name=\"hccpg-documentmedication-activitydefinition\"> </a><a name=\"cpg-documentmedication-activitydefinition-en-US\"> </a><p><b>url</b>: <a href=\"ActivityDefinition-cpg-documentmedication-activitydefinition.html\">ActivityDefinition CPGDocumentMedicationActivityDefinition</a></p><p><b>identifier</b>: CPGDocumentMedicationActivityDefinition (use: official, ), <a href=\"http://terminology.hl7.org/6.1.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt \r\n\r\nThis oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: \r\n\r\nNote that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.\r\n\r\nThis OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:oid:2.16.840.1.113883.4.642.40.48.11.41</p><p><b>version</b>: 2.0.0</p><p><b>name</b>: CPGDocumentMedicationActivityDefinition</p><p><b>status</b>: Active</p><p><b>date</b>: 2024-11-24 20:44:17+0000</p><p><b>publisher</b>: HL7 International / Clinical Decision Support</p><p><b>contact</b>: HL7 International / Clinical Decision Support: <a href=\"http://www.hl7.org/Special/committees/dss\">http://www.hl7.org/Special/committees/dss</a></p><p><b>description</b>: </p><div><p>Example Activity Definition for a recommendation to document a medication</p>\n</div><p><b>jurisdiction</b>: <span title=\"Codes:{http://unstats.un.org/unsd/methods/m49/m49.htm 001}\">World</span></p><p><b>kind</b>: Task</p><p><b>profile</b>: <a href=\"StructureDefinition-cpg-documentmedicationtask.html\">CPG Document Medication Task</a></p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs document-medication}\">Document a medication</span></p><p><b>intent</b>: Proposal</p><p><b>priority</b>: Routine</p><p><b>doNotPerform</b>: false</p><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: status</p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>'draft'</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: for</p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Patient</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: encounter</p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Encounter</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: authoredOn</p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Now()</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: owner</p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Practitioner</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: input</p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>TaskInput { type: &quot;Document Medication&quot;, value: MedicationRequest }</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/ActivityDefinition/cpg-documentmedication-activitydefinition"^^xsd:anyURI] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:value [ fhir:v "CPGDocumentMedicationActivityDefinition" ]
  ] [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.48.11.41" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "CPGDocumentMedicationActivityDefinition"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-11-24T20:44:17+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International / Clinical Decision Support" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example Activity Definition for a recommendation to document a medication"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:kind [ fhir:v "Task"] ; # 
  fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationtask"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationtask>
  ] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "document-medication" ] ;
fhir:display [ fhir:v "Document a medication" ]     ] )
  ] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:doNotPerform [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:dynamicValue ( [
fhir:path [ fhir:v "status" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql" ] ;
fhir:expression [ fhir:v "'draft'" ]     ]
  ] [
fhir:path [ fhir:v "for" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql" ] ;
fhir:expression [ fhir:v "Patient" ]     ]
  ] [
fhir:path [ fhir:v "encounter" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql" ] ;
fhir:expression [ fhir:v "Encounter" ]     ]
  ] [
fhir:path [ fhir:v "authoredOn" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql" ] ;
fhir:expression [ fhir:v "Now()" ]     ]
  ] [
fhir:path [ fhir:v "owner" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql" ] ;
fhir:expression [ fhir:v "Practitioner" ]     ]
  ] [
fhir:path [ fhir:v "input" ] ;
fhir:expression [
fhir:language [ fhir:v "text/cql" ] ;
fhir:expression [ fhir:v "TaskInput { type: \"Document Medication\", value: MedicationRequest }" ]     ]
  ] ) . #