US Core Implementation Guide
6.0.0 - STU6 United States of America flag

This page is part of the US Core (v6.0.0: STU6) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: MedicationRequest Self Tylenol Example - 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:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "self-tylenol"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationRequest</b><a name=\"self-tylenol\"> </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 MedicationRequest &quot;self-tylenol&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a></p></div><p><b>identifier</b>: id: 12345689 (use: OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>reported</b>: true</p><p><b>medication</b>: Tylenol PM Pill <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#1187314)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example: Amy V. Shaw</a> &quot; SHAW&quot;</p><p><b>encounter</b>: <a href=\"Encounter-example-1.html\">Encounter/example-1: Office Visit</a></p><p><b>authoredOn</b>: 2019-06-24</p><p><b>requester</b>: <a href=\"Patient-example.html\">Patient/example: **self-prescribed**</a> &quot; SHAW&quot;</p><p><b>reasonCode</b>: Headache <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT[US]</a>#25064002 &quot;Headache (finding)&quot;)</span></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Takes 1-2 tablets once daily at bedtime as needed for restless legs</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "http://acme.org/prescriptions"^^xsd:anyURI ] ;
fhir:value [ fhir:v "12345689" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "plan"] ; # 
  fhir:reported [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
    ( fhir:coding [
fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1187314" ] ;
fhir:display [ fhir:v "Tylenol PM Pill" ]     ] ) ;
fhir:text [ fhir:v "Tylenol PM Pill" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Amy V. Shaw" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/example-1" ] ;
fhir:display [ fhir:v "Office Visit" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2019-06-24"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "**self-prescribed**" ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:25064002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/731000124108" ] ;
fhir:code [ fhir:v "25064002" ] ;
fhir:display [ fhir:v "Headache (finding)" ]     ] ) ;
fhir:text [ fhir:v "Headache" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
fhir:text [ fhir:v "Takes 1-2 tablets once daily at bedtime as needed for restless legs" ]
  ] ) . #