@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/Claim/100155> a fhir:Claim ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "100155"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">This example assumes a national health care scheme where patients, providers and organizations have known business identifiers.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:Patient ;
     fhir:id [ fhir:v "patient-1" ] ;
     fhir:name ( [
       fhir:use [ fhir:v "official" ] ;
       fhir:family [ fhir:v "Donald" ] ;
       fhir:given ( [ fhir:v "Duck" ] )
     ] ) ;
     fhir:gender [ fhir:v "male" ] ;
     fhir:birthDate [ fhir:v "1986-05-17"^^xsd:date ] ;
     fhir:address ( [
       fhir:use [ fhir:v "home" ] ;
       fhir:line ( [ fhir:v "1234 Main Street" ] ) ;
       fhir:city [ fhir:v "Vancouver" ] ;
       fhir:postalCode [ fhir:v "V2H1Y3" ] ;
       fhir:country [ fhir:v "CAD" ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://happyvalley.com/claim"^^xsd:anyURI ;
       fhir:l <http://happyvalley.com/claim>
     ] ;
     fhir:value [ fhir:v "12347" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/claim-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/claim-type>
       ] ;
       fhir:code [ fhir:v "oral" ]
     ] )
  ] ; # 
  fhir:use [ fhir:v "claim"] ; # 
  fhir:subject [
     fhir:l <#patient-1> ;
     fhir:reference [ fhir:v "#patient-1" ]
  ] ; # 
  fhir:created [ fhir:v "2014-08-16"^^xsd:date] ; # 
  fhir:insurer [
     fhir:identifier [
       fhir:system [
         fhir:v "http://www.jurisdiction.com/insurers"^^xsd:anyURI ;
         fhir:l <http://www.jurisdiction.com/insurers>
       ] ;
       fhir:value [ fhir:v "123456" ]
     ]
  ] ; # 
  fhir:provider [
     fhir:identifier [
       fhir:system [
         fhir:v "http://www.jurisdiction.com/careorganizations"^^xsd:anyURI ;
         fhir:l <http://www.jurisdiction.com/careorganizations>
       ] ;
       fhir:value [ fhir:v "HOSP12345" ]
     ]
  ] ; # 
  fhir:priority [
     fhir:coding ( [
       fhir:code [ fhir:v "normal" ]
     ] )
  ] ; # 
  fhir:payee [
     fhir:type [
       fhir:coding ( [
         fhir:code [ fhir:v "provider" ]
       ] )
     ]
  ] ; # 
  fhir:careTeam ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:provider [
       fhir:identifier [
         fhir:system [
           fhir:v "http://www.jurisdiction.com/providerId"^^xsd:anyURI ;
           fhir:l <http://www.jurisdiction.com/providerId>
         ] ;
         fhir:value [ fhir:v "MD98765" ]
       ]
     ]
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:diagnosis [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:code [ fhir:v "123456" ]
       ] )
     ]
  ] ) ; # 
  fhir:insurance ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:focal [ fhir:v true ] ;
     fhir:coverage [
       fhir:l <http://www.jurisdiction.com/nationalplan/123AB345> ;
       fhir:reference [ fhir:v "http://www.jurisdiction.com/nationalplan/123AB345" ]
     ]
  ] ) ; # 
  fhir:item ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:careTeamSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:productOrService [
       fhir:coding ( [
         fhir:code [ fhir:v "1200" ]
       ] )
     ] ;
     fhir:serviced [
       a fhir:Date ;
       fhir:v "2014-08-16"^^xsd:date
     ] ;
     fhir:unitPrice [
       fhir:value [ fhir:v 135.57 ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:net [
       fhir:value [ fhir:v 135.57 ] ;
       fhir:currency [ fhir:v "USD" ]
     ]
  ] ) . # 

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

