@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 -------------------------------------------------------------------

<https://profiles.ihe.net/PHARM/MPD/MedicationRequest/PrescriptionLine4> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PrescriptionLine4"] ; # 
  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 PrescriptionLine4</b></p><a name=\"PrescriptionLine4\"> </a><a name=\"hcPrescriptionLine4\"> </a><a name=\"PrescriptionLine4-en-US\"> </a><p><b>identifier</b>: <code>http://example.org/prescriptionlines</code>/line4</p><p><b>groupIdentifier</b>: <code>http://example.org/prescriptions</code>/prescr2</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><h3>Medications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://id.who.int/icd/release/11/mms med1}\">med1</span></td></tr></table><p><b>subject</b>: Identifier: patient1</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.org/prescriptionlines"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "line4" ]
  ] ) ; # 
  fhir:groupIdentifier [
     fhir:system [ fhir:v "http://example.org/prescriptions"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "prescr2" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     fhir:concept [
       fhir:coding ( [
         fhir:system [ fhir:v "http://id.who.int/icd/release/11/mms"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "med1" ]
       ] )
     ]
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:value [ fhir:v "patient1" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

