Magentus Practice Management FHIR Implementation Guide
1.2.16 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.16) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : Invoice-19596b00-ee0a-54de-98e8-ccf6ed86a93e - 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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Invoice ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "19596b00-ee0a-54de-98e8-ccf6ed86a93e"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://fhir.geniesolutions.io/StructureDefinition/genie-invoice"^^xsd:anyURI ;
    fhir:link <http://fhir.geniesolutions.io/StructureDefinition/genie-invoice>     ] )
      ] ; #
      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: Invoice 19596b00-ee0a-54de-98e8-ccf6ed86a93e</b></p><a name=\"19596b00-ee0a-54de-98e8-ccf6ed86a93e\"> </a><a name=\"hc19596b00-ee0a-54de-98e8-ccf6ed86a93e\"> </a><a name=\"19596b00-ee0a-54de-98e8-ccf6ed86a93e-en-US\"> </a><p><b>status</b>: issued</p><p><b>type</b>: <span title=\"Codes:{http://fhir.geniesolutions.io/CodeSystem/invoice-type Self}, {http://snomed.info/sct 308540004}\">Self Inpatient</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Smith, Mary</a></p><p><b>recipient</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Smith, Mary</a></p><p><b>date</b>: 2021-09-29 00:00:00+1000</p><blockquote><p><b>participant</b></p><p><b>role</b>: <span title=\"Codes:\">creator</span></p><p><b>actor</b>: Dr A Demo (Identifier: Local system user name/Dr A Demo)</p></blockquote><blockquote><p><b>participant</b></p><p><b>role</b>: <span title=\"Codes:\">servicingProvider</span></p><p><b>actor</b>: Dr A Demo (Identifier: Local system user name/Dr A Demo)</p></blockquote><p><b>issuer</b>: <a href=\"Organization-fdcca47c-e554-46e5-a71f-91ec855faa29.html\">Organization Small Family Trust</a></p><p><b>account</b>: <a href=\"Account-f20d322f-72ce-507a-9b1a-073671f6158b.html\">Smith, Mary</a></p><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 1</p><p><b>chargeItem</b>: <a href=\"#hc19596b00-ee0a-54de-98e8-ccf6ed86a93e/22\">ChargeItem Specialist. Subsequent attendance</a></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>150</td><td>Australian dollar</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: tax</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>15</td><td>Australian dollar</td></tr></table></blockquote></blockquote><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 2</p><p><b>chargeItem</b>: <a href=\"#hc19596b00-ee0a-54de-98e8-ccf6ed86a93e/23\">ChargeItem Ophthalmology specialist consultation</a></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>108</td><td>Australian dollar</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: tax</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>10.8</td><td>Australian dollar</td></tr></table></blockquote></blockquote><h3>TotalGrosses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td>283.8</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: ChargeItem  #22</b></p><a name=\"19596b00-ee0a-54de-98e8-ccf6ed86a93e/22\"> </a><a name=\"hc19596b00-ee0a-54de-98e8-ccf6ed86a93e/22\"> </a><a name=\"19596b00-ee0a-54de-98e8-ccf6ed86a93e/22-en-US\"> </a><p><b>status</b>: Billed</p><p><b>code</b>: <span title=\"Codes:{urn:oid:1.2.36.1.2001.1005.21 105}\">Specialist. Subsequent attendance</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Smith, Mary</a></p><p><b>occurrence</b>: 2021-09-29</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td>Dr A Demo (Identifier: Local system user name/Dr A Demo)</td></tr></table><p><b>quantity</b>: 1</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: ChargeItem  #23</b></p><a name=\"19596b00-ee0a-54de-98e8-ccf6ed86a93e/23\"> </a><a name=\"hc19596b00-ee0a-54de-98e8-ccf6ed86a93e/23\"> </a><a name=\"19596b00-ee0a-54de-98e8-ccf6ed86a93e/23-en-US\"> </a><p><b>status</b>: Billed</p><p><b>code</b>: <span title=\"Codes:{urn:oid:1.2.36.1.2001.1005.21 106}\">Ophthalmology specialist consultation</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Smith, Mary</a></p><p><b>occurrence</b>: 2021-09-29</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td>Dr A Demo (Identifier: Local system user name/Dr A Demo)</td></tr></table><p><b>quantity</b>: 1</p></blockquote></div>"
      ] ; #
      fhir:contained ( [
    a fhir:ChargeItem ;
    fhir:id [ fhir:v "22" ] ;
    fhir:meta [
          ( fhir:profile [
    fhir:v "http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem"^^xsd:anyURI ;
    fhir:link <http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem>       ] )     ] ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://fhir.geniesolutions.io/StructureDefinition/chargeitem-category"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:CodeableConcept ;
    fhir:text [ fhir:v "investigation" ]       ]     ] ) ;
    fhir:status [ fhir:v "billed" ] ;
    fhir:code [
          ( fhir:coding [
    fhir:system [ fhir:v "urn:oid:1.2.36.1.2001.1005.21"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "105" ] ;
    fhir:display [ fhir:v "Specialist. Subsequent attendance" ]       ] )     ] ;
    fhir:subject [
    fhir:reference [ fhir:v "Patient/1078d551-7be2-49f7-a122-c230b8757f2f" ] ;
    fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
    fhir:display [ fhir:v "Smith, Mary" ]     ] ;
    fhir:occurrence [ fhir:v "2021-09-29"^^xsd:date ] ;
        ( fhir:performer [
    fhir:actor [
    fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:type [
                ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "EI" ] ;
    fhir:display [ fhir:v "Employee number" ]             ] ) ;
    fhir:text [ fhir:v "Local system user name" ]           ] ;
    fhir:system [ fhir:v "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "Dr A Demo" ] ;
    fhir:assigner [
    fhir:display [ fhir:v "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF" ]           ]         ] ;
    fhir:display [ fhir:v "Dr A Demo" ]       ]     ] ) ;
    fhir:quantity [
    fhir:value [ fhir:v "1"^^xsd:decimal ]     ]
      ] [
    a fhir:ChargeItem ;
    fhir:id [ fhir:v "23" ] ;
    fhir:meta [
          ( fhir:profile [
    fhir:v "http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem"^^xsd:anyURI ;
    fhir:link <http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem>       ] )     ] ;
    fhir:status [ fhir:v "billed" ] ;
    fhir:code [
          ( fhir:coding [
    fhir:system [ fhir:v "urn:oid:1.2.36.1.2001.1005.21"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "106" ] ;
    fhir:display [ fhir:v "Ophthalmology specialist consultation" ]       ] )     ] ;
    fhir:subject [
    fhir:reference [ fhir:v "Patient/1078d551-7be2-49f7-a122-c230b8757f2f" ] ;
    fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
    fhir:display [ fhir:v "Smith, Mary" ]     ] ;
    fhir:occurrence [ fhir:v "2021-09-29"^^xsd:date ] ;
        ( fhir:performer [
    fhir:actor [
    fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:type [
                ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "EI" ] ;
    fhir:display [ fhir:v "Employee number" ]             ] ) ;
    fhir:text [ fhir:v "Local system user name" ]           ] ;
    fhir:system [ fhir:v "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "Dr A Demo" ] ;
    fhir:assigner [
    fhir:display [ fhir:v "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF" ]           ]         ] ;
    fhir:display [ fhir:v "Dr A Demo" ]       ]     ] ) ;
    fhir:quantity [
    fhir:value [ fhir:v "1"^^xsd:decimal ]     ]
      ] ) ; #
      fhir:status [ fhir:v "issued"] ; #
      fhir:type [
        ( fhir:coding [
    fhir:system [ fhir:v "http://fhir.geniesolutions.io/CodeSystem/invoice-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "Self" ]     ] [
    a sct:308540004 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "308540004" ] ;
    fhir:display [ fhir:v "Inpatient stay" ]     ] ) ;
    fhir:text [ fhir:v "Self Inpatient" ]
      ] ; #
      fhir:subject [
    fhir:reference [ fhir:v "Patient/1078d551-7be2-49f7-a122-c230b8757f2f" ] ;
    fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
    fhir:display [ fhir:v "Smith, Mary" ]
      ] ; #
      fhir:recipient [
    fhir:reference [ fhir:v "Patient/1078d551-7be2-49f7-a122-c230b8757f2f" ] ;
    fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
    fhir:display [ fhir:v "Smith, Mary" ]
      ] ; #
      fhir:date [ fhir:v "2021-09-29T00:00:00.000+10:00"^^xsd:dateTime] ; #
      fhir:participant ( [
    fhir:role [
    fhir:text [ fhir:v "creator" ]     ] ;
    fhir:actor [
    fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "EI" ] ;
    fhir:display [ fhir:v "Employee number" ]           ] ) ;
    fhir:text [ fhir:v "Local system user name" ]         ] ;
    fhir:system [ fhir:v "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "Dr A Demo" ] ;
    fhir:assigner [
    fhir:display [ fhir:v "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF" ]         ]       ] ;
    fhir:display [ fhir:v "Dr A Demo" ]     ]
      ] [
    fhir:role [
    fhir:text [ fhir:v "servicingProvider" ]     ] ;
    fhir:actor [
    fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "EI" ] ;
    fhir:display [ fhir:v "Employee number" ]           ] ) ;
    fhir:text [ fhir:v "Local system user name" ]         ] ;
    fhir:system [ fhir:v "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "Dr A Demo" ] ;
    fhir:assigner [
    fhir:display [ fhir:v "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF" ]         ]       ] ;
    fhir:display [ fhir:v "Dr A Demo" ]     ]
      ] ) ; #
      fhir:issuer [
    fhir:reference [ fhir:v "Organization/fdcca47c-e554-46e5-a71f-91ec855faa29" ]
      ] ; #
      fhir:account [
    fhir:reference [ fhir:v "Account/f20d322f-72ce-507a-9b1a-073671f6158b" ] ;
    fhir:display [ fhir:v "Smith, Mary" ]
      ] ; #
      fhir:lineItem ( [
        ( fhir:extension [
    fhir:url [ fhir:v "http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Money ;
    fhir:value [ fhir:v "100"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] [
    fhir:url [ fhir:v "http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Money ;
    fhir:value [ fhir:v "65"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] ) ;
    fhir:sequence [ fhir:v "1"^^xsd:positiveInteger ] ;
    fhir:chargeItem [
    a fhir:Reference ;
    fhir:reference [ fhir:v "#22" ]     ] ;
        ( fhir:priceComponent [
    fhir:type [ fhir:v "base" ] ;
    fhir:amount [
    fhir:value [ fhir:v "150"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] [
    fhir:type [ fhir:v "tax" ] ;
    fhir:amount [
    fhir:value [ fhir:v "15"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] )
      ] [
        ( fhir:extension [
    fhir:url [ fhir:v "http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:Money ;
    fhir:value [ fhir:v "118.8"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] ) ;
    fhir:sequence [ fhir:v "2"^^xsd:positiveInteger ] ;
    fhir:chargeItem [
    a fhir:Reference ;
    fhir:reference [ fhir:v "#23" ]     ] ;
        ( fhir:priceComponent [
    fhir:type [ fhir:v "base" ] ;
    fhir:amount [
    fhir:value [ fhir:v "108"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] [
    fhir:type [ fhir:v "tax" ] ;
    fhir:amount [
    fhir:value [ fhir:v "10.8"^^xsd:decimal ] ;
    fhir:currency [ fhir:v "AUD" ]       ]     ] )
      ] ) ; #
      fhir:totalGross [
    fhir:value [ fhir:v "283.8"^^xsd:decimal ]
      ] . #