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 Account/ewg (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

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

Example with a Guarantor

@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:Account ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ewg"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Inpatient Admission for Peter James Chalmers Account</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:0.1.2.3.4.5.6.7"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "654321" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "PBILLACCT" ] ;
       fhir:display [ fhir:v "patient billing account" ]
     ] ) ;
     fhir:text [ fhir:v "patient" ]
  ] ; # 
  fhir:name [ fhir:v "Inpatient: Peter James Chalmers"] ; # 
  fhir:subject ( [
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter James Chalmers" ]
  ] ) ; # 
  fhir:servicePeriod [
     fhir:start [ fhir:v "2016-01-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2016-06-30"^^xsd:date ]
  ] ; # 
  fhir:coverage ( [
     fhir:coverage [
       fhir:reference [ fhir:v "Coverage/9876B1" ]
     ] ;
     fhir:priority [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
     fhir:coverage [
       fhir:reference [ fhir:v "Coverage/7546D" ]
     ] ;
     fhir:priority [ fhir:v "2"^^xsd:positiveInteger ]
  ] ) ; # 
  fhir:owner [
     fhir:reference [ fhir:v "Organization/f001" ] ;
     fhir:display [ fhir:v "Burgers University Medical Center" ]
  ] ; # 
  fhir:description [ fhir:v "Hospital charges"] ; # 
  fhir:guarantor ( [
     fhir:party [
       fhir:reference [ fhir:v "RelatedPerson/benedicte" ] ;
       fhir:display [ fhir:v "Bénédicte du Marché" ]
     ] ;
     fhir:onHold [ fhir:v "false"^^xsd:boolean ] ;
     fhir:period [
       fhir:start [ fhir:v "2016-01-01"^^xsd:date ]
     ]
  ] )] . # 

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


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.