0.1.0 - ci-build International flag

JohnMoehrkeTestMed, published by John Moehrke (himself). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/testMed/ and changes regularly. See the Directory of published versions

: Example of a medication R4, minimal - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-medication-0"] ; # 
  fhir:meta [
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationStatement ex-medication-0</b></p><a name=\"ex-medication-0\"> </a><a name=\"hcex-medication-0\"> </a><a name=\"ex-medication-0-en-US\"> </a><p><b>identifier</b>: 1234</p><p><b>basedOn</b>: <a href=\"#hcex-medication-0/in-Request\">MedicationRequest: identifier = 1234; status = active; intent = order; medication[x] = </a></p><p><b>partOf</b>: <a href=\"#hcex-medication-0/in-Dispense\">MedicationDispense: status = unknown; medication[x] = </a></p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medication-statement-category patientspecified}\">Patient Specified</span></p><p><b>medication</b>: <span title=\"Codes:\">Tylenol</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>effective</b>: 2004-12-25 --&gt; 2021-12-25</p><p><b>dateAsserted</b>: 2020-11-24</p><p><b>reasonCode</b>: <span title=\"Codes:\">Body pains</span></p><p><b>note</b>: a minimal medication</p><blockquote><p><b>dosage</b></p><p><b>text</b>: 1 tablet</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td><td><b>Rate[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 {Capsule}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{Capsule} = '{Capsule}')</span></td><td>3/1 /d<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code/d = '/d')</span></td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Provenance  #in-Provenance</b></p><a name=\"ex-medication-0/in-Provenance\"> </a><a name=\"hcex-medication-0/in-Provenance\"> </a><a name=\"ex-medication-0/in-Provenance-en-US\"> </a><p>Provenance for <a href=\"#hcex-medication-0\">MedicationStatement: identifier = 1234; status = active; category = Patient Specified; medication[x] = ; effective[x] = 2004-12-25 --&gt; 2021-12-25; dateAsserted = 2020-11-24; reasonCode = ; note = a minimal medication</a></p><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2020-11-24</td></tr><tr><td>Recorded</td><td>2020-11-24 13:00:00+0000</td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization  #in-Pharmacy</b></p><a name=\"ex-medication-0/in-Pharmacy\"> </a><a name=\"hcex-medication-0/in-Pharmacy\"> </a><a name=\"ex-medication-0/in-Pharmacy-en-US\"> </a><p><b>type</b>: <span title=\"Codes:\">Pharmacy</span></p><p><b>name</b>: CVS</p><p><b>telecom</b>: <a href=\"tel:+17773339998\">+17773339998</a></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense  #in-Dispense</b></p><a name=\"ex-medication-0/in-Dispense\"> </a><a name=\"hcex-medication-0/in-Dispense\"> </a><a name=\"ex-medication-0/in-Dispense-en-US\"> </a><p><b>status</b>: Unknown</p><p><b>medication</b>: <span title=\"Codes:\">Tylenol</span></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=\"#hcex-medication-0/in-Pharmacy\">Organization CVS</a></td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest  #in-Request</b></p><a name=\"ex-medication-0/in-Request\"> </a><a name=\"hcex-medication-0/in-Request\"> </a><a name=\"ex-medication-0/in-Request-en-US\"> </a><p><b>identifier</b>: 1234</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:\">Tylenol</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>requester</b>: Dr. Prancy Practitioner</p></blockquote></div>"
  ] ; # 
  fhir:contained ( [
a fhir:Provenance ;
fhir:id [ fhir:v "in-Provenance" ] ;
    ( fhir:target [
fhir:reference [ fhir:v "#" ]     ] ) ;
fhir:occurred [ fhir:v "2020-11-24"^^xsd:date ] ;
fhir:recorded [ fhir:v "2020-11-24T13:00:00.0000Z"^^xsd:dateTime ] ;
    ( fhir:agent [
fhir:type [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "author" ]         ] )       ] ;
fhir:who [
fhir:reference [ fhir:v "Patient/ex-patient" ]       ]     ] )
  ] [
a fhir:Organization ;
fhir:id [ fhir:v "in-Pharmacy" ] ;
    ( fhir:type [
fhir:text [ fhir:v "Pharmacy" ]     ] ) ;
fhir:name [ fhir:v "CVS" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "+17773339998" ]     ] )
  ] [
a fhir:MedicationDispense ;
fhir:id [ fhir:v "in-Dispense" ] ;
fhir:status [ fhir:v "unknown" ] ;
fhir:medication [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Tylenol" ]     ] ;
    ( fhir:performer [
fhir:actor [
fhir:reference [ fhir:v "#in-Pharmacy" ]       ]     ] )
  ] [
a fhir:MedicationRequest ;
fhir:id [ fhir:v "in-Request" ] ;
    ( fhir:identifier [
fhir:value [ fhir:v "1234" ]     ] ) ;
fhir:status [ fhir:v "active" ] ;
fhir:intent [ fhir:v "order" ] ;
fhir:medication [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Tylenol" ]     ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/ex-patient" ]     ] ;
fhir:requester [
fhir:display [ fhir:v "Dr. Prancy Practitioner" ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:value [ fhir:v "1234" ]
  ] ) ; # 
  fhir:basedOn ( [
fhir:reference [ fhir:v "#in-Request" ]
  ] ) ; # 
  fhir:partOf ( [
fhir:reference [ fhir:v "#in-Dispense" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/medication-statement-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "patientspecified" ]     ] )
  ] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Tylenol" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2004-12-25"^^xsd:date ] ;
fhir:end [ fhir:v "2021-12-25"^^xsd:date ]
  ] ; # 
  fhir:dateAsserted [ fhir:v "2020-11-24"^^xsd:date] ; # 
  fhir:reasonCode ( [
fhir:text [ fhir:v "Body pains" ]
  ] ) ; # 
  fhir:note ( [
fhir:text [ fhir:v "a minimal medication" ]
  ] ) ; # 
  fhir:dosage ( [
fhir:text [ fhir:v "1 tablet" ] ;
fhir:route [
      ( fhir:coding [
a sct:26643006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "26643006" ]       ] )     ] ;
    ( fhir:doseAndRate [
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "{Capsule}" ]       ] ;
fhir:rate [
a fhir:Ratio ;
fhir:numerator [
fhir:value [ fhir:v "3"^^xsd:decimal ]         ] ;
fhir:denominator [
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "/d" ]         ]       ]     ] )
  ] ) . #