QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide - Downloaded Version 7.0.2 See the Directory of published versions

## : MedicationDispense general example - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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:MedicationDispense ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-medicationdispense.html\">QICore MedicationDispense</a></p></div><p><b>Extension Definition for MedicationDispense.recorded for Version 5.0</b>: 2017-01-17</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-example.html\">Medication alemtuzumab 10 MG/ML [Lemtrada]</a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-example.html\">Practitioner Adam Careful </a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication alemtuzumab 10 MG/ML [Lemtrada]; authoredOn = 2015-03-25 19:32:52-0500</a></p><p><b>quantity</b>: 100 ml<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeml = 'ml')</span></p><p><b>daysSupply</b>: 30 Day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2012-05-30 16:20:00+0000</p><p><b>whenHandedOver</b>: 2012-05-31 10:20:00+0000</p><p><b>destination</b>: <a href=\"Location-example.html\">Location South Wing, second floor</a></p><p><b>receiver</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: 3 per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 394899003}\">oral administration of treatment</span></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>5 ml<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeml = 'ml')</span></td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">No substitution occurred or is permitted.</span></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded>     ] ;
    fhir:value [
    a fhir:DateTime ;
    fhir:v "2017-01-17"^^xsd:date     ]
      ] ) ; #  Extension was removed in R4, not clear where this should appear...
    #  <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
    #    <valueInteger value="0"/>
    #  </extension>
    #	,  Extension was removed in R4, not clear where this should appear...
    #  <extension url="http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod">
    #    <valuePeriod>
    #      <start value="2012-05-30"/>
    #      <end value="2012-06-10"/>
    #    </valuePeriod>
    #  </extension>
    #
      fhir:status [ fhir:v "completed"] ; #
      fhir:medication [
    a fhir:Reference ;
    fhir:l fhir:Medication/example ;
    fhir:reference [ fhir:v "Medication/example" ]
      ] ; #
      fhir:subject [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ]
      ] ; #
      fhir:performer ( [
    fhir:actor [
    fhir:l fhir:Practitioner/example ;
    fhir:reference [ fhir:v "Practitioner/example" ]     ]
      ] ) ; #
      fhir:authorizingPrescription ( [
    fhir:l fhir:MedicationRequest/example ;
    fhir:reference [ fhir:v "MedicationRequest/example" ]
      ] ) ; #
      fhir:quantity [
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "ml" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>     ] ;
    fhir:code [ fhir:v "ml" ]
      ] ; #
      fhir:daysSupply [
    fhir:value [ fhir:v "30"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "Day" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>     ] ;
    fhir:code [ fhir:v "d" ]
      ] ; #
      fhir:whenPrepared [ fhir:v "2012-05-30T16:20:00+00:00"^^xsd:dateTime] ; #
      fhir:whenHandedOver [ fhir:v "2012-05-31T10:20:00+00:00"^^xsd:dateTime] ; #
      fhir:destination [
    fhir:l fhir:Location/example ;
    fhir:reference [ fhir:v "Location/example" ]
      ] ; #
      fhir:receiver ( [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ]
      ] ) ; #
      fhir:dosageInstruction ( [
    fhir:timing [
    fhir:repeat [
    fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
    fhir:period [ fhir:v "1"^^xsd:decimal ] ;
    fhir:periodUnit [ fhir:v "d" ]       ]     ] ; #  Extension removed in R4, not clear where this should appear now...\n    <extension url=\"http:\/\/hl7.org\/fhir\/StructureDefinition\/pharmacy-core-infuseOver\">\n      <valueDuration>\n        <value value=\"1\"\/>\n        <unit value=\"min\"\/>\n        <system value=\"http:\/\/unitsofmeasure.org\"\/>\n        <code value=\"min\"\/>\n      <\/valueDuration>\n    <\/extension>\n		,  Extension removed in R4, not clear where this should appear now...\n    <extension url=\"http:\/\/hl7.org\/fhir\/StructureDefinition\/pharmacy-core-minDosePerPeriod\">\n      <valueRatio>\n        <numerator>\n          <value value=\"15\"\/>\n          <unit value=\"ml\"\/>\n          <system value=\"http:\/\/unitsofmeasure.org\"\/>\n          <code value=\"ml\"\/>\n        <\/numerator>\n        <denominator>\n          <value value=\"1\"\/>\n          <unit value=\"day\"\/>\n          <system value=\"http:\/\/unitsofmeasure.org\"\/>\n          <code value=\"day\"\/>\n        <\/denominator>\n      <\/valueRatio>\n    <\/extension>\n		,  Extension removed in R4, not clear where this should appear now...\n    <extension url=\"http:\/\/hl7.org\/fhir\/StructureDefinition\/pharmacy-core-maxDeliveryVolume\">\n      <valueQuantity>\n        <value value=\"15\"\/>\n        <unit value=\"ml\"\/>\n        <system value=\"http:\/\/unitsofmeasure.org\"\/>\n        <code value=\"ml\"\/>\n      <\/valueQuantity>\n    <\/extension>\n
    fhir:route [
          ( fhir:coding [
    a sct:394899003 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "394899003" ] ;
    fhir:display [ fhir:v "oral administration of treatment" ]       ] )     ] ;
        ( fhir:doseAndRate [
    fhir:type [
            ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>           ] ;
    fhir:code [ fhir:v "ordered" ] ;
    fhir:display [ fhir:v "Ordered" ]         ] )       ] ;
    fhir:dose [
    a fhir:Quantity ;
    fhir:value [ fhir:v "5"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "ml" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>         ] ;
    fhir:code [ fhir:v "ml" ]       ]     ] )
      ] ) ; #
      fhir:substitution [
    fhir:wasSubstituted [ fhir:v false ] ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution>         ] ;
    fhir:code [ fhir:v "N" ] ;
    fhir:display [ fhir:v "none" ]       ] ) ;
    fhir:text [ fhir:v "No substitution occurred or is permitted." ]     ]
      ] . #