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><b>Generated Narrative: MedicationStatement </b><a name=\"ex-medication-0\"> </a><a name=\"hcex-medication-0\"> </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\">ResourceMedicationStatement &quot;ex-medication-0&quot; </p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>identifier</b>: 1234</p><p><b>basedOn</b>: <a name=\"hcin-Request\"> </a></p><blockquote><p/><p><a name=\"in-Request\"> </a></p><p><a name=\"hcin-Request\"> </a></p><p><b>identifier</b>: 1234</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Tylenol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>requester</b>: <span>: Dr. Prancy Practitioner</span></p></blockquote><p><b>partOf</b>: <a name=\"hcin-Dispense\"> </a></p><blockquote><p/><p><a name=\"in-Dispense\"> </a></p><p><a name=\"hcin-Dispense\"> </a></p><p><b>status</b>: unknown</p><p><b>medication</b>: Tylenol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>#in-Pharmacy</td></tr></table></blockquote><p><b>status</b>: active</p><p><b>category</b>: Patient Specified <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-medication-statement-category.html\">Medication usage category codes</a>#patientspecified)</span></p><p><b>medication</b>: Tylenol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</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>: Body pains <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>: Oral route <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#26643006)</span></p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote><hr/><blockquote><p><b>Generated Narrative: Provenance  #in-Provenance</b><a name=\"in-Provenance\"> </a><a name=\"hcin-Provenance\"> </a></p><p><b>target</b>: <a href=\"#\">#</a></p><p><b>occurred</b>: 2020-11-24</p><p><b>recorded</b>: Nov 24, 2020, 1:00:00 PM</p><h3>Agents</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Who</b></td></tr><tr><td style=\"display: none\">*</td><td>Author <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#author)</span></td><td><a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Organization  #in-Pharmacy</b><a name=\"in-Pharmacy\"> </a><a name=\"hcin-Pharmacy\"> </a></p><p><b>type</b>: Pharmacy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>name</b>: CVS</p><p><b>telecom</b>: <a href=\"tel:+17773339998\">+17773339998</a></p></blockquote><hr/><blockquote><p><b>Generated Narrative: MedicationDispense  #in-Dispense</b><a name=\"in-Dispense\"> </a><a name=\"hcin-Dispense\"> </a></p><p><b>status</b>: unknown</p><p><b>medication</b>: Tylenol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>#in-Pharmacy</td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: MedicationRequest  #in-Request</b><a name=\"in-Request\"> </a><a name=\"hcin-Request\"> </a></p><p><b>identifier</b>: 1234</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Tylenol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>requester</b>: <span>: Dr. Prancy Practitioner</span></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" ]         ]       ]     ] )
  ] ) . #