R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Claim/660151 (Turtle)

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Glasses Claim

@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 -------------------------------------------------------------------

[a fhir:Claim ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "660151"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the Vision Claim for Glasses</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://happysight.com/claim"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "6612346" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/claim-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "vision" ]
     ] )
  ] ; # 
  fhir:use [ fhir:v "claim"] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/1" ]
  ] ; # 
  fhir:created [ fhir:v "2014-08-16"^^xsd:date] ; # 
  fhir:insurer [
     fhir:reference [ fhir:v "Organization/2" ]
  ] ; # 
  fhir:provider [
     fhir:reference [ fhir:v "Organization/1" ]
  ] ; # 
  fhir:priority [
     fhir:coding ( [
       fhir:code [ fhir:v "normal" ]
     ] )
  ] ; # 
  fhir:prescription [
     fhir:link <http://www.optdocs.com/prescription/12345> ;
     fhir:reference [ fhir:v "http://www.optdocs.com/prescription/12345" ]
  ] ; # 
  fhir:payee [
     fhir:type [
       fhir:coding ( [
         fhir:code [ fhir:v "provider" ]
       ] )
     ]
  ] ; # 
  fhir:careTeam ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:provider [
       fhir:reference [ fhir:v "Practitioner/example" ]
     ]
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:diagnosis [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:code [ fhir:v "654321" ]
       ] )
     ]
  ] ) ; # 
  fhir:insurance ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:focal [ fhir:v "true"^^xsd:boolean ] ;
     fhir:coverage [
       fhir:reference [ fhir:v "Coverage/9876B1" ]
     ]
  ] ) ; # 
  fhir:item ( [
     fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
     fhir:careTeamSequence ( [ fhir:v "1"^^xsd:positiveInteger ] ) ;
     fhir:productOrService [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org/fhir/CodeSystem/ex-visionservice"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "glasses" ]
       ] )
     ] ;
     fhir:serviced [ fhir:v "2014-08-16"^^xsd:date ] ;
     fhir:unitPrice [
       fhir:value [ fhir:v "214.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:net [
       fhir:value [ fhir:v "214.00"^^xsd:decimal ] ;
       fhir:currency [ fhir:v "USD" ]
     ] ;
     fhir:detail ( [
       fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
       fhir:productOrService [
         fhir:coding ( [
           fhir:system [ fhir:v "http://example.org/fhir/CodeSystem/ex-visionservice"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "frame" ]
         ] )
       ] ;
       fhir:unitPrice [
         fhir:value [ fhir:v "100.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ] ;
       fhir:net [
         fhir:value [ fhir:v "100.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ]
     ] [
       fhir:sequence [ fhir:v "2"^^xsd:positiveInteger ] ;
       fhir:productOrService [
         fhir:coding ( [
           fhir:system [ fhir:v "http://example.org/fhir/CodeSystem/ex-visionservice"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "lens" ]
         ] )
       ] ;
       fhir:quantity [
         fhir:value [ fhir:v "2"^^xsd:decimal ]
       ] ;
       fhir:unitPrice [
         fhir:value [ fhir:v "50.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ] ;
       fhir:net [
         fhir:value [ fhir:v "100.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ]
     ] [
       fhir:sequence [ fhir:v "3"^^xsd:positiveInteger ] ;
       fhir:productOrService [
         fhir:coding ( [
           fhir:system [ fhir:v "http://example.org/fhir/CodeSystem/ex-visionservice"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "fst" ]
         ] )
       ] ;
       fhir:unitPrice [
         fhir:value [ fhir:v "200.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ] ;
       fhir:factor [ fhir:v "0.07"^^xsd:decimal ] ;
       fhir:net [
         fhir:value [ fhir:v "14.00"^^xsd:decimal ] ;
         fhir:currency [ fhir:v "USD" ]
       ]
     ] )
  ] )] . # 

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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.