@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 -------------------------------------------------------------------

<http://hl7.org.nz/fhir/MedicationRequest/medicationrequest-nzeps-supply-period-reason> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medicationrequest-nzeps-supply-period-reason"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest medicationrequest-nzeps-supply-period-reason</b></p><a name=\"medicationrequest-nzeps-supply-period-reason\"> </a><a name=\"hcmedicationrequest-nzeps-supply-period-reason\"> </a><p><b>NZePS Supply Period Reason</b>: Going overseas</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 261000}\">Codeine phosphate</span></p><p><b>subject</b>: <a href=\"Patient-patient-dhb.html\">John Doe Male, DoB: 1998-01-01</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason"^^xsd:anyURI ;
       fhir:l <http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Going overseas"
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:261000 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "261000" ] ;
       fhir:display [ fhir:v "Codeine phosphate" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org.nz/fhir/Patient/patient-dhb> ;
     fhir:reference [ fhir:v "Patient/patient-dhb" ]
  ] . # 

# -------------------------------------------------------------------------------------

