@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/2002> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "2002"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient/2002. Default Generated text for resource.</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/old-payer/identifiers/member" ] ;
     fhir:Identifier.value [ fhir:value "45567" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Old Payer" ]
     ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [ fhir:value "Smith" ] ;
     fhir:HumanName.given [
       fhir:value "William" ;
       fhir:index 0
     ], [
       fhir:value "John" ;
       fhir:index 1
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1958-12-25"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pdex/Patient/2002.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/davinci-pdex/Patient/2002.ttl> .

# -------------------------------------------------------------------------------------

