@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pdex/Patient/PatientMemberMatchExample2> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "PatientMemberMatchExample2"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Sarah Elizabeth Williams - DOB: 1978-03-22, Female</p></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MB" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://example.org/provider-org/patient-ids" ] ;
     fhir:Identifier.value [ fhir:value "PAT-002" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Provider Organization" ]
     ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [ fhir:value "Williams" ] ;
     fhir:HumanName.given [
       fhir:value "Sarah" ;
       fhir:index 0
     ], [
       fhir:value "Elizabeth" ;
       fhir:index 1
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "555-987-6543" ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1978-03-22"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.line [
       fhir:value "456 Oak Avenue" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Columbus" ] ;
     fhir:Address.state [ fhir:value "OH" ] ;
     fhir:Address.postalCode [ fhir:value "43085" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pdex/Patient/PatientMemberMatchExample2.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/davinci-pdex/Patient/PatientMemberMatchExample2.ttl> .

# -------------------------------------------------------------------------------------

