Introduction
An example payload for a GET operation or response to a GET operation.
As a response, the invoice is retrieved based on InvoiceSe profile.
Search Query
GET /Invoice_search?subject=12276&encounter=317933
Example Payload
| Invoice |
| contained |
| id : 1 |
| 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 |
| contained |
| id : 2 |
| meta |
| profile : 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 |
| contained |
| id : 317933 |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/EncounterSelfService/v1 |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/encounter-InformationToPatient |
| value : Sample info |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/encounter-arrivalRegistrationPossible |
| value : 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 |
| value |
| coding |
| system : https://cambio.codes/cs/InvoiceBusinessStatus |
| code : UNPAID |
| display : Unpaid |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/invoice-paymentMethodOption/v1 |
| value |
| system : https://cambio.codes/cs/PaymentMethodTypes |
| code : INV |
| display : Invoice |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/invoice-paymentMethodOption/v1 |
| value |
| system : https://cambio.codes/cs/PaymentMethodTypes |
| code : CC |
| display : Credit Card |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/invoice-paymentMethodOption/v1 |
| value |
| system : https://cambio.codes/cs/PaymentMethodTypes |
| code : SWISH |
| display : Swish |
| status : issued |
| subject |
| reference : Patient/12276 |
| type : Patient |
| issuer |
| reference : #1 |
| lineItem |
| chargeItem |
| reference : #2 |
| type : ChargeItem |
| priceComponent |
| type : base |
| code |
| coding |
| system : https://cambio.codes/cs/cost-types |
| code : PAT |
| display : Patient fee |
| amount |
| value : 200.0 |
| currency : SEK |
| priceComponent |
| type : discount |
| code |
| coding |
| system : https://cambio.codes/cs/cost-types |
| code : REDUCT |
| display : Reduction |
| amount |
| value : -30.0 |
| currency : SEK |
| totalNet |
| value : 170.0 |
| currency : SEK |