@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/uv/cpg/Bundle/am-scenario7-bundle> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "am-scenario7-bundle"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "http://hl7.org/fhir/uv/cpg/GuidanceResponse/am-scenario7-gr"^^xsd:anyURI ] ;
     fhir:resource ( <http://hl7.org/fhir/uv/cpg/GuidanceResponse/am-scenario7-gr> )
  ] [
     fhir:fullUrl [ fhir:v "http://hl7.org/fhir/uv/cpg/MedicationAdministration/am-scenario7"^^xsd:anyURI ] ;
     fhir:resource ( <http://hl7.org/fhir/uv/cpg/MedicationAdministration/am-scenario7> )
  ] [
     fhir:fullUrl [ fhir:v "http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr"^^xsd:anyURI ] ;
     fhir:resource ( <http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr> )
  ] [
     fhir:fullUrl [ fhir:v "http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient"^^xsd:anyURI ] ;
     fhir:resource ( <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> )
  ] [
     fhir:fullUrl [ fhir:v "http://hl7.org/fhir/uv/cpg/Task/request-am-scenario7"^^xsd:anyURI ] ;
     fhir: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:id [ fhir:v "am-scenario7-gr"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"GuidanceResponse_am-scenario7-gr\"> </a><p class=\"res-header-id\"><b>Generated Narrative: GuidanceResponse am-scenario7-gr</b></p><a name=\"am-scenario7-gr\"> </a><a name=\"hcam-scenario7-gr\"> </a><a name=\"am-scenario7-gr-en-US\"> </a><p><b>module</b>: <a href=\"Library-administermedication-library.html\">Administer Medication Library</a></p><p><b>status</b>: Success</p><p><b>subject</b>: <a href=\"Patient-am-scenario7-patient.html\">Example Patient Female, DoB: 1990-10-01</a></p><p><b>outputParameters</b>: <a href=\"#hcam-scenario7-gr/output\">Parameters: Inclusion Criteria, Is Recommendation Applicable</a></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Parameters  #output</b></p><a name=\"am-scenario7-gr/output\"> </a><a name=\"hcam-scenario7-gr/output\"> </a><a name=\"am-scenario7-gr/output-en-US\"> </a><h2>Parameters</h2><table class=\"grid\"><tr><td>Inclusion Criteria</td><td>true</td></tr><tr><td>Is Recommendation Applicable</td><td>false</td></tr></table></blockquote></div>"
  ] ; # 
  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:link <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> ;
     fhir:reference [ fhir:v "Patient/am-scenario7-patient" ]
  ] ; # 
  fhir:outputParameters [
     fhir:reference [ fhir:v "#output" ]
  ] . # 

<http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> a fhir:uv, fhir:Patient ;
  fhir:id [ fhir:v "am-scenario7-patient"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-patient"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_am-scenario7-patient\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient am-scenario7-patient</b></p><a name=\"am-scenario7-patient\"> </a><a name=\"hcam-scenario7-patient\"> </a><a name=\"am-scenario7-patient-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Example Patient Female, DoB: 1990-10-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">false</td></tr></table></div>"
  ] ; # 
  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://hl7.org/fhir/uv/cpg/MedicationAdministration/am-scenario7> a fhir:MedicationAdministration ;
  fhir:id [ fhir:v "am-scenario7"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationadministration"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationadministration>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationAdministration_am-scenario7\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationAdministration am-scenario7</b></p><a name=\"am-scenario7\"> </a><a name=\"hcam-scenario7\"> </a><a name=\"am-scenario7-en-US\"> </a><p><b>status</b>: Not Done</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 769510009}\">Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)</span></p><p><b>subject</b>: <a href=\"Patient-am-scenario7-patient.html\">Example Patient Female, DoB: 1990-10-01</a></p><p><b>effective</b>: 2015-01-15 22:03:00+0100 --&gt; 2015-01-16 02:03:00+0100</p><p><b>request</b>: <a href=\"MedicationRequest-am-scenario7-mr.html\">MedicationRequest: status = active; intent = order; priority = routine; medication[x] = Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)</a></p><h3>Dosages</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td><td><b>Dose</b></td></tr><tr><td style=\"display: none\">*</td><td>apply one patch three times per week</td><td>1 patch<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codePATCH = 'Patch')</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "not-done"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:769510009 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "769510009" ] ;
       fhir:display [ fhir:v "Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> ;
     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:link <http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr> ;
     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://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr> a fhir:uv, fhir:MedicationRequest ;
  fhir:id [ fhir:v "am-scenario7-mr"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_am-scenario7-mr\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest am-scenario7-mr</b></p><a name=\"am-scenario7-mr\"> </a><a name=\"hcam-scenario7-mr\"> </a><a name=\"am-scenario7-mr-en-US\"> </a><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>priority</b>: Routine</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 769510009}\">Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)</span></p><p><b>subject</b>: <a href=\"Patient-am-scenario7-patient.html\">Example Patient Female, DoB: 1990-10-01</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: apply one patch three times per week</p><p><b>timing</b>: 3 per 1 weeks</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/dose-rate-type ordered}\">Ordered</span></td><td>1 patch<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codePATCH = 'Patch')</span></td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2015-01-15 --&gt; 2016-01-15</p><p><b>quantity</b>: 6 patch<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codePATCH = 'Patch')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>14</td><td>days</td><td><a href=\"http://terminology.hl7.org/6.1.0/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:769510009 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "769510009" ] ;
       fhir:display [ fhir:v "Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> ;
     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://hl7.org/fhir/uv/cpg/Task/request-am-scenario7> a fhir:Task ;
  fhir:id [ fhir:v "request-am-scenario7"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-administermedicationtask"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-administermedicationtask>
     ] [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_request-am-scenario7\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task request-am-scenario7</b></p><a name=\"request-am-scenario7\"> </a><a name=\"hcrequest-am-scenario7\"> </a><a name=\"request-am-scenario7-en-US\"> </a><p><b>instantiatesCanonical</b>: <a href=\"ActivityDefinition-activity-example-administermedication-ad.html\">Activity Example Administer Medication AD</a></p><p><b>status</b>: In Progress</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs administer-medication}\">Administer a medication</span></p><p><b>for</b>: <a href=\"Patient-am-scenario7-patient.html\">Example Patient Female, DoB: 1990-10-01</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs administer-medication}\">Administer a medication</span></td><td><a href=\"MedicationRequest-am-scenario7-mr.html\">MedicationRequest: status = active; intent = order; priority = routine; medication[x] = Product containing precisely fentanyl 25 microgram/1 hour prolonged-release transdermal patch (clinical drug)</a></td></tr></table></div>"
  ] ; # 
  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:link <http://hl7.org/fhir/uv/cpg/Patient/am-scenario7-patient> ;
     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:link <http://hl7.org/fhir/uv/cpg/MedicationRequest/am-scenario7-mr> ;
       fhir:reference [ fhir:v "MedicationRequest/am-scenario7-mr" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

