MedicationRequest/example-rec-10-no-screenings-prefetch

@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 "example-rec-10-no-screenings-prefetch"];
  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>id</b>: example-rec-10-no-screenings-prefetch</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>category</b>: <span title=\"Codes: \">outpatient</span></p><p><b>medication</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1049502}\">12 HR Oxycodone Hydrochloride 10 MG Extended Release Oral Tablet</span></p><p><b>subject</b>: <a href=\"Patient-example-rec-10-no-screenings.html\">Generated Summary: id: example-rec-10-no-screenings; gender: female; birthDate: 1982-01-07</a></p><p><b>context</b>: <a href=\"Encounter-example-rec-10-no-screenings-prefetch.html\">Generated Summary: id: example-rec-10-no-screenings-prefetch; status: finished; period: ?ngen-2? --&gt; (ongoing)</a></p><p><b>authoredOn</b>: </p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td>?? --&gt; (ongoing)</td><td>3</td><td>27.0 d</td></tr></table></div>"
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.category [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "outpatient" ]     ]
  ];
  fhir:MedicationRequest.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "1049502" ];
       fhir:Coding.display [ fhir:value "12 HR Oxycodone Hydrochloride 10 MG Extended Release Oral Tablet" ]     ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/example-rec-10-no-screenings" ]
  ];
  fhir:MedicationRequest.context [
     fhir:Reference.reference [ fhir:value "Encounter/example-rec-10-no-screenings-prefetch" ]
  ];
  fhir:MedicationRequest.authoredOn [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqif-cqlExpression" ];
       fhir:Extension.valueString [ fhir:value "Today() - 90 days" ]     ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "1.0"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.doseQuantity [
       fhir:Quantity.value [ fhir:value "1.0"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "tablet" ]     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.validityPeriod [
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqif-cqlExpression" ];
         fhir:Extension.valueString [ fhir:value "FHIR.Period { start: FHIR.dateTime { value: Today() - 90 days }, end: FHIR.dateTime { value: Today() } }" ]       ]     ];
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "3"^^xsd:positiveInteger ];
     fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "27.0"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "d" ]     ]
  ].

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

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