@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://hl7.org.au/fhir/Patient/address-example2> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "address-example2"] ; # 
  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: Patient address-example2</b></p><a name=\"address-example2\"> </a><a name=\"hcaddress-example2\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">NO FIXED ADDRESS Melbourne, VIC(temp)</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org.au/fhir/StructureDefinition/no-fixed-address"^^xsd:anyURI ;
         fhir:l <http://hl7.org.au/fhir/StructureDefinition/no-fixed-address>
       ] ;
       fhir:value [
         a fhir:Boolean ;
         fhir:v true
       ]
     ] ) ; #  this part of the extension states that address is no fixed address 
     fhir:use [ fhir:v "temp" ] ;
     fhir:type [ fhir:v "physical" ] ;
     fhir:text [ fhir:v "NO FIXED ADDRESS Melbourne, VIC" ] ;
     fhir:state [ fhir:v "VIC" ] ;
     fhir:country [ fhir:v "AU" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

