1.0.0 - release

CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: InvoiceSeV2 Example - JSON Representation

Raw json | Download

{
  "resourceType" : "Invoice",
  "id" : "26523",
  "meta" : {
    "profile" : [
      🔗 "https://fhir.cambio.se/StructureDefinition/InvoiceSe/v2"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Invoice 26523</b></p><a name=\"26523\"> </a><a name=\"hc26523\"> </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-InvoiceSeV2.html\">InvoiceSe(Version 2)</a></p></div><p><b>CommonBusinessStatus</b>: <span title=\"Codes:{https://cambio.codes/cs/InvoiceBusinessStatus UNPAID}\">Unpaid</span></p><blockquote><p><b>invoice-paymentMethodOption(Version 2)</b></p><blockquote><p><b>url</b></p>paymentType</blockquote><blockquote><p><b>url</b></p>acceptPayments</blockquote></blockquote><p><b>InvoiceRegisteredPaymentMethod</b>: <a href=\"CodeSystem-PaymentMethodTypes.html#PaymentMethodTypes-SWISH\">Payment Method Types Code System SWISH</a>: Swish</p><p><b>status</b>: issued</p><p><b>subject</b>: <a href=\"Patient/12276\">Patient/12276</a></p><p><b>issuer</b>: <a href=\"#hc26523/1224\">Organization DemoPayee</a></p><blockquote><p><b>lineItem</b></p><p><b>chargeItem</b>: <a href=\"#hc26523/1225\">ChargeItem Grundpauschale</a></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:{https://cambio.codes/cs/cost-types PAT}\">Patient fee</span></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>200</td><td>SEK</td></tr></table></blockquote><blockquote><p><b>priceComponent</b></p><p><b>type</b>: discount</p><p><b>code</b>: <span title=\"Codes:{https://cambio.codes/cs/cost-types REDUCT}\">Reduction</span></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>-30</td><td>SEK</td></tr></table></blockquote></blockquote><h3>TotalNets</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>170</td><td>SEK</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #1224</b></p><a name=\"26523/1224\"> </a><a name=\"hc26523/1224\"> </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-OrganizationInvoiceSe.html\">OrganizationInvoiceSe</a></p></div><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type dept}\">123_Number</span></p><p><b>name</b>: DemoPayee</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: ChargeItem #1225</b></p><a name=\"26523/1225\"> </a><a name=\"hc26523/1225\"> </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\">Profiles: <a href=\"StructureDefinition-ChargeItemSeV2.html\">ChargeItemSe(Version 2)</a>, <a href=\"StructureDefinition-ChargeItemSeV1.html\">ChargeItemSe(version 1) [Deprecated]</a></p></div><p><b>status</b>: Billable</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/chargeitem-billingcodes 1320}\">Grundpauschale</span></p><p><b>subject</b>: <a href=\"Patient/12276\">Patient/12276</a></p><p><b>context</b>: <a href=\"#hc26523/317933\">Encounter: extension = Sample info,false; identifier = https://fhir.cambio.se/Encounter#317933; status = arrived; class = pre-admission (ActCode#PRENC)</a></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Encounter #317933</b></p><a name=\"26523/317933\"> </a><a name=\"hc26523/317933\"> </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\">Profiles: <a href=\"StructureDefinition-EncounterSelfServiceV2.html\">EncounterSelfService(Version 2)</a>, <a href=\"StructureDefinition-EncounterSelfServiceV1.html\">EncounterSelfService(version 1) [Deprecated]</a></p></div><p><b>EncounterInformationToPatient</b>: Sample info</p><p><b>EncounterArrivalRegistrationPossible</b>: false</p><p><b>identifier</b>: <code>https://fhir.cambio.se/Encounter</code>/317933</p><p><b>status</b>: Arrived</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-PRENC\">ActCode PRENC</a>: pre-admission</p></blockquote></div>"
  },
  "contained" : [
    {
      "resourceType" : "Organization",
      "id" : "1224",
      "meta" : {
        "profile" : [
          🔗 "https://fhir.cambio.se/StructureDefinition/OrganizationInvoiceSe"
        ]
      },
      "active" : true,
      "type" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
              "code" : "dept",
              "display" : "Hospital Department"
            }
          ],
          "text" : "123_Number"
        }
      ],
      "name" : "DemoPayee"
    },
    {
      "resourceType" : "ChargeItem",
      "id" : "1225",
      "meta" : {
        "profile" : [
          🔗 "https://fhir.cambio.se/StructureDefinition/ChargeItemSe/v2"🔗 ,
          "https://fhir.cambio.se/StructureDefinition/ChargeItemSe"
        ]
      },
      "status" : "billable",
      "code" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/chargeitem-billingcodes",
            "code" : "1320",
            "display" : "Grundpauschale"
          }
        ]
      },
      "subject" : {
        "reference" : "Patient/12276",
        "type" : "Patient"
      },
      "context" : {
        "reference" : "#317933"
      }
    },
    {
      "resourceType" : "Encounter",
      "id" : "317933",
      "meta" : {
        "profile" : [
          🔗 "https://fhir.cambio.se/StructureDefinition/EncounterSelfService/v2"🔗 ,
          "https://fhir.cambio.se/StructureDefinition/EncounterSelfService/v1"
        ]
      },
      "extension" : [
        {
          "url" : "https://fhir.cambio.se/StructureDefinition/encounter-InformationToPatient",
          "valueString" : "Sample info"
        },
        {
          "url" : "https://fhir.cambio.se/StructureDefinition/encounter-arrivalRegistrationPossible",
          "valueBoolean" : false
        }
      ],
      "identifier" : [
        {
          "system" : "https://fhir.cambio.se/Encounter",
          "value" : "317933"
        }
      ],
      "status" : "arrived",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "PRENC",
        "display" : "pre-admission"
      }
    }
  ],
  "extension" : [
    {
      "url" : "https://fhir.cambio.se/StructureDefinition/common-businessStatus/v1",
      "valueCodeableConcept" : {
        "coding" : [
          {
            "system" : "https://cambio.codes/cs/InvoiceBusinessStatus",
            "code" : "UNPAID",
            "display" : "Unpaid"
          }
        ]
      }
    },
    {
      "extension" : [
        {
          "url" : "paymentType"
        },
        {
          "url" : "acceptPayments"
        }
      ],
      "url" : "https://fhir.cambio.se/StructureDefinition/invoice-paymentMethodOption/v2"
    },
    {
      "url" : "https://fhir.cambio.se/StructureDefinition/invoice-registeredPaymentMethod/v1",
      "valueCoding" : {
        "system" : "https://cambio.codes/cs/PaymentMethodTypes",
        "code" : "SWISH",
        "display" : "Swish"
      }
    }
  ],
  "status" : "issued",
  "subject" : {
    "reference" : "Patient/12276",
    "type" : "Patient"
  },
  "issuer" : {
    "reference" : "#1224"
  },
  "lineItem" : [
    {
      "chargeItemReference" : {
        "reference" : "#1225",
        "type" : "ChargeItem"
      },
      "priceComponent" : [
        {
          "type" : "base",
          "code" : {
            "coding" : [
              {
                "system" : "https://cambio.codes/cs/cost-types",
                "code" : "PAT",
                "display" : "Patient fee"
              }
            ]
          },
          "amount" : {
            "value" : 200,
            "currency" : "SEK"
          }
        },
        {
          "type" : "discount",
          "code" : {
            "coding" : [
              {
                "system" : "https://cambio.codes/cs/cost-types",
                "code" : "REDUCT",
                "display" : "Reduction"
              }
            ]
          },
          "amount" : {
            "value" : -30,
            "currency" : "SEK"
          }
        }
      ]
    }
  ],
  "totalNet" : {
    "value" : 170,
    "currency" : "SEK"
  }
}