Clinical Practice Guidelines
3.0.0-ballot - STU 3 Ballot 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 3.0.0-ballot 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

Active as of 2026-11-10

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

<http://hl7.org/fhir/ActivityDefinition/cpg-documentmedication-activitydefinition> a fhir:ActivityDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cpg-documentmedication-activitydefinition"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationactivity" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationactivity>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"metadata\"> </a>Metadata</th>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Version</th>\n\n\n\n<td class=\"content-container\">3.0.0-ballot</td>\n\n\n</tr>\n\n\n\n\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Identifier</th>\n\n\n\n<td class=\"content-container\">CPGDocumentMedicationActivityDefinition</td>\n\n\n</tr>\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Identifier</th>\n\n\n\n<td class=\"content-container\">urn:oid:2.16.840.1.113883.4.642.40.48.11.41</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Jurisdiction</th>\n\n\n\n<td class=\"content-container\">\n    World\n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward (Publisher)</th>\n\n\n\n<td class=\"content-container\">HL7 International / Clinical Decision Support</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward Contact</th>\n\n\n\n<td class=\"content-container\">HL7 International / Clinical Decision Support</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Example Activity Definition for a recommendation to document a medication</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Resource Kind</th>\n\n\n\n<td class=\"content-container\">Task</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Resource Profile</th>\n\n\n\n<td class=\"content-container\"><a href=\"StructureDefinition-cpg-documentmedicationtask.html\">CPG Document Medication Task</a></td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    Document a medication\n\n\n</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Intent</th>\n\n\n\n<td class=\"content-container\">Proposal</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Priority</th>\n\n\n\n<td class=\"content-container\">Routine</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: status\n    \n    \n    <br/>\n    <em>Expression</em>: 'draft'\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: for\n    \n    \n    <br/>\n    <em>Expression</em>: Patient\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: encounter\n    \n    \n    <br/>\n    <em>Expression</em>: Encounter\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: authoredOn\n    \n    \n    <br/>\n    <em>Expression</em>: Now()\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: owner\n    \n    \n    <br/>\n    <em>Expression</em>: Practitioner\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: input\n    \n    \n    <br/>\n    <em>Expression</em>: TaskInput { type: \"Document Medication\", value: MedicationRequest }\n    \n  </td>\n</tr>\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.6 of the sample-content-ig Liquid templates</th>\n</tr>\n\n    </tbody>\n  </table>\n</div>"
  ] ;
  fhir:ActivityDefinition.url [ fhir:value "http://hl7.org/fhir/uv/cpg/ActivityDefinition/cpg-documentmedication-activitydefinition"] ;
  fhir:ActivityDefinition.identifier [
     fhir:index -1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.value [ fhir:value "CPGDocumentMedicationActivityDefinition" ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.40.48.11.41" ]
  ] ;
  fhir:ActivityDefinition.version [ fhir:value "3.0.0-ballot"] ;
  fhir:ActivityDefinition.name [ fhir:value "CPGDocumentMedicationActivityDefinition"] ;
  fhir:ActivityDefinition.status [ fhir:value "active"] ;
  fhir:ActivityDefinition.date [ fhir:value "2026-11-10T08:06:13+00:00"^^xsd:dateTime] ;
  fhir:ActivityDefinition.publisher [ fhir:value "HL7 International / Clinical Decision Support"] ;
  fhir:ActivityDefinition.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 International / Clinical Decision Support" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/dss" ]
     ]
  ] ;
  fhir:ActivityDefinition.description [ fhir:value "Example Activity Definition for a recommendation to document a medication"] ;
  fhir:ActivityDefinition.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "001" ] ;
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ] ;
  fhir:ActivityDefinition.kind [ fhir:value "Task"] ;
  fhir:ActivityDefinition.profile [
     fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationtask" ;
     fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-documentmedicationtask>
  ] ;
  fhir:ActivityDefinition.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs" ] ;
       fhir:Coding.code [ fhir:value "document-medication" ] ;
       fhir:Coding.display [ fhir:value "Document a medication" ]
     ]
  ] ;
  fhir:ActivityDefinition.intent [ fhir:value "proposal"] ;
  fhir:ActivityDefinition.priority [ fhir:value "routine"] ;
  fhir:ActivityDefinition.doNotPerform [ fhir:value "false"^^xsd:boolean] ;
  fhir:ActivityDefinition.dynamicValue [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "status" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ] ;
       fhir:Expression.expression [ fhir:value "'draft'" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "for" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ] ;
       fhir:Expression.expression [ fhir:value "Patient" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "encounter" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ] ;
       fhir:Expression.expression [ fhir:value "Encounter" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "authoredOn" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ] ;
       fhir:Expression.expression [ fhir:value "Now()" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "owner" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ] ;
       fhir:Expression.expression [ fhir:value "Practitioner" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "input" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ] ;
       fhir:Expression.expression [ fhir:value "TaskInput { type: \"Document Medication\", value: MedicationRequest }" ]
     ]
  ] .

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

<http://hl7.org/fhir/ActivityDefinition/cpg-documentmedication-activitydefinition.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/ActivityDefinition/cpg-documentmedication-activitydefinition.ttl> .