{
  "resourceType": "Bundle",
  "id": "example-digidot-financial-association",
  "type": "collection",
  "entry": [
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Encounter/enc-finance-demo-2028",
      "resource": {
        "resourceType": "Encounter",
        "id": "enc-finance-demo-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:encounter",
            "value": "enc-finance-demo-2028"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "type": [
          {
            "text": "Routine dental consultation"
          }
        ],
        "subject": {
          "reference": "Patient/pas-demo"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/prr-demo",
              "type": "PractitionerRole"
            }
          }
        ],
        "period": {
          "start": "2028-08-10T06:00:00+00:00",
          "end": "2028-08-10T06:45:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/loc-demo"
            }
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-demo"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Procedure/proc-finance-demo-restoration",
      "resource": {
        "resourceType": "Procedure",
        "id": "proc-finance-demo-restoration",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Procedure-no|0.7.0"
          ]
        },
        "status": "completed",
        "category": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/us/dental-data-exchange/CodeSystem/dental-category",
              "code": "dental",
              "display": "Dental"
            }
          ],
          "text": "Dental"
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "234789004",
              "display": "Insertion of composite restoration into tooth",
              "id": "SCTextended"
            }
          ],
          "text": "Completed composite restoration"
        },
        "subject": {
          "reference": "Patient/pas-demo"
        },
        "encounter": {
          "reference": "Encounter/enc-finance-demo-2028"
        },
        "performedDateTime": "2028-08-10T06:30:00+00:00",
        "performer": [
          {
            "actor": {
              "type": "Practitioner",
              "reference": "urn:uuid:abb9cc25-7488-5f85-a54f-85376c9743b6"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Observation/obs-finance-demo-xray",
      "resource": {
        "resourceType": "Observation",
        "id": "obs-finance-demo-xray",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no"
          ],
          "tag": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/example-status",
              "code": "historical",
              "display": "Historical local Observation coding; not conformant to the current SNOMED-only DigiDOT Observation profile."
            }
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "imaging",
                "display": "Imaging"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-radiographic-assessment",
              "display": "Dental radiographic assessment",
              "id": "primary"
            },
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-radiographic-assessment",
              "display": "Dental radiographic assessment",
              "id": "SCTpost"
            }
          ],
          "text": "Dental radiographic assessment"
        },
        "subject": {
          "reference": "Patient/pas-demo"
        },
        "encounter": {
          "reference": "Encounter/enc-finance-demo-2028"
        },
        "effectiveDateTime": "2028-08-10T06:15:00+00:00",
        "performer": [
          {
            "reference": "Practitioner/practitioner-tora-tannlege"
          }
        ],
        "valueString": "No apical pathology seen in this test example.",
        "method": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-method",
              "code": "radiographic-assessment",
              "display": "Radiographic assessment"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/ChargeItem/charge-finance-demo-restoration",
      "resource": {
        "resourceType": "ChargeItem",
        "id": "charge-finance-demo-restoration",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ChargeItem-no"
          ]
        },
        "status": "billable",
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
              "code": "T-DEMO-REST",
              "display": "Demo restoration fee"
            }
          ]
        },
        "subject": {
          "reference": "Patient/pas-demo"
        },
        "context": {
          "reference": "Encounter/enc-finance-demo-2028"
        },
        "service": [
          {
            "reference": "Procedure/proc-finance-demo-restoration"
          }
        ],
        "occurrenceDateTime": "2028-08-10T06:30:00+00:00",
        "quantity": {
          "value": 1
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/ChargeItem/charge-finance-demo-xray",
      "resource": {
        "resourceType": "ChargeItem",
        "id": "charge-finance-demo-xray",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ChargeItem-no"
          ]
        },
        "status": "billable",
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
              "code": "T-DEMO-XRAY",
              "display": "Demo radiographic assessment fee"
            }
          ]
        },
        "subject": {
          "reference": "Patient/pas-demo"
        },
        "context": {
          "reference": "Encounter/enc-finance-demo-2028"
        },
        "service": [
          {
            "reference": "Observation/obs-finance-demo-xray"
          }
        ],
        "occurrenceDateTime": "2028-08-10T06:15:00+00:00",
        "quantity": {
          "value": 1
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Claim/claim-finance-demo-2028",
      "resource": {
        "resourceType": "Claim",
        "id": "claim-finance-demo-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Claim-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:claim",
            "value": "claim-finance-demo-2028"
          }
        ],
        "status": "active",
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/claim-type",
              "code": "oral",
              "display": "Oral"
            }
          ]
        },
        "use": "claim",
        "patient": {
          "reference": "Patient/pas-demo"
        },
        "created": "2028-08-10T07:00:00+00:00",
        "provider": {
          "reference": "Organization/org-demo"
        },
        "priority": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/processpriority",
              "code": "normal",
              "display": "Normal"
            }
          ]
        },
        "facility": {
          "reference": "Location/loc-demo"
        },
        "procedure": [
          {
            "sequence": 1,
            "date": "2028-08-10T06:30:00+00:00",
            "procedureReference": {
              "reference": "Procedure/proc-finance-demo-restoration"
            }
          }
        ],
        "insurance": [
          {
            "sequence": 1,
            "focal": true,
            "coverage": {
              "reference": "Coverage/cov-demo-public-dental"
            }
          }
        ],
        "item": [
          {
            "sequence": 1,
            "encounter": [
              {
                "reference": "Encounter/enc-finance-demo-2028"
              }
            ],
            "procedureSequence": [
              1
            ],
            "productOrService": {
              "coding": [
                {
                  "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
                  "code": "T-DEMO-REST",
                  "display": "Demo restoration fee"
                }
              ]
            },
            "servicedDate": "2028-08-10",
            "quantity": {
              "value": 1
            },
            "unitPrice": {
              "value": 0,
              "currency": "NOK"
            },
            "net": {
              "value": 0,
              "currency": "NOK"
            }
          },
          {
            "sequence": 2,
            "encounter": [
              {
                "reference": "Encounter/enc-finance-demo-2028"
              }
            ],
            "productOrService": {
              "coding": [
                {
                  "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
                  "code": "T-DEMO-XRAY",
                  "display": "Demo radiographic assessment fee"
                }
              ]
            },
            "servicedDate": "2028-08-10",
            "quantity": {
              "value": 1
            },
            "unitPrice": {
              "value": 0,
              "currency": "NOK"
            },
            "net": {
              "value": 0,
              "currency": "NOK"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:abb9cc25-7488-5f85-a54f-85376c9743b6",
      "resource": {
        "resourceType": "Practitioner",
        "id": "demo-practitioner-9e6ccd1cc9fa",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.4",
            "value": "123456789"
          }
        ],
        "active": true
      }
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "https://novari.no/fhir/digidot/CodeSystem/example-status",
        "code": "historical",
        "display": "Historical illustration: contains local Observation codes not accepted by the current profile. Not a current validation or import example; clinical mappings remain to be agreed."
      }
    ]
  }
}