@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.au/fhir/MedicationStatement/example1> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement>
     ] )
  ] ; # 
  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: MedicationStatement example1</b></p><a name=\"example1\"> </a><a name=\"hcexample1\"> </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-medicationstatement.html\">AU Base MedicationStatement</a></p></div><p><b>Long Term</b>: true</p><p><b>status</b>: Active</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 3559011000036109}\">Zoloft</span></p><p><b>subject</b>: <a href=\"Patient-example0.html\">Franklin</a></p><p><b>dateAsserted</b>: 2018-07-25</p><p><b>note</b>: </p><blockquote><div><p>The patient is not sure when exactly started taking the medication but is certain it's been over a year</p>\n</div></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-long-term"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/medication-long-term>
     ] ;
     fhir:value [
       a fhir:Boolean ;
       fhir:v true
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:3559011000036109 ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-type"^^xsd:anyURI ;
           fhir:l <http://hl7.org.au/fhir/StructureDefinition/medication-type>
         ] ;
         fhir:value [
           a fhir:Coding ;
           fhir:system [
             fhir:v "http://terminology.hl7.org.au/CodeSystem/medication-type"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org.au/CodeSystem/medication-type>
           ] ;
           fhir:code [ fhir:v "BPD" ] ;
           fhir:display [ fhir:v "Branded product with no strengths or form" ]
         ]
       ] ) ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "3559011000036109" ] ;
       fhir:display [ fhir:v "Zoloft" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org.au/fhir/Patient/example0> ;
     fhir:reference [ fhir:v "Patient/example0" ] ;
     fhir:display [ fhir:v "Franklin" ]
  ] ; # 
  fhir:dateAsserted [ fhir:v "2018-07-25"^^xsd:date] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "The patient is not sure when exactly started taking the medication but is certain it's been over a year" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

