Magentus Practice Management FHIR Implementation Guide
1.2.60 - ci-build

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

## : Example of an invoice - JSON Representation

Raw json | Download

    {
      "resourceType" : "Invoice",
      "id" : "19596b00-ee0a-54de-98e8-ccf6ed86a93e",
      "meta" : {
        "profile" : [
          🔗 "http://fhir.geniesolutions.io/StructureDefinition/genie-invoice"
        ]
      },
      "text" : {
        "status" : "extensions",
        "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><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-genie-invoice.html\">Genie Invoice</a></p></div><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>Invoice Item Payment</b>: <span title=\"Australian Dollar\">A$100.00</span> (AUD)</p><p><b>Invoice Item Balance</b>: <span title=\"Australian Dollar\">A$65.00</span> (AUD)</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>Invoice Item Balance</b>: <span title=\"Australian Dollar\">A$118.80</span> (AUD)</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><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-genie-chargeitem.html\">Genie ChargeItem Base</a></p></div><p><b>ChargeItem Category</b>: <span title=\"Codes:\">investigation</span></p><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><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-genie-chargeitem.html\">Genie ChargeItem Base</a></p></div><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>"
      },
      "contained" : [
        {
          "resourceType" : "ChargeItem",
          "id" : "22",
          "meta" : {
            "profile" : [
              🔗 "http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem"
            ]
          },
          "extension" : [
            {
              "url" : "http://fhir.geniesolutions.io/StructureDefinition/chargeitem-category",
              "valueCodeableConcept" : {
                "text" : "investigation"
              }
            }
          ],
          "status" : "billed",
          "code" : {
            "coding" : [
              {
                "system" : "urn:oid:1.2.36.1.2001.1005.21",
                "code" : "105",
                "display" : "Specialist. Subsequent attendance"
              }
            ]
          },
          "subject" : {
            🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
            "type" : "Patient",
            "display" : "Smith, Mary"
          },
          "occurrenceDateTime" : "2021-09-29",
          "performer" : [
            {
              "actor" : {
                "type" : "Practitioner",
                "identifier" : {
                  "type" : {
                    "coding" : [
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "EI",
                        "display" : "Employee number"
                      }
                    ],
                    "text" : "Local system user name"
                  },
                  "system" : "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF",
                  "value" : "Dr A Demo",
                  "assigner" : {
                    "display" : "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF"
                  }
                },
                "display" : "Dr A Demo"
              }
            }
          ],
          "quantity" : {
            "value" : 1
          }
        },
        {
          "resourceType" : "ChargeItem",
          "id" : "23",
          "meta" : {
            "profile" : [
              🔗 "http://fhir.geniesolutions.io/StructureDefinition/genie-chargeitem"
            ]
          },
          "status" : "billed",
          "code" : {
            "coding" : [
              {
                "system" : "urn:oid:1.2.36.1.2001.1005.21",
                "code" : "106",
                "display" : "Ophthalmology specialist consultation"
              }
            ]
          },
          "subject" : {
            🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
            "type" : "Patient",
            "display" : "Smith, Mary"
          },
          "occurrenceDateTime" : "2021-09-29",
          "performer" : [
            {
              "actor" : {
                "type" : "Practitioner",
                "identifier" : {
                  "type" : {
                    "coding" : [
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "EI",
                        "display" : "Employee number"
                      }
                    ],
                    "text" : "Local system user name"
                  },
                  "system" : "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF",
                  "value" : "Dr A Demo",
                  "assigner" : {
                    "display" : "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF"
                  }
                },
                "display" : "Dr A Demo"
              }
            }
          ],
          "quantity" : {
            "value" : 1
          }
        }
      ],
      "status" : "issued",
      "type" : {
        "coding" : [
          {
            "system" : "http://fhir.geniesolutions.io/CodeSystem/invoice-type",
            "code" : "Self"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "308540004",
            "display" : "Inpatient stay"
          }
        ],
        "text" : "Self Inpatient"
      },
      "subject" : {
        🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
        "type" : "Patient",
        "display" : "Smith, Mary"
      },
      "recipient" : {
        🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
        "type" : "Patient",
        "display" : "Smith, Mary"
      },
      "date" : "2021-09-29T00:00:00.000+10:00",
      "participant" : [
        {
          "role" : {
            "text" : "creator"
          },
          "actor" : {
            "type" : "Practitioner",
            "identifier" : {
              "type" : {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code" : "EI",
                    "display" : "Employee number"
                  }
                ],
                "text" : "Local system user name"
              },
              "system" : "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF",
              "value" : "Dr A Demo",
              "assigner" : {
                "display" : "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF"
              }
            },
            "display" : "Dr A Demo"
          }
        },
        {
          "role" : {
            "text" : "servicingProvider"
          },
          "actor" : {
            "type" : "Practitioner",
            "identifier" : {
              "type" : {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code" : "EI",
                    "display" : "Employee number"
                  }
                ],
                "text" : "Local system user name"
              },
              "system" : "http://fhir.geniesolutions.io/user-name/GEN15943-3473CDFA0960754799BFC1DB8660C0DF",
              "value" : "Dr A Demo",
              "assigner" : {
                "display" : "Genie Instance GEN15943-3473CDFA0960754799BFC1DB8660C0DF"
              }
            },
            "display" : "Dr A Demo"
          }
        }
      ],
      "issuer" : {
        🔗 "reference" : "Organization/fdcca47c-e554-46e5-a71f-91ec855faa29"
      },
      "account" : {
        🔗 "reference" : "Account/f20d322f-72ce-507a-9b1a-073671f6158b",
        "display" : "Smith, Mary"
      },
      "lineItem" : [
        {
          "extension" : [
            {
              "url" : "http://fhir.geniesolutions.io/StructureDefinition/invoice-item-payment",
              "valueMoney" : {
                "value" : 100,
                "currency" : "AUD"
              }
            },
            {
              "url" : "http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance",
              "valueMoney" : {
                "value" : 65,
                "currency" : "AUD"
              }
            }
          ],
          "sequence" : 1,
          "chargeItemReference" : {
            "reference" : "#22"
          },
          "priceComponent" : [
            {
              "type" : "base",
              "amount" : {
                "value" : 150,
                "currency" : "AUD"
              }
            },
            {
              "type" : "tax",
              "amount" : {
                "value" : 15,
                "currency" : "AUD"
              }
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.geniesolutions.io/StructureDefinition/invoice-item-balance",
              "valueMoney" : {
                "value" : 118.8,
                "currency" : "AUD"
              }
            }
          ],
          "sequence" : 2,
          "chargeItemReference" : {
            "reference" : "#23"
          },
          "priceComponent" : [
            {
              "type" : "base",
              "amount" : {
                "value" : 108,
                "currency" : "AUD"
              }
            },
            {
              "type" : "tax",
              "amount" : {
                "value" : 10.8,
                "currency" : "AUD"
              }
            }
          ]
        }
      ],
      "totalGross" : {
        "value" : 283.8
      }
    }