Release 4 5 Ballot

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-ballot: R5 Ballot - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). 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 R2

Invoice-example.ttl

Example List/med-list (XML)

Financial Management FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

Raw Turtle XML (+ ( canonical form + also see Turtle/RDF XML Format Specification )

Jump past Narrative

Example of invoice Medication Change List (id = "med-list")

@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 sct: <http://snomed.info/id/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/Invoice/example> a fhir:Invoice; 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\">Example of Invoice</div>" ]; fhir:Invoice.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "http://myHospital.org/Invoices" ]; fhir:Identifier.value [ fhir:value "654321" ] ]; fhir:Invoice.status [ fhir:value "issued"]; fhir:Invoice.subject [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:Invoice.date [ fhir:value "2017-01-25T08:00:00+01:00"^^xsd:dateTime]; fhir:Invoice.participant [ fhir:index 0; fhir:Invoice.participant.role [ fhir:CodeableConcept.coding [ fhir:index 0; a sct:17561000; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "17561000" ]; fhir:Coding.display [ fhir:value "Cardiologist" ] ] ]; fhir:Invoice.participant.actor [ fhir:link <http://hl7.org/fhir/Practitioner/example>; fhir:Reference.reference [ fhir:value "Practitioner/example" ] ] ]; fhir:Invoice.issuer [ fhir:Reference.identifier [ fhir:Identifier.system [ fhir:value "http://myhospital/NamingSystem/departments" ]; fhir:Identifier.value [ fhir:value "CARD_INTERMEDIATE_CARE" ] ] ]; fhir:Invoice.account [ fhir:link <http://hl7.org/fhir/Account/example>; fhir:Reference.reference [ fhir:value "Account/example" ] ]; fhir:Invoice.totalNet [ fhir:Money.value [ fhir:value "40"^^xsd:decimal ]; fhir:Money.currency [ fhir:value "EUR" ] ]; fhir:Invoice.totalGross [ fhir:Money.value [ fhir:value "48"^^xsd:decimal ]; fhir:Money.currency [ fhir:value "EUR" ] ] . <http://hl7.org/fhir/Patient/example> a fhir:Patient . <http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner . <http://hl7.org/fhir/Account/example> a fhir:Account . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Invoice/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Invoice/example.ttl> . # -------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>


<List xmlns="http://hl7.org/fhir">
  <id value="med-list"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> Add hydroxocobalamin</p> 
      <p> Cancel Morphine Sulphate</p> 
    </div> 
  </text> 
  <status value="current"/> 
  <mode value="changes"/> 
  <code> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="182836005"/> 
      <display value="Review of medication"/> 
    </coding> 
    <text value="Medication Review"/> 
  </code> 
  <date value="2013-11-20T23:10:23+11:00"/> 
  <source> 
    <reference value="Patient/example"/> 
  </source> 
  <!--   
      in a real medications list, we'd actually have medication resources.
      but this an example to demonstrate a changes list, so we'll just use 
      display   -->
  <entry> 
    <!--   patient was prescribed hydroxocobalamin. the flag marks this 

       as a prescription. Note that healthcare workers will now get into
       a long debate the exact implication of "prescribed". That's why the
       spec doesn't fix the flag values   -->
    <flag> 
      <coding> 
        <system value="http://nehta.gov.au/codes/medications/changetype"/> 
        <code value="01"/> 
        <display value="Prescribed"/> 
      </coding> 
    </flag> 
    <item>  
      <display value="hydroxocobalamin"/> 
    </item> 
  </entry>   
  <!--  

     on this one, we record that the patient was taken off morphine sulfate.
     because not every system knows the flags, and the ensure there's no confusion,
     if the flag implies that something was removed from the list, then the
     deleted element must also be set 
    -->  
  <entry> 
    <flag> 
      <coding> 
        <system value="http://nehta.gov.au/codes/medications/changetype"/> 
        <code value="02"/> 
        <display value="Cancelled"/> 
      </coding> 
    </flag> 
    <deleted value="true"/> 
    <item>  
      <display value="Morphine Sulfate"/> 
    </item> 
  </entry>   

</

List

>

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.