@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/fhir/Patient/merge-survivor> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "merge-survivor"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/mrn"^^xsd:anyURI ;
       fhir:l <http://example.org/mrn>
     ] ;
     fhir:value [ fhir:v "MRN-001" ]
  ] [
     fhir:system [
       fhir:v "http://example.org/mrn"^^xsd:anyURI ;
       fhir:l <http://example.org/mrn>
     ] ;
     fhir:value [ fhir:v "MRN-002" ]
  ] [
     fhir:system [
       fhir:v "http://example.org/ssn"^^xsd:anyURI ;
       fhir:l <http://example.org/ssn>
     ] ;
     fhir:value [ fhir:v "666-99-9999" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:family [ fhir:v "Smith" ] ;
     fhir:given ( [ fhir:v "Jane" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "123 Main St" ] ) ;
     fhir:city [ fhir:v "Anytown" ] ;
     fhir:state [ fhir:v "NY" ] ;
     fhir:postalCode [ fhir:v "12345" ]
  ] ) ; # 
  fhir:link ( [
     fhir:other [
       fhir:l <http://hl7.org/fhir/Patient/example-merge-subsumed> ;
       fhir:reference [ fhir:v "Patient/example-merge-subsumed" ]
     ] ;
     fhir:type [ fhir:v "replaces" ]
  ] ) . # 

<http://hl7.org/fhir/Patient/example-merge-subsumed> a fhir:Patient .

# -------------------------------------------------------------------------------------

