{
  "resourceType" : "Invoice",
  "id" : "EjemploEmaCoreInvoice",
  "meta" : {
    "profile" : ["https://emahealth.io/fhir/core/StructureDefinition/ema-core-invoice"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Invoice EjemploEmaCoreInvoice</b></p><a name=\"EjemploEmaCoreInvoice\"> </a><a name=\"hcEjemploEmaCoreInvoice\"> </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-ema-core-invoice.html\">EMA Core Invoice</a></p></div><p><b>identifier</b>: <code>https://tenant-ejemplo.emahealth.io/fhir/sid/boleta</code>/BOL-2026-004512</p><p><b>status</b>: issued</p><p><b>subject</b>: <a href=\"Patient-EjemploEmaCorePatient.html\">Carmen Díaz (official) Female, DoB: 1969-04-22 ( Medical record number\u00a0(use:\u00a0usual,\u00a0))</a></p><p><b>date</b>: 2026-08-18 09:35:00-0400</p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Organization-EjemploEmaCoreOrganization.html\">Organization Centro Médico EMA</a></td></tr></table><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 1</p><p><b>chargeItem</b>: <a href=\"ChargeItem-EjemploEmaCoreChargeItem.html\">ChargeItem CLI-CONS-CTRL</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>35000</td><td>Chilean peso</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>35000</td><td>Chilean peso</td></tr></table><h3>TotalGrosses</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>35000</td><td>Chilean peso</td></tr></table></div>"
  },
  "identifier" : [{
    "system" : "https://tenant-ejemplo.emahealth.io/fhir/sid/boleta",
    "value" : "BOL-2026-004512"
  }],
  "status" : "issued",
  "subject" : {
    "reference" : "Patient/EjemploEmaCorePatient"
  },
  "date" : "2026-08-18T09:35:00-04:00",
  "participant" : [{
    "actor" : {
      "reference" : "Organization/EjemploEmaCoreOrganization"
    }
  }],
  "lineItem" : [{
    "sequence" : 1,
    "chargeItemReference" : {
      "reference" : "ChargeItem/EjemploEmaCoreChargeItem"
    },
    "priceComponent" : [{
      "type" : "base",
      "amount" : {
        "value" : 35000,
        "currency" : "CLP"
      }
    }]
  }],
  "totalNet" : {
    "value" : 35000,
    "currency" : "CLP"
  },
  "totalGross" : {
    "value" : 35000,
    "currency" : "CLP"
  }
}