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
@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/Bundle/activity-example-administermedication-bundle> a fhir:Bundle ; fhir:nodeRole fhir:treeRoot ; fhir:Resource.id [ fhir:value "activity-example-administermedication-bundle"] ; fhir:Resource.language [ fhir:value "en"] ; fhir:Bundle.type [ fhir:value "collection"] ; fhir:Bundle.entry [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-asset-collection" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/Library/administermedication-asset-collection> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-library" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/Bundle/am-scenario7-bundle" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/Bundle/am-scenario7-bundle> ] . <http://hl7.org/fhir/uv/cpg/Library/administermedication-asset-collection> a fhir:Library ; fhir:Resource.id [ fhir:value "administermedication-asset-collection"] ; 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\"><a name=\"Library_administermedication-asset-collection\"> </a>\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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Activity Example - Administer Medication Library Collection</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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Asset collection of artifacts in the Administer Medication activity example</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-library-type.html\">http://terminology.hl7.org/CodeSystem/library-type</a>#asset-collection\n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"parameters\"> </a>Parameters</th>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n\n\n<td class=\"content-container\">None</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"related-artifacts\"> </a>Citations and References</th>\n\n\n</tr>\n\n\n<tr>\n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n \n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"http://hl7.org/fhir/uv/cql/STU2/Library-FHIR-ModelInfo.html\">http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n \n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"http://hl7.org/fhir/uv/cql/STU2/Library-FHIRHelpers.html\">http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n \n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"CodeSystem-cpg-activity-type-cs.html\">CPG Activity Type Code System</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Component</th>\n\n\n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"ActivityDefinition-activity-example-administermedication-ad.html\">Activity Example Administer Medication AD</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Component</th>\n\n\n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"Library-administermedication-library.html\">Administer Medication Library</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cpg/Library/administermedication-library</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Component</th>\n\n\n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"PlanDefinition-activity-example-administermedication-pd.html\">Activity Example Administer Medication PD</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd</tt>\n \n \n \n </td>\n</tr>\n\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:DomainResource.extension [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "shareable" ] ], [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "computable" ] ], [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "publishable" ] ] ; fhir:Library.url [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-asset-collection"] ; fhir:Library.name [ fhir:value "ActivityExampleAdministerMedicationLibrary"] ; fhir:Library.title [ fhir:value "Activity Example - Administer Medication Library Collection"] ; fhir:Library.status [ fhir:value "active"] ; fhir:Library.experimental [ fhir:value "true"^^xsd:boolean] ; fhir:Library.type [ fhir:CodeableConcept.coding [ fhir:index -1 ; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ] ; fhir:Coding.code [ fhir:value "asset-collection" ] ] ] ; fhir:Library.description [ fhir:value "Asset collection of artifacts in the Administer Medication activity example"] ; fhir:Library.relatedArtifact [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1" ; fhir:link <http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1" ; fhir:link <http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs" ; fhir:link <http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "composed-of" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad" ; fhir:link <http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "composed-of" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-library" ; fhir:link <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "composed-of" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd" ; fhir:link <http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd> ] ] . <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> a fhir:Library ; fhir:Resource.id [ fhir:value "administermedication-library"] ; 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\"><a name=\"Library_administermedication-library\"> </a>\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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Administer Medication Library</td>\n\n\n</tr>\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\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Logic for an example recommendation to administer a medication</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-library-type.html\">http://terminology.hl7.org/CodeSystem/library-type</a>#logic-library\n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: MedicationRequest\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a>\n <br/> \n \n \n \n \n </td>\n</tr>\n\n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: MedicationAdministration\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/medicationadministration.html\">MedicationAdministration</a>\n <br/> \n \n \n \n \n </td>\n</tr>\n\n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: Task\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/task.html\">Task</a>\n <br/> \n \n \n \n \n </td>\n</tr>\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"parameters\"> </a>Parameters</th>\n\n\n</tr>\n\n<tr>\n \n\n<th scope=\"row\" class=\"row-header\"/>\n\n\n <td class=\"content-container\">\n <table>\n <thead>\n <tr>\n <td><em>Name</em></td>\n <td><em>Use</em></td>\n <td><em>Card.</em></td>\n <td><em>Type</em></td>\n <td><em>Documentation</em></td>\n </tr>\n </thead>\n <tbody>\n \n <tr>\n <td>Patient</td>\n <td>Out</td>\n <td>0..1</td>\n <td>Patient</td>\n <td/>\n </tr>\n \n <tr>\n <td>Medication Proposal</td>\n <td>Out</td>\n <td>0..*</td>\n <td>MedicationRequest</td>\n <td/>\n </tr>\n \n <tr>\n <td>Medication Not Proposed</td>\n <td>Out</td>\n <td>0..*</td>\n <td>MedicationRequest</td>\n <td/>\n </tr>\n \n <tr>\n <td>Inclusion Criteria</td>\n <td>Out</td>\n <td>0..1</td>\n <td>boolean</td>\n <td/>\n </tr>\n \n <tr>\n <td>Active or Completed Medication Administration</td>\n <td>Out</td>\n <td>0..*</td>\n <td>MedicationAdministration</td>\n <td/>\n </tr>\n \n <tr>\n <td>Medication Administration Not Done</td>\n <td>Out</td>\n <td>0..*</td>\n <td>MedicationAdministration</td>\n <td/>\n </tr>\n \n <tr>\n <td>Administer Proposal</td>\n <td>Out</td>\n <td>0..*</td>\n <td>Task</td>\n <td/>\n </tr>\n \n <tr>\n <td>Administer Proposal Rejected</td>\n <td>Out</td>\n <td>0..*</td>\n <td>Task</td>\n <td/>\n </tr>\n \n <tr>\n <td>Is Recommendation Applicable</td>\n <td>Out</td>\n <td>0..1</td>\n <td>boolean</td>\n <td/>\n </tr>\n \n </tbody>\n </table>\n </td>\n</tr>\n\n\n\n\n\n\n\n\n <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Library Content</th>\n\n\n</tr>\n \n \n <tr>\n <th scope=\"row\" class=\"row-header\">CQL Content</th>\n <td>\n <a name=\"cql-content\"> </a>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">library AdministerMedication\n\nusing FHIR version '4.0.1'\n\ninclude hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' called FHIRHelpers\n\ncodesystem \"Activity Type\": 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'\n\ncode \"Administer medication\": 'administer-medication' from \"Activity Type\"\n\ncontext Patient\n\n/* Recommendation to administer an existing order for a medication */\n\n/*\nPositive recommendation:\n\nIf the medication has been ordered but has not been administered\n Propose administering the medication\n\nGiven a proposal, the user can:\n Accept the proposal\n Ignore the proposal\n Reject the proposal without reason\n Reject the proposal with reason\n\nScenario 1: No event, no request, decision support should propose\nScenario 2: No event, active proposal, decision support should not propose\nScenario 3: No event, rejected proposal, decision support should not propose\nScenario 4: Event, no request, decision support should not propose\nScenario 5: Event, active proposal, decision support should not propose\nScenario 6: Event not done, no request, decision support should not propose\nScenario 7: Event not done, active proposal, decision support should not propose\n\n*/\n\ndefine \"Inclusion Criteria\":\n Patient.active\n and exists (\"Medication Order\")\n\ndefine \"Active or Completed Medication Administration\":\n [MedicationAdministration] M\n where M.status in { 'in-progress', 'on-hold', 'completed' }\n\ndefine \"Medication Administration Not Done\":\n [MedicationAdministration] M\n where M.status in { 'not-done', 'stopped' } // TODO: Is 'stopped' appropriate here?\n\ndefine \"Medication Order\":\n [MedicationRequest] M\n where M.status in { 'active' }\n and M.intent = 'order'\n and M.doNotPerform is not true\n\ndefine \"Administer Proposal\":\n [Task] R\n where R.code ~ \"Administer medication\"\n and R.status in { 'draft', 'requested', 'received', 'accepted', 'ready' }\n and doNotPerform(R) is not true\n\ndefine \"Administer Proposal Rejected\":\n [Task] R\n where R.code ~ \"Administer medication\"\n and R.status in { 'rejected' }\n and doNotPerform(R) is not true\n\ndefine \"Is Recommendation Applicable\":\n \"Inclusion Criteria\"\n and not exists (\n \"Active or Completed Medication Administration\"\n union \"Medication Administration Not Done\"\n )\n and not exists (\n \"Administer Proposal\"\n union \"Administer Proposal Rejected\"\n )\n\ndefine function doNotPerform(task Task):\n singleton from (\n task.modifierExtension E\n where E.url = 'http://hl7.org/fhir/StructureDefinition/request-doNotPerform'\n ).value as boolean\n</code></pre>\n </td>\n </tr>\n \n \n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"related-artifacts\"> </a>Citations and References</th>\n\n\n</tr>\n\n\n<tr>\n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n \n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"http://hl7.org/fhir/uv/cql/STU2/Library-FHIR-ModelInfo.html\">http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n \n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"http://hl7.org/fhir/uv/cql/STU2/Library-FHIRHelpers.html\">http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</tt>\n \n \n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n \n \n <td class=\"content-container\">\n \n \n \n \n \n <em>Resource</em>: <a href=\"CodeSystem-cpg-activity-type-cs.html\">CPG Activity Type Code System</a>\n <br/>\n <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs</tt>\n \n \n \n </td>\n</tr>\n\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:DomainResource.extension [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "shareable" ] ], [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "computable" ] ], [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "publishable" ] ] ; fhir:Library.url [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-library"] ; fhir:Library.version [ fhir:value "3.0.0-ballot"] ; fhir:Library.name [ fhir:value "AdministerMedicationLibrary"] ; fhir:Library.title [ fhir:value "Administer Medication Library"] ; fhir:Library.status [ fhir:value "active"] ; fhir:Library.experimental [ fhir:value "true"^^xsd:boolean] ; fhir:Library.type [ fhir:CodeableConcept.coding [ fhir:index -1 ; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ] ; fhir:Coding.code [ fhir:value "logic-library" ] ] ] ; fhir:Library.description [ fhir:value "Logic for an example recommendation to administer a medication"] ; fhir:Library.relatedArtifact [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1" ; fhir:link <http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1" ; fhir:link <http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1> ] ], [ fhir:index -1 ; fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ; fhir:RelatedArtifact.resource [ fhir:value "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs" ; fhir:link <http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs> ] ] ; fhir:Library.parameter [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Patient" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "1" ] ; fhir:ParameterDefinition.type [ fhir:value "Patient" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Medication Proposal" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "*" ] ; fhir:ParameterDefinition.type [ fhir:value "MedicationRequest" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Medication Not Proposed" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "*" ] ; fhir:ParameterDefinition.type [ fhir:value "MedicationRequest" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Inclusion Criteria" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "1" ] ; fhir:ParameterDefinition.type [ fhir:value "boolean" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Active or Completed Medication Administration" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "*" ] ; fhir:ParameterDefinition.type [ fhir:value "MedicationAdministration" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Medication Administration Not Done" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "*" ] ; fhir:ParameterDefinition.type [ fhir:value "MedicationAdministration" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Administer Proposal" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "*" ] ; fhir:ParameterDefinition.type [ fhir:value "Task" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Administer Proposal Rejected" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "*" ] ; fhir:ParameterDefinition.type [ fhir:value "Task" ] ], [ fhir:index -1 ; fhir:ParameterDefinition.name [ fhir:value "Is Recommendation Applicable" ] ; fhir:ParameterDefinition.use [ fhir:value "out" ] ; fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ; fhir:ParameterDefinition.max [ fhir:value "1" ] ; fhir:ParameterDefinition.type [ fhir:value "boolean" ] ] ; fhir:Library.dataRequirement [ fhir:index -1 ; fhir:DataRequirement.type [ fhir:value "MedicationRequest" ] ; fhir:DataRequirement.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ], [ fhir:index -1 ; fhir:DataRequirement.type [ fhir:value "MedicationRequest" ] ; fhir:DataRequirement.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ], [ fhir:index -1 ; fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ] ; fhir:DataRequirement.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration> ] ], [ fhir:index -1 ; fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ] ; fhir:DataRequirement.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration> ] ], [ fhir:index -1 ; fhir:DataRequirement.type [ fhir:value "Task" ] ; fhir:DataRequirement.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Task" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Task> ] ], [ fhir:index -1 ; fhir:DataRequirement.type [ fhir:value "Task" ] ; fhir:DataRequirement.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Task" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Task> ] ] ; fhir:Library.content [ fhir:index -1 ; fhir:Attachment.contentType [ fhir:value "text/cql" ] ; fhir:Attachment.data [ fhir:value "bGlicmFyeSBBZG1pbmlzdGVyTWVkaWNhdGlvbgoKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKCmluY2x1ZGUgaGw3LmZoaXIudXYuY3FsLkZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4xJyBjYWxsZWQgRkhJUkhlbHBlcnMKCmNvZGVzeXN0ZW0gIkFjdGl2aXR5IFR5cGUiOiAnaH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vTm90UGVyZm9ybScKICApLnZhbHVlIGFzIGJvb2xlYW4K"^^xsd:base64Binary ] ] . <http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd> a fhir:PlanDefinition ; fhir:Resource.id [ fhir:value "activity-example-administermedication-pd"] ; fhir:Resource.meta [ fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition> ], [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableplandefinition" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableplandefinition> ] ] ; 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\"><a name=\"PlanDefinition_activity-example-administermedication-pd\"> </a>\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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Activity Example Administer Medication PD</td>\n\n\n</tr>\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\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</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<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Example Plan Definition for a recommendation to administer a medication</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a>#eca-rule\n\n\n</td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Collect date of patient last visit</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<tr>\n <th scope=\"row\" class=\"row-header\">Condition</th>\n <td class=\"content-container\">\n <em>Kind</em>: Applicability\n \n <br/>\n <em>Logic Definition</em>: <code>Is Recommendation Applicable</code>\n \n (<a href=\"Library-administermedication-library.html\">Administer Medication Library</a>)\n \n \n </td>\n</tr>\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-action-type.html\">http://terminology.hl7.org/CodeSystem/action-type</a>#create\n\n\n</td>\n\n\n</tr>\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\">Definition</th>\n\n\n\n<td class=\"content-container\"><a href=\"ActivityDefinition-activity-example-administermedication-ad.html\">Activity Example Administer Medication AD</a></td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Logic</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Primary Library</th>\n\n\n\n<td class=\"content-container\"><a href=\"Library-administermedication-library.html\">Administer Medication Library</a></td>\n\n\n</tr>\n\n\n\n\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:DomainResource.extension [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "shareable" ] ], [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "computable" ] ], [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ; fhir:Extension.valueCode [ fhir:value "publishable" ] ] ; fhir:PlanDefinition.url [ fhir:value "http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd"] ; fhir:PlanDefinition.version [ fhir:value "3.0.0-ballot"] ; fhir:PlanDefinition.name [ fhir:value "ActivityExampleAdministerMedicationPD"] ; fhir:PlanDefinition.title [ fhir:value "Activity Example Administer Medication PD"] ; fhir:PlanDefinition.type [ fhir:CodeableConcept.coding [ fhir:index -1 ; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/plan-definition-type" ] ; fhir:Coding.code [ fhir:value "eca-rule" ] ] ] ; fhir:PlanDefinition.status [ fhir:value "active"] ; fhir:PlanDefinition.experimental [ fhir:value "true"^^xsd:boolean] ; fhir:PlanDefinition.description [ fhir:value "Example Plan Definition for a recommendation to administer a medication"] ; fhir:PlanDefinition.library [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-library" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ] ; fhir:PlanDefinition.action [ fhir:index -1 ; fhir:PlanDefinition.action.title [ fhir:value "Collect date of patient last visit" ] ; fhir:PlanDefinition.action.condition [ fhir:index -1 ; fhir:PlanDefinition.action.condition.kind [ fhir:value "applicability" ] ; fhir:PlanDefinition.action.condition.expression [ fhir:Expression.language [ fhir:value "text/cql" ] ; fhir:Expression.expression [ fhir:value "Is Recommendation Applicable" ] ] ] ; fhir:PlanDefinition.action.type [ fhir:CodeableConcept.coding [ fhir:index -1 ; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/action-type" ] ; fhir:Coding.code [ fhir:value "create" ] ] ] ; fhir:PlanDefinition.action.definitionCanonical [ fhir:value "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad" ; fhir:link <http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad> ] ] . <http://hl7.org/fhir/uv/cpg/Bundle/am-scenario7-bundle> a fhir:Bundle ; fhir:Resource.id [ fhir:value "am-scenario7-bundle"] ; fhir:Resource.language [ fhir:value "en"] ; fhir:Bundle.type [ fhir:value "collection"] ; fhir:Bundle.entry [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/GuidanceResponse/am-scenario7-gr" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/GuidanceResponse/am-scenario7-gr> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/MedicationAdministration/am-scenario7" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/MedicationAdministration/am-scenario7> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> ], [ fhir:index -1 ; fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/uv/cpg/Task/request-am-scenario7" ] ; fhir:Bundle.entry.resource <http://hl7.org/fhir/uv/cpg/Task/request-am-scenario7> ] . <http://hl7.org/fhir/uv/cpg/GuidanceResponse/am-scenario7-gr> a fhir:GuidanceResponse ; fhir:Resource.id [ fhir:value "am-scenario7-gr"] ; fhir:Resource.language [ fhir:value "en"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Evaluation succeeded. The patient meets the inclusion criteria, and the recommendation is inapplicable.</p></div>" ] ; fhir:DomainResource.contained [ a fhir:Parameters ; fhir:index -1 ; fhir:Resource.id [ fhir:value "output" ] ; fhir:Parameters.parameter [ fhir:index -1 ; fhir:Parameters.parameter.name [ fhir:value "Inclusion Criteria" ] ; fhir:Parameters.parameter.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index -1 ; fhir:Parameters.parameter.name [ fhir:value "Is Recommendation Applicable" ] ; fhir:Parameters.parameter.valueBoolean [ fhir:value "false"^^xsd:boolean ] ] ] ; fhir:GuidanceResponse.moduleCanonical [ fhir:value "http://hl7.org/fhir/uv/cpg/Library/administermedication-library" ; fhir:link <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ] ; fhir:GuidanceResponse.status [ fhir:value "success"] ; fhir:GuidanceResponse.subject [ fhir:link <http://hl7.org/fhir/Patient/am-scenario7-patient> ; fhir:Reference.reference [ fhir:value "Patient/am-scenario7-patient" ] ] ; fhir:GuidanceResponse.outputParameters [ fhir:Reference.reference [ fhir:value "#output" ] ] . <http://hl7.org/fhir/Patient/am-scenario7-patient> a fhir:Patient . <http://hl7.org/fhir/uv/cpg/MedicationAdministration/am-scenario7> a fhir:MedicationAdministration ; fhir:Resource.id [ fhir:value "am-scenario7"] ; fhir:Resource.meta [ fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationadministration" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationadministration> ] ] ; fhir:Resource.language [ fhir:value "en"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Administration of the fentanyl 25 microgram/hour prolonged-release patch was recorded as not done for the example patient.</p></div>" ] ; fhir:MedicationAdministration.status [ fhir:value "not-done"] ; fhir:MedicationAdministration.medicationCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index -1 ; a sct:769510009 ; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ; fhir:Coding.code [ fhir:value "769510009" ] ; fhir:Coding.display [ fhir:value "Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)" ] ] ] ; fhir:MedicationAdministration.subject [ fhir:link <http://hl7.org/fhir/Patient/am-scenario7-patient> ; fhir:Reference.reference [ fhir:value "Patient/am-scenario7-patient" ] ] ; fhir:MedicationAdministration.effectivePeriod [ fhir:Period.start [ fhir:value "2015-01-15T22:03:00+01:00"^^xsd:dateTime ] ; fhir:Period.end [ fhir:value "2015-01-16T02:03:00+01:00"^^xsd:dateTime ] ] ; fhir:MedicationAdministration.request [ fhir:link <http://hl7.org/fhir/MedicationRequest/am-scenario7-mr> ; fhir:Reference.reference [ fhir:value "MedicationRequest/am-scenario7-mr" ] ] ; fhir:MedicationAdministration.dosage [ fhir:MedicationAdministration.dosage.text [ fhir:value "apply one patch three times per week" ] ; fhir:MedicationAdministration.dosage.dose [ fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ; fhir:Quantity.unit [ fhir:value "patch" ] ; fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ; fhir:Quantity.code [ fhir:value "PATCH" ] ] ] . <http://hl7.org/fhir/MedicationRequest/am-scenario7-mr> a fhir:MedicationRequest . <http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr> a fhir:MedicationRequest ; fhir:Resource.id [ fhir:value "am-scenario7-mr"] ; fhir:Resource.meta [ fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest> ] ] ; fhir:Resource.language [ fhir:value "en"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Active order for the example patient to apply one fentanyl 25 microgram/hour prolonged-release patch three times per week.</p></div>" ] ; fhir:MedicationRequest.status [ fhir:value "active"] ; fhir:MedicationRequest.intent [ fhir:value "order"] ; fhir:MedicationRequest.priority [ fhir:value "routine"] ; fhir:MedicationRequest.medicationCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index -1 ; a sct:769510009 ; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ; fhir:Coding.code [ fhir:value "769510009" ] ; fhir:Coding.display [ fhir:value "Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)" ] ] ] ; fhir:MedicationRequest.subject [ fhir:link <http://hl7.org/fhir/Patient/am-scenario7-patient> ; fhir:Reference.reference [ fhir:value "Patient/am-scenario7-patient" ] ] ; fhir:MedicationRequest.dosageInstruction [ fhir:index -1 ; fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ] ; fhir:Dosage.text [ fhir:value "apply one patch three times per week" ] ; fhir:Dosage.timing [ fhir:Timing.repeat [ fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:positiveInteger ] ; fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ; fhir:Timing.repeat.periodUnit [ fhir:value "wk" ] ] ] ; fhir:Dosage.doseAndRate [ fhir:index -1 ; fhir:Dosage.doseAndRate.type [ fhir:CodeableConcept.coding [ fhir:index -1 ; 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 "patch" ] ; fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ; fhir:Quantity.code [ fhir:value "PATCH" ] ] ] ] ; fhir:MedicationRequest.dispenseRequest [ fhir:MedicationRequest.dispenseRequest.validityPeriod [ fhir:Period.start [ fhir:value "2015-01-15"^^xsd:date ] ; fhir:Period.end [ fhir:value "2016-01-15"^^xsd:date ] ] ; fhir:MedicationRequest.dispenseRequest.quantity [ fhir:Quantity.value [ fhir:value "6"^^xsd:decimal ] ; fhir:Quantity.unit [ fhir:value "patch" ] ; fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ; fhir:Quantity.code [ fhir:value "PATCH" ] ] ; fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [ fhir:Quantity.value [ fhir:value "14"^^xsd:decimal ] ; fhir:Quantity.unit [ fhir:value "days" ] ; fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ; fhir:Quantity.code [ fhir:value "d" ] ] ] . <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> a fhir:Patient ; fhir:Resource.id [ fhir:value "am-scenario7-patient"] ; fhir:Resource.meta [ fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-patient" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-patient> ] ] ; fhir:Resource.language [ fhir:value "en"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Example Patient, an active female patient born October 1, 1990.</p></div>" ] ; fhir:Patient.active [ fhir:value "true"^^xsd:boolean] ; fhir:Patient.name [ fhir:index -1 ; fhir:HumanName.use [ fhir:value "usual" ] ; fhir:HumanName.text [ fhir:value "Example Patient" ] ; fhir:HumanName.family [ fhir:value "Patient" ] ; fhir:HumanName.given [ fhir:value "Example" ; fhir:index -1 ] ] ; fhir:Patient.gender [ fhir:value "female"] ; fhir:Patient.birthDate [ fhir:value "1990-10-01"^^xsd:date] ; fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean] . <http://hl7.org/fhir/uv/cpg/Task/request-am-scenario7> a fhir:Task ; fhir:Resource.id [ fhir:value "request-am-scenario7"] ; fhir:Resource.meta [ fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-administermedicationtask" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-administermedicationtask> ], [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task" ; fhir:index -1 ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task> ] ] ; fhir:Resource.language [ fhir:value "en"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>The ordered task to administer the medication specified by the example patient's medication request is in progress.</p></div>" ] ; fhir:Task.instantiatesCanonical [ fhir:value "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad" ; fhir:link <http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad> ] ; fhir:Task.status [ fhir:value "in-progress"] ; fhir:Task.intent [ fhir:value "order"] ; fhir:Task.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 "administer-medication" ] ; fhir:Coding.display [ fhir:value "Administer a medication" ] ] ] ; fhir:Task.for [ fhir:link <http://hl7.org/fhir/Patient/am-scenario7-patient> ; fhir:Reference.reference [ fhir:value "Patient/am-scenario7-patient" ] ] ; fhir:Task.input [ fhir:index -1 ; fhir:Task.input.type [ 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 "administer-medication" ] ; fhir:Coding.display [ fhir:value "Administer a medication" ] ] ] ; fhir:Task.input.valueReference [ fhir:link <http://hl7.org/fhir/MedicationRequest/am-scenario7-mr> ; fhir:Reference.reference [ fhir:value "MedicationRequest/am-scenario7-mr" ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Bundle/activity-example-administermedication-bundle.ttl> a owl:Ontology ; owl:imports fhir:fhir.ttl ; owl:versionIRI <http://build.fhir.org/Bundle/activity-example-administermedication-bundle.ttl> .
IG © 2023+ HL7 International / Clinical Decision Support.
Package hl7.fhir.uv.cpg#3.0.0-ballot based on FHIR 4.0.1.
Generated
2026-11-20
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change
