Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

: Example MedicationRequest - Example1 - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Example1"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2020-08-14T15:12:59.000+05:30"^^xsd:dateTime ] ;
    ( 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:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-profile"^^xsd:anyURI ;
fhir:link <https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-profile>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ] ;
fhir:display [ fhir:v "Normal" ]     ] )
  ] ; # 
  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: MedicationRequest Example1</b></p><a name=\"Example1\"> </a><a name=\"hcExample1\"> </a><a name=\"Example1-en-US\"> </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\">Last updated: 2020-08-14 15:12:59+0530</p><p style=\"margin-bottom: 0px\">Profiles: <a href=\"http://hl7.org/fhir/us/core/STU3.1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>, <code>https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-profile</code></p><p style=\"margin-bottom: 0px\">Security Label: Normal (Details: Confidentiality code N  = ' normal ', stated as ' Normal ')</p></div><p><b>identifier</b>: <code>https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/namingsystem/PRESCRIB/TEST-001</code>/12345</p><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"Medication/23833\">WARFARIN SODIUM 10 MG TABS</a></p><p><b>subject</b>: <a href=\"Patient-Example1.html\">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></p><p><b>encounter</b>: <a href=\"Encounter-Example1.html\">Encounter: extension = No display for Extension ,No display for Extension ,No display for Extension ; status = finished; class = ambulatory (ActCode#AMB); type = Office Visit; priority = routine; period = 2020-08-17 21:04:20-0600 --&gt; 2020-08-17 21:07:17-0600</a></p><p><b>authoredOn</b>: 2020-08-14 15:07:25+0530</p><p><b>requester</b>: <a href=\"Practitioner-Example1.html\">Practitioner Harry S. Winston </a></p><p><b>recorder</b>: <a href=\"Practitioner-Example1.html\">Practitioner Harry S. Winston </a></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>1 po tid</td></tr></table><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>2</td><td>12</td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">none</span></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-extension-ndc"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ] ;
fhir:code [ fhir:v "51672403503" ]       ] ) ;
fhir:text [ fhir:v "ndc 51672403503" ]     ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-extension-ddid"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "http://docs.wolterskluwercdi.com/codesystems/ddid"^^xsd:anyURI ] ;
fhir:code [ fhir:v "20817" ]       ] ) ;
fhir:text [ fhir:v "ddid 20817" ]     ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-extension-rxnorm"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "313732" ]     ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-extension-dispenser"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Organization/PH-6" ] ;
fhir:display [ fhir:v "University Medical Center Pharmacy\r\n943 E University Blvd,   \r\nPh: \r\nFax: " ]     ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-extension-dispenseInstructions"^^xsd:anyURI ] ;
fhir:value [ fhir:v "3" ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationrequest-extension-datewritten"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2021-10-22T09:49:00+05:30"^^xsd:dateTime ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/namingsystem/PRESCRIB/TEST-001"^^xsd:anyURI ] ;
fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "Medication/23833" ] ;
fhir:display [ fhir:v "WARFARIN SODIUM 10 MG TABS" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/Example1" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/Example1" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2020-08-14T15:07:25+05:30"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/Example1" ]
  ] ; # 
  fhir:recorder [
fhir:reference [ fhir:v "Practitioner/Example1" ]
  ] ; # 
  fhir:dosageInstruction ( [
fhir:text [ fhir:v "1 po tid" ]
  ] ) ; # 
  fhir:dispenseRequest [
fhir:numberOfRepeatsAllowed [ fhir:v "2"^^xsd:nonNegativeInteger ] ;
fhir:quantity [
fhir:value [ fhir:v "12"^^xsd:decimal ]     ]
  ] ; # 
  fhir:substitution [
fhir:allowed [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"^^xsd:anyURI ] ;
fhir:code [ fhir:v "N" ] ;
fhir:display [ fhir:v "none" ]       ] ) ;
fhir:text [ fhir:v "none" ]     ]
  ] . #