@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://canshare.co.nz/fhir/MedicationRequest/medicationrequest-1> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medicationrequest-1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://canshare.co.nz/fhir/StructureDefinition/an-medication-request"^^xsd:anyURI ;
       fhir:link <http://canshare.co.nz/fhir/StructureDefinition/an-medication-request>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Allopurinol</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://canshare.co.nz/fhir/NamingSystem/1"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "ma-1" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "plan"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:text [ fhir:v "Allopurinol" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://canshare.co.nz/fhir/Patient/exPatient> ;
     fhir:reference [ fhir:v "Patient/exPatient" ]
  ] ; # 
  fhir:supportingInformation ( [
     fhir:link <http://canshare.co.nz/fhir/CarePlan/careplan-cycle-1> ;
     fhir:reference [ fhir:v "CarePlan/careplan-cycle-1" ]
  ] ) ; # 
  fhir:authoredOn [ fhir:v "2014-04-09"^^xsd:date] . # 

# -------------------------------------------------------------------------------------

