Release 4B 5

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0: R5 - STU ). The This is the current published version which supercedes in it's permanent home (it will always be available at this version is 5.0.0 . URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R5 R4B R4 R3

Account-example.ttl

Example Account/example (Turtle)

Patient Administration Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner

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

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.status [ fhir:value "active"];
  fhir:Account.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "PBILLACCT" ];
       fhir:Coding.display [ fhir:value "patient billing account" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "patient" ]
  ];
  fhir:Account.name [ fhir:value "HACC Funded Billing for Peter James Chalmers"];
  fhir:Account.subject [
     fhir:index 0;
     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.servicePeriod [
     fhir:Period.start [ fhir:value "2016-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-06-30"^^xsd:date ]
  ];
  fhir:Account.coverage [
     fhir:index 0;
     fhir:Account.coverage.coverage [
       fhir:link <http://hl7.org/fhir/Coverage/7546D>;
       fhir:Reference.reference [ fhir:value "Coverage/7546D" ]
     ];
     fhir:Account.coverage.priority [ fhir:value "1"^^xsd:positiveInteger ]
  ];
  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/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Coverage/7546D> a fhir:Coverage .

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

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Account/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Account/example.ttl> .

[a fhir:Account ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">HACC Funded Billing for Peter James Chalmers</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 "HACC Funded Billing for 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/7546D" ]
     ] ;
     fhir:priority [ fhir:v "1"^^xsd:positiveInteger ]
  ] ) ; # 
  fhir:owner [
     fhir:reference [ fhir:v "Organization/hl7" ]
  ] ; # 
  fhir:description [ fhir:v "Hospital charges"] ; # 
  fhir:relatedAccount ( [
     fhir:relationship [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/account-relationship"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "guarantor" ]
       ] )
     ] ;
     fhir:account [
       fhir:reference [ fhir:v "Account/ewg" ]
     ]
  ] )] . # 


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


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.