@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/Coverage/coverage-link-2> a fhir:Coverage ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "coverage-link-2"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Default Generated text for resource.</div>"
  ] ;
  fhir:Coverage.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" ] ;
     fhir:Identifier.value [ fhir:value "234568" ]
  ] ;
  fhir:Coverage.status [ fhir:value "draft"] ;
  fhir:Coverage.subscriberId [ fhir:value "432156790"] ;
  fhir:Coverage.beneficiary [
     fhir:link <http://hl7.org/fhir/us/davinci-pdex/Patient/2> ;
     fhir:Reference.reference [ fhir:value "Patient/2" ]
  ] ;
  fhir:Coverage.relationship [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/subscriber-relationship" ] ;
       fhir:Coding.code [ fhir:value "self" ]
     ]
  ] ;
  fhir:Coverage.period [
     fhir:Period.start [ fhir:value "2011-05-23"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2012-05-23"^^xsd:date ]
  ] ;
  fhir:Coverage.payor [
     fhir:index 0 ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
       fhir:Identifier.value [ fhir:value "0123456789" ]
     ] ;
     fhir:Reference.display [ fhir:value "New Health Plan" ]
  ] .

<http://hl7.org/fhir/us/davinci-pdex/Patient/2> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pdex/Coverage/coverage-link-2.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/davinci-pdex/Coverage/coverage-link-2.ttl> .

# -------------------------------------------------------------------------------------

