@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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://hl7.org.au/fhir/List/example3> a fhir:List ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example3"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medlist"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medlist>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: List example3</b></p><a name=\"example3\"> </a><a name=\"hcexample3\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-medlist.html\">AU Medicine List</a></p></div><h2>Current medicine list</h2><table class=\"clstu\"><tr><td>Date: 2022-01-08 </td><td>Mode: Snapshot List </td><td>Status: Current </td><td>Code: History of Medication use Narrative </td></tr><tr><td>Subject: <a href=\"Patient-example4.html\">Suzanne Simmons  Female, DoB: 2008-08-08 ( Medical record number)</a></td></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td>Ventolin (salbutamol) inhaler CFC free (100 micrograms/dose); 200 dose when needed</td></tr><tr><td>Zyrtec (cetirizine) 10mg/tablet; dose 1 tablet/day in evening</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/author-related-person"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/author-related-person>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org.au/fhir/RelatedPerson/example2> ;
       fhir:reference [ fhir:v "RelatedPerson/example2" ]
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:uuid:b3036640-07e2-40bf-b4cb-8a2970366848" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:mode [ fhir:v "snapshot"] ; # 
  fhir:title [ fhir:v "Current medicine list"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:10160-0 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "10160-0" ] ;
       fhir:display [ fhir:v "History of Medication use Narrative" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org.au/fhir/Patient/example4> ;
     fhir:reference [ fhir:v "Patient/example4" ]
  ] ; # 
  fhir:date [ fhir:v "2022-01-08"^^xsd:date] ; # 
  fhir:entry ( [
     fhir:item [
       fhir:display [ fhir:v "Ventolin (salbutamol) inhaler CFC free (100 micrograms/dose); 200 dose when needed" ]
     ]
  ] [
     fhir:item [
       fhir:display [ fhir:v "Zyrtec (cetirizine) 10mg/tablet; dose 1 tablet/day in evening" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

