Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

: General Basic example supporting $Posting Operation - TTL Representation

Raw ttl | Download


@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:Basic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Posting1"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-posting-profile"^^xsd:anyURI ;
fhir:link <https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-posting-profile>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Basic Posting1</b></p><a name=\"Posting1\"> </a><a name=\"hcPosting1\"> </a><a name=\"Posting1-en-US\"> </a><p><b>identifier</b>: Unspecified Identifier/Posting1</p><p><b>code</b>: <span title=\"Codes:{https://www.hl7.org/fhir/valueset-basic-resource-type.html invoice}\">Invoice</span></p><p><b>subject</b>: <a href=\"Patient-Example1.html\">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></p><p><b>created</b>: 2001-07-09</p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-posting-extension-batch"^^xsd:anyURI ] ;
fhir:value [ fhir:v "5"^^xsd:integer ]
  ] [
fhir:url [ fhir:v "DateOfEntry"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2005-08-24"^^xsd:date ]
  ] [
fhir:url [ fhir:v "Amount"^^xsd:anyURI ] ;
fhir:value [ fhir:v "22.99" ]
  ] [
fhir:url [ fhir:v "AppliedAmount"^^xsd:anyURI ] ;
fhir:value [ fhir:v "22.99" ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-posting-extension-payerName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Newman, Alfred" ]
  ] [
fhir:url [ fhir:v "PayerId"^^xsd:anyURI ] ;
fhir:value [ fhir:v "9"^^xsd:integer ]
  ] [
fhir:url [ fhir:v "PayerType"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient" ]
  ] [
fhir:url [ fhir:v "PaymentType"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2"^^xsd:integer ]
  ] [
fhir:url [ fhir:v "CheckCardNumber"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1044" ]
  ] [
fhir:url [ fhir:v "DateOfCheck"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2005-08-24"^^xsd:date ]
  ] [
fhir:url [ fhir:v "CardTypeID"^^xsd:anyURI ] ;
fhir:value [ fhir:v "59"^^xsd:integer ]
  ] [
fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-posting-extension-patientVisitId"^^xsd:anyURI ] ;
fhir:value [ fhir:v "23"^^xsd:integer ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ] ;
fhir:display [ fhir:v "Unspecified Identifier" ]       ] ) ;
fhir:text [ fhir:v "Unspecified Identifier" ]     ] ;
fhir:system [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/namingsystem/PostingId/Training"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Posting1" ]
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "https://www.hl7.org/fhir/valueset-basic-resource-type.html"^^xsd:anyURI ] ;
fhir:code [ fhir:v "invoice" ] ;
fhir:display [ fhir:v "Invoice" ]     ] ) ;
fhir:text [ fhir:v "Invoice" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/Example1" ]
  ] ; # 
  fhir:created [ fhir:v "2001-07-09"^^xsd:date] . #