@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/Coverage/7546D> a fhir:Coverage ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "7546D"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the coverage</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://xyz.com/codes/identifier"^^xsd:anyURI ;
       fhir:l <http://xyz.com/codes/identifier>
     ] ;
     fhir:value [ fhir:v "AB98761" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:kind [ fhir:v "insurance"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "EHCPOL" ] ;
       fhir:display [ fhir:v "extended healthcare" ]
     ] )
  ] ; # 
  fhir:subscriber [
     fhir:l <http://hl7.org/fhir/Patient/5> ;
     fhir:reference [ fhir:v "Patient/5" ]
  ] ; # 
  fhir:subscriberId ( [
     fhir:value [ fhir:v "AB9876" ]
  ] ) ; # 
  fhir:beneficiary [
     fhir:l <http://hl7.org/fhir/Patient/5> ;
     fhir:reference [ fhir:v "Patient/5" ]
  ] ; # 
  fhir:dependent [ fhir:v "1"] ; # 
  fhir:relationship [
     fhir:coding ( [
       fhir:code [ fhir:v "self" ]
     ] )
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2011-03-17"^^xsd:date ] ;
     fhir:end [ fhir:v "2012-03-17"^^xsd:date ]
  ] ; # 
  fhir:insurer [
     fhir:l <http://hl7.org/fhir/Organization/2> ;
     fhir:reference [ fhir:v "Organization/2" ]
  ] ; # 
  fhir:class ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
         ] ;
         fhir:code [ fhir:v "group" ]
       ] )
     ] ;
     fhir:value [
       fhir:value [ fhir:v "WESTAIR" ]
     ] ;
     fhir:name [ fhir:v "Western Airlines" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
         ] ;
         fhir:code [ fhir:v "plan" ]
       ] )
     ] ;
     fhir:value [
       fhir:value [ fhir:v "BG4352" ]
     ] ;
     fhir:name [ fhir:v "Full Coverage: Medical, Dental, Pharmacy, Vision, EHC" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/coverage-class"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/coverage-class>
         ] ;
         fhir:code [ fhir:v "subplan" ]
       ] )
     ] ;
     fhir:value [
       fhir:value [ fhir:v "D15C9" ]
     ] ;
     fhir:name [ fhir:v "Platinum" ]
  ] ) ; # 
  fhir:order [ fhir:v "2"^^xsd:positiveInteger] ; # 
  fhir:network [] ; # Second after the national medical coverage
  fhir:costToBeneficiary ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/coverage-copay-type"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/coverage-copay-type>
         ] ;
         fhir:code [ fhir:v "gpvisit" ]
       ] ) # normally $40.00
     ] ;
     fhir:value [
       a fhir:Money ;
       fhir:value [ fhir:v 20.00 ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:exception ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/ex-coverage-financial-exception"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/ex-coverage-financial-exception>
           ] ;
           fhir:code [ fhir:v "retired" ]
         ] )
       ] ;
       fhir:period [
         fhir:start [ fhir:v "2018-01-01"^^xsd:date ] ;
         fhir:end [ fhir:v "2018-12-31"^^xsd:date ]
       ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/Patient/5> a fhir:Patient .

<http://hl7.org/fhir/Organization/2> a fhir:Organization .

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

