STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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

Account-example.ttl

Raw Turtle, JSON-LD

General Account example

@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/Account/example> a fhir:Account;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">HACC Funded Billing for Peter James Chalmers</div>"
  ];
  fhir:Account.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:oid:0.1.2.3.4.5.6.7" ];
     fhir:Identifier.value [ fhir:value "654321" ]
  ];
  fhir:Account.name [ fhir:value "HACC Funded Billing for Peter James Chalmers"];
  fhir:Account.type [
     fhir:CodeableConcept.text [ fhir:value "patient" ]
  ];
  fhir:Account.status [ fhir:value "active"];
  fhir:Account.active [
     fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-06-30"^^xsd:date ]
  ];
  fhir:Account.currency [
     fhir:Coding.system [ fhir:value "urn:iso:std:iso:4217" ];
     fhir:Coding.code [ fhir:value "USD" ];
     fhir:Coding.display [ fhir:value "US Dollar" ]
  ];
  fhir:Account.balance [
     fhir:Quantity.value [ fhir:value "-1200"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "USD" ];
     fhir:Quantity.system [ fhir:value "urn:iso:std:iso:4217" ];
     fhir:Quantity.code [ fhir:value "USD" ]
  ];
  fhir:Account.coverage [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Coverage/9876B1>;
     fhir:Reference.reference [ fhir:value "Coverage/9876B1" ]
  ];
  fhir:Account.coveragePeriod [
     fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-06-30"^^xsd:date ]
  ];
  fhir:Account.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
  ];
  fhir:Account.owner [
     fhir:link <http://hl7.org/fhir/Organization/hl7>;
     fhir:Reference.reference [ fhir:value "Organization/hl7" ]
  ];
  fhir:Account.description [ fhir:value "Hospital charges"] .

<http://hl7.org/fhir/Coverage/9876B1> a fhir:Coverage .

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

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

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


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.