This page is part of the Clinical Guidelines (v2.0.0-ballot: STU2 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 1.0.0. For a full list of available versions, 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 ------------------------------------------------------------------- a fhir:Bundle ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "activity-example-administermedication-bundle"] ; # fhir:meta [ ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-artifactbundle"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-artifactbundle> ] ) ] ; # fhir:type [ fhir:v "collection"] ; # fhir:entry ( [ fhir:fullUrl [ fhir:v "http://example.org/Library/activity-example-administermedication-1"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/Library/activity-example-administermedication-1> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/Library/AdministerMedication"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/Library/AdministerMedication> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/PlanDefinition/activity-example-administermedication-2"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/PlanDefinition/activity-example-administermedication-2> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/Bundle/am-scenario7-inline-bundle"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/Bundle/am-scenario7-inline-bundle> ) ] ) . # <http://example.org/Library/activity-example-administermedication-1> a fhir:Library ; fhir:id [ fhir:v "activity-example-administermedication-1"] ; # fhir:meta [ ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-assetcollection"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-assetcollection> ] ) ] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Library</b><a name=\"activity-example-administermedication-1\"> </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 Library "activity-example-administermedication-1" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cpg-assetcollection.html\">CPG Asset Collection</a></p></div><p><b>CQF Knowledge capability</b>: shareable</p><p><b>CQF Knowledge capability</b>: computable</p><p><b>CQF Knowledge capability</b>: publishable</p><p><b>CQF knowledge representation level</b>: structured</p><p><b>url</b>: <code>http://hl7.org/fhir/uv/cpg/Library/activity-example-administermedication-1</code></p><p><b>version</b>: 2.0.0</p><p><b>name</b>: ActivityExampleAdministerMedication</p><p><b>title</b>: Activity Example - Administer Medication Collection</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>type</b>: Asset Collection <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-library-type.html\">LibraryType</a>#asset-collection)</span></p><p><b>publisher</b>: HL7 International / Clinical Decision Support</p><p><b>description</b>: Asset collection of artifacts in the Administer Medication activity example</p><h3>RelatedArtifacts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Resource</b></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td><a href=\"http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo\">http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td><a href=\"http://fhir.org/guides/cqf/common/Library/FHIRHelpers\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td><a href=\"CodeSystem-cpg-activity-type-cs.html\">CPG Activity Type Code System</a></td></tr><tr><td style=\"display: none\">*</td><td>composed-of</td><td><a href=\"ActivityDefinition-activity-example-administermedication-ad.html\">Activity Example Administer Medication AD</a></td></tr><tr><td style=\"display: none\">*</td><td>composed-of</td><td><a href=\"Library-administermedication-library.html\">Administer Medication Library</a></td></tr><tr><td style=\"display: none\">*</td><td>composed-of</td><td><a href=\"PlanDefinition-activity-example-administermedication-pd.html\">Activity Example Administer Medication PD</a></td></tr></table></div>" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "shareable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "computable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "publishable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"^^xsd:anyURI ] ; fhir:value [ fhir:v "structured" ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/Library/activity-example-administermedication-1"^^xsd:anyURI] ; # fhir:version [ fhir:v "2.0.0"] ; # fhir:name [ fhir:v "ActivityExampleAdministerMedication"] ; # fhir:title [ fhir:v "Activity Example - Administer Medication Collection"] ; # fhir:status [ fhir:v "draft"] ; # fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "asset-collection" ] ] ) ] ; # fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # fhir:description [ fhir:v "Asset collection of artifacts in the Administer Medication activity example"] ; # fhir:relatedArtifact ( [ fhir:type [ fhir:v "depends-on" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs> ] ] [ fhir:type [ fhir:v "composed-of" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad> ] ] [ fhir:type [ fhir:v "composed-of" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/uv/cpg/Library/administermedication-library"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ] ] [ fhir:type [ fhir:v "composed-of" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-pd> ] ] ) . # <http://example.org/Library/AdministerMedication> a fhir:Library ; fhir:id [ fhir:v "AdministerMedication"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Library</b><a name=\"AdministerMedication\"> </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 Library "AdministerMedication" </p></div><p><b>CQF Knowledge capability</b>: shareable</p><p><b>CQF Knowledge capability</b>: computable</p><p><b>CQF Knowledge capability</b>: publishable</p><p><b>CQF knowledge representation level</b>: structured</p><p><b>url</b>: <code>http://hl7.org/fhir/uv/cpg/Library/AdministerMedication</code></p><p><b>version</b>: 2.0.0</p><p><b>name</b>: AdministerMedication</p><p><b>title</b>: Administer Medication</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>type</b>: Logic Library <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-library-type.html\">LibraryType</a>#logic-library)</span></p><p><b>publisher</b>: HL7 International / Clinical Decision Support</p><p><b>description</b>: Logic for an example recommendation to administer a medication</p><h3>RelatedArtifacts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Resource</b></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td><a href=\"http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo\">http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td><a href=\"http://fhir.org/guides/cqf/common/Library/FHIRHelpers\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td><a href=\"CodeSystem-cpg-activity-type-cs.html\">CPG Activity Type Code System</a></td></tr></table><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Use</b></td><td><b>Min</b></td><td><b>Max</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>Patient</td><td>out</td><td>0</td><td>1</td><td>Patient</td></tr><tr><td style=\"display: none\">*</td><td>Medication Proposal</td><td>out</td><td>0</td><td>*</td><td>MedicationRequest</td></tr><tr><td style=\"display: none\">*</td><td>Medication Not Proposed</td><td>out</td><td>0</td><td>*</td><td>MedicationRequest</td></tr><tr><td style=\"display: none\">*</td><td>Inclusion Criteria</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr><tr><td style=\"display: none\">*</td><td>Active or Completed Medication Administration</td><td>out</td><td>0</td><td>*</td><td>MedicationAdministration</td></tr><tr><td style=\"display: none\">*</td><td>Medication Administration Not Done</td><td>out</td><td>0</td><td>*</td><td>MedicationAdministration</td></tr><tr><td style=\"display: none\">*</td><td>Administer Proposal</td><td>out</td><td>0</td><td>*</td><td>Task</td></tr><tr><td style=\"display: none\">*</td><td>Administer Proposal Rejected</td><td>out</td><td>0</td><td>*</td><td>Task</td></tr><tr><td style=\"display: none\">*</td><td>Is Recommendation Applicable</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr></table><h3>DataRequirements</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>MedicationRequest</td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></td></tr><tr><td style=\"display: none\">*</td><td>MedicationRequest</td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></td></tr><tr><td style=\"display: none\">*</td><td>MedicationAdministration</td><td><a href=\"http://hl7.org/fhir/R4/medicationadministration.html\">MedicationAdministration</a></td></tr><tr><td style=\"display: none\">*</td><td>MedicationAdministration</td><td><a href=\"http://hl7.org/fhir/R4/medicationadministration.html\">MedicationAdministration</a></td></tr><tr><td style=\"display: none\">*</td><td>Task</td><td><a href=\"http://hl7.org/fhir/R4/task.html\">Task</a></td></tr><tr><td style=\"display: none\">*</td><td>Task</td><td><a href=\"http://hl7.org/fhir/R4/task.html\">Task</a></td></tr></table><h3>Contents</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Data</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql</td><td>(base64 data - 2710 bytes)</td></tr></table></div>" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "shareable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "computable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "publishable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"^^xsd:anyURI ] ; fhir:value [ fhir:v "structured" ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/Library/AdministerMedication"^^xsd:anyURI] ; # fhir:version [ fhir:v "2.0.0"] ; # fhir:name [ fhir:v "AdministerMedication"] ; # fhir:title [ fhir:v "Administer Medication"] ; # fhir:status [ fhir:v "draft"] ; # fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "logic-library" ] ] ) ] ; # fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # fhir:description [ fhir:v "Logic for an example recommendation to administer a medication"] ; # fhir:relatedArtifact ( [ fhir:type [ fhir:v "depends-on" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs> ] ] ) ; # fhir:parameter ( [ fhir:name [ fhir:v "Patient" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Patient" ] ] [ fhir:name [ fhir:v "Medication Proposal" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "MedicationRequest" ] ] [ fhir:name [ fhir:v "Medication Not Proposed" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "MedicationRequest" ] ] [ fhir:name [ fhir:v "Inclusion Criteria" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] [ fhir:name [ fhir:v "Active or Completed Medication Administration" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "MedicationAdministration" ] ] [ fhir:name [ fhir:v "Medication Administration Not Done" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "MedicationAdministration" ] ] [ fhir:name [ fhir:v "Administer Proposal" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "Task" ] ] [ fhir:name [ fhir:v "Administer Proposal Rejected" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "Task" ] ] [ fhir:name [ fhir:v "Is Recommendation Applicable" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] ) ; # fhir:dataRequirement ( [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ] [ fhir:type [ fhir:v "MedicationRequest" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest> ] ) ] [ fhir:type [ fhir:v "MedicationAdministration" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationAdministration"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration> ] ) ] [ fhir:type [ fhir:v "MedicationAdministration" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationAdministration"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration> ] ) ] [ fhir:type [ fhir:v "Task" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Task"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Task> ] ) ] [ fhir:type [ fhir:v "Task" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Task"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Task> ] ) ] ) ; # fhir:content ( [ fhir:contentType [ fhir:v "text/cql" ] ; fhir:data [ fhir:v "bGlicmFyeSBBZG1pbmlzdGVyTWVkaWNhdGlvbgoKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKCmluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnNC4wLjEnCgpjb2Rlc3lzdGVtICJBY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bmN0aW9uIGRvTm90UGVyZm9ybSh0YXNrIFRhc2spOgogIHNpbmdsZXRvbiBmcm9tICgKICAgIHRhc2subW9kaWZpZXJFeHRlbnNpb24gRQogICAgICB3aGVyZSBFLnVybCA9ICdodHRwOi8vaGw3Lm9yZy9maGlyL1N0cnVjdHVyZURlZmluaXRpb24vcmVxdWVzdC1kb05vdFBlcmZvcm0nCiAgKS52YWx1ZSBhcyBib29sZWFuCg=="^^xsd:base64Binary ] ] ) . # <http://example.org/PlanDefinition/activity-example-administermedication-2> a fhir:PlanDefinition ; fhir:id [ fhir:v "activity-example-administermedication-2"] ; # fhir:meta [ ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableplandefinition"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableplandefinition> ] ) ] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: PlanDefinition</b><a name=\"activity-example-administermedication-2\"> </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 PlanDefinition "activity-example-administermedication-2" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cpg-computableplandefinition.html\">CPG Computable Plan Definition</a></p></div><p><b>CQF Knowledge capability</b>: shareable</p><p><b>CQF Knowledge capability</b>: computable</p><p><b>CQF Knowledge capability</b>: publishable</p><p><b>CQF knowledge representation level</b>: structured</p><p><b>url</b>: <code>http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-2</code></p><p><b>version</b>: 2.0.0</p><p><b>name</b>: ActivityExampleAdministerMedication</p><p><b>title</b>: Activity Example Administer Medication</p><p><b>type</b>: ECA Rule <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-plan-definition-type.html\">PlanDefinitionType</a>#eca-rule)</span></p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2023-11-02</p><p><b>publisher</b>: HL7 International / Clinical Decision Support</p><p><b>description</b>: Example Plan Definition for a recommendation to administer a medication</p><p><b>library</b>: <a href=\"Library-administermedication-library.html\">Administer Medication Library</a></p><blockquote><p><b>action</b></p><p><b>title</b>: Collect date of patient last visit</p><blockquote><p><b>condition</b></p><p><b>kind</b>: applicability</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>text/cql</td><td>Is Recommendation Applicable</td></tr></table></blockquote><p><b>type</b>: Create <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-action-type.html\">ActionType</a>#create)</span></p><p><b>definition</b>: <a href=\"ActivityDefinition-activity-example-administermedication-ad.html\">Activity Example Administer Medication AD</a></p></blockquote></div>" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "shareable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "computable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ; fhir:value [ fhir:v "publishable" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"^^xsd:anyURI ] ; fhir:value [ fhir:v "structured" ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/uv/cpg/PlanDefinition/activity-example-administermedication-2"^^xsd:anyURI] ; # fhir:version [ fhir:v "2.0.0"] ; # fhir:name [ fhir:v "ActivityExampleAdministerMedication"] ; # fhir:title [ fhir:v "Activity Example Administer Medication"] ; # fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "eca-rule" ] ] ) ] ; # fhir:status [ fhir:v "draft"] ; # fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # fhir:date [ fhir:v "2023-11-02"^^xsd:date] ; # fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # fhir:description [ fhir:v "Example Plan Definition for a recommendation to administer a medication"] ; # fhir:library ( [ fhir:v "http://hl7.org/fhir/uv/cpg/Library/administermedication-library"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ] ) ; # fhir:action ( [ fhir:title [ fhir:v "Collect date of patient last visit" ] ; ( fhir:condition [ fhir:kind [ fhir:v "applicability" ] ; fhir:expression [ fhir:language [ fhir:v "text/cql" ] ; fhir:expression [ fhir:v "Is Recommendation Applicable" ] ] ] ) ; fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/action-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "create" ] ] ) ] ; fhir:definition [ fhir:v "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad> ] ] ) . # <http://example.org/Bundle/am-scenario7-inline-bundle> a fhir:Bundle ; fhir:id [ fhir:v "am-scenario7-inline-bundle"] ; # fhir:meta [ ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-testcasebundle"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-testcasebundle> ] ) ] ; # fhir:type [ fhir:v "collection"] ; # fhir:entry ( [ fhir:fullUrl [ fhir:v "http://example.org/GuidanceResponse/am-scenario7-1"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/GuidanceResponse/am-scenario7-1> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/MedicationAdministration/am-scenario7-2"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/MedicationAdministration/am-scenario7-2> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/MedicationRequest/am-scenario7-3"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/MedicationRequest/am-scenario7-3> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/Patient/am-scenario7-4"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/Patient/am-scenario7-4> ) ] [ fhir:fullUrl [ fhir:v "http://example.org/Task/request-am-scenario7-5"^^xsd:anyURI ] ; ( fhir:resource <http://example.org/Task/request-am-scenario7-5> ) ] ) . # <http://example.org/GuidanceResponse/am-scenario7-1> a fhir:GuidanceResponse ; fhir:id [ fhir:v "am-scenario7-1"] ; # fhir:contained ( [ a fhir:Parameters ; fhir:id [ fhir:v "output" ] ; ( fhir:parameter [ fhir:name [ fhir:v "Inclusion Criteria" ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:name [ fhir:v "Is Recommendation Applicable" ] ; fhir:value [ fhir:v "false"^^xsd:boolean ] ] ) ] ) ; # fhir:module [ fhir:v "http://hl7.org/fhir/uv/cpg/Library/administermedication-library"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/Library/administermedication-library> ] ; # fhir:status [ fhir:v "success"] ; # fhir:subject [ fhir:reference [ fhir:v "Patient/am-scenario7-patient" ] ] ; # fhir:outputParameters [ fhir:reference [ fhir:v "#output" ] ] . # <http://example.org/MedicationAdministration/am-scenario7-2> a fhir:MedicationAdministration ; fhir:id [ fhir:v "am-scenario7-2"] ; # fhir:status [ fhir:v "not-done"] ; # fhir:medication [ a fhir:CodeableConcept ; ( fhir:coding [ a sct:333919005 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "333919005" ] ; fhir:display [ fhir:v "Fentanyl 25micrograms/hour patch (product)" ] ] ) ] ; # fhir:subject [ fhir:reference [ fhir:v "Patient/am-scenario7-patient" ] ] ; # fhir:effective [ a fhir:Period ; fhir:start [ fhir:v "2015-01-15T22:03:00+01:00"^^xsd:dateTime ] ; fhir:end [ fhir:v "2015-01-16T02:03:00+01:00"^^xsd:dateTime ] ] ; # fhir:request [ fhir:reference [ fhir:v "MedicationRequest/am-scenario7-mr" ] ] ; # fhir:dosage [ fhir:text [ fhir:v "apply one patch three times per week" ] ; fhir:dose [ fhir:value [ fhir:v "1"^^xsd:decimal ] ; fhir:unit [ fhir:v "patch" ] ; fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ; fhir:code [ fhir:v "PATCH" ] ] ] . # <http://example.org/MedicationRequest/am-scenario7-3> a fhir:MedicationRequest ; fhir:id [ fhir:v "am-scenario7-3"] ; # fhir:status [ fhir:v "active"] ; # fhir:intent [ fhir:v "order"] ; # fhir:priority [ fhir:v "routine"] ; # fhir:medication [ a fhir:CodeableConcept ; ( fhir:coding [ a sct:333919005 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "333919005" ] ; fhir:display [ fhir:v "Fentanyl 25micrograms/hour patch (product)" ] ] ) ] ; # fhir:subject [ fhir:reference [ fhir:v "Patient/am-scenario7-patient" ] ] ; # fhir:dosageInstruction ( [ fhir:sequence [ fhir:v "1"^^xsd:integer ] ; fhir:text [ fhir:v "apply one patch three times per week" ] ; fhir:timing [ fhir:repeat [ fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ; fhir:period [ fhir:v "1"^^xsd:decimal ] ; fhir:periodUnit [ fhir:v "wk" ] ] ] ; ( fhir:doseAndRate [ fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ] ; 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 "patch" ] ; fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ; fhir:code [ fhir:v "PATCH" ] ] ] ) ] ) ; # fhir:dispenseRequest [ fhir:validityPeriod [ fhir:start [ fhir:v "2015-01-15"^^xsd:date ] ; fhir:end [ fhir:v "2016-01-15"^^xsd:date ] ] ; fhir:quantity [ fhir:value [ fhir:v "6"^^xsd:decimal ] ; fhir:unit [ fhir:v "patch" ] ; fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ; fhir:code [ fhir:v "PATCH" ] ] ; fhir:expectedSupplyDuration [ fhir:value [ fhir:v "14"^^xsd:decimal ] ; fhir:unit [ fhir:v "days" ] ; fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ; fhir:code [ fhir:v "d" ] ] ] . # <http://example.org/Patient/am-scenario7-4> a fhir:Patient ; fhir:id [ fhir:v "am-scenario7-4"] ; # fhir:active [ fhir:v "true"^^xsd:boolean] ; # fhir:name ( [ fhir:use [ fhir:v "usual" ] ; fhir:text [ fhir:v "Example Patient" ] ; fhir:family [ fhir:v "Patient" ] ; ( fhir:given [ fhir:v "Example" ] ) ] ) ; # fhir:gender [ fhir:v "female"] ; # fhir:birthDate [ fhir:v "1990-10-01"^^xsd:date] ; # fhir:deceased [ fhir:v "false"^^xsd:boolean] . # <http://example.org/Task/request-am-scenario7-5> a fhir:Task ; fhir:id [ fhir:v "request-am-scenario7-5"] ; # fhir:instantiatesCanonical [ fhir:v "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-administermedication-ad> ] ; # fhir:status [ fhir:v "in-progress"] ; # fhir:intent [ fhir:v "order"] ; # 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 "administer-medication" ] ; fhir:display [ fhir:v "Administer a medication" ] ] ) ] ; # fhir:for [ fhir:reference [ fhir:v "Patient/am-scenario7-patient" ] ] ; # fhir:input ( [ fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ; fhir:code [ fhir:v "administer-medication" ] ; fhir:display [ fhir:v "Administer a medication" ] ] ) ] ; fhir:value [ a fhir:Reference ; fhir:reference [ fhir:v "MedicationRequest/am-scenario7-mr" ] ] ] ) . #
IG © 2023+ HL7 International / Clinical Decision Support. Package hl7.fhir.uv.cpg#2.0.0-ballot based on FHIR 4.0.1. Generated 2023-12-19
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change