Dental Data Exchange
1.0.0 - STU 1

This page is part of the Dental Data Exchange (v1.0.0: STU1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

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

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

 a fhir:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "erythromycin-medreq-2"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "4" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-08-06T17:04:21.460+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#sRqmcVChZmoyJzL0" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>medication</b>: <a href=\"Medication-erythromycin-med-example.html\">Generated Summary: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 315877}\">Erythromycin 500 MG</span></a></p><p><b>subject</b>: <a href=\"Patient-example-dental.html\">Patient A. Generated Summary: Medical Record Number: 5152020 (USUAL); active: true; Patient A ; Phone: 123-456-7890, testA@email.com; gender: male; birthDate: 1990-01-01</a></p><p><b>authoredOn</b>: 2017-12-06</p><p><b>requester</b>: <a href=\"Practitioner-practitioner-D.html\">Dr. John M, MD. Generated Summary: id: 1234560000; John D ; Phone: 720-555-6443; gender: male; birthDate: 1990-06-09</a></p><blockquote><p><b>dispenseRequest</b></p><p><b>numberOfRepeatsAllowed</b>: 1</p><p><b>quantity</b>: 500 mg</p></blockquote></div>"
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "plan"];
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/erythromycin-med-example" ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/example-dental" ];
     fhir:Reference.display [ fhir:value "Patient A" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2017-12-06"^^xsd:date];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner-D" ];
     fhir:Reference.display [ fhir:value "Dr. John M, MD" ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.text [ fhir:value "Take 1 tablet every six hours X10 days" ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.boundsPeriod [
           fhir:Period.start [ fhir:value "2017-12-06"^^xsd:date ]         ]       ]     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "1"^^xsd:nonNegativeInteger ];
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mg" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg" ]     ];
     fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "days" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "d" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.