@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://doh.gov.ph/fhir/ph-core/Patient/MiddleNameExample> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MiddleNameExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://doh.gov.ph/fhir/ph-core/StructureDefinition/ph-core-patient"^^xsd:anyURI ;
       fhir:l <http://doh.gov.ph/fhir/ph-core/StructureDefinition/ph-core-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><strong>Official name:</strong> <em>Juan Jane Macalalad Buenaventura</em> (born 1980). Commonly shown as 'Juan Jane M. Buenaventura'.</p><p><strong>Maiden name:</strong> <em>Juan Jane Dela Cruz Macalalad</em>, often shown as 'Juan Jane D. Macalalad'.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Buenaventura" ] ;
     fhir:given ( [ fhir:v "Juan Jane" ] )
  ] [
     fhir:use [ fhir:v "maiden" ] ;
     fhir:family [ fhir:v "Macalalad" ] ;
     fhir:given ( [ fhir:v "Juan Jane" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1980-01-01"^^xsd:date] . # 

# -------------------------------------------------------------------------------------

