@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/identity-matching/Person/example-person-lei> a fhir:Person ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-person-lei"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/identity-matching/StructureDefinition/PersonLei" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/identity-matching/StructureDefinition/PersonLei>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Person example-person-lei</b></p><a name=\"example-person-lei\"> </a><a name=\"hcexample-person-lei\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-PersonLei.html\">A Person resource that includes an Identifier with a value that is a Legal Entity Identifier (LEI)</a></p></div><p><b>identifier</b>: <code>https://www.gleif.org/lei</code>/5493001KJTIIGC8Y1H11</p><p><b>name</b>: John Doe</p><p><b>birthDate</b>: 1980-01-01</p><p><b>active</b>: true</p></div>"
  ] ;
  fhir:Person.identifier [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/identity-matching/StructureDefinition/VLEI" ] ;
       fhir:Extension.valueAttachment [
         fhir:Attachment.contentType [ fhir:value "application/json" ] ;
         fhir:Attachment.data [ fhir:value "eyJ2bG9nSW5mb1Jlc3VsdCI6eyJ2bG9nSW5mb0NvZGVDb250ZW50IjoiQmVzdCB2bG9nSW5mbw=="^^xsd:base64Binary ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://www.gleif.org/lei" ] ;
     fhir:Identifier.value [ fhir:value "5493001KJTIIGC8Y1H11" ]
  ] ;
  fhir:Person.name [
     fhir:index -1 ;
     fhir:HumanName.text [ fhir:value "John Doe" ] ;
     fhir:HumanName.family [ fhir:value "Doe" ] ;
     fhir:HumanName.given [
       fhir:value "John" ;
       fhir:index -1
     ]
  ] ;
  fhir:Person.birthDate [ fhir:value "1980-01-01"^^xsd:date] ;
  fhir:Person.active [ fhir:value "true"^^xsd:boolean] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/identity-matching/Person/example-person-lei.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/identity-matching/Person/example-person-lei.ttl> .

# -------------------------------------------------------------------------------------

