{
  "resourceType": "Bundle",
  "id": "example-digidot-contact-note-amendment-history",
  "type": "history",
  "total": 2,
  "entry": [
    {
      "fullUrl": "https://example.org/fhir/Composition/contact-note-amendment-demo",
      "resource": {
        "resourceType": "Composition",
        "id": "contact-note-amendment-demo",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no|0.4.11"
          ],
          "versionId": "2",
          "lastUpdated": "2026-09-08T06:32:00+00:00"
        },
        "identifier": {
          "system": "urn:novari:example:dental-contact-note",
          "value": "amendment-contact-note-001"
        },
        "status": "amended",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2"
            }
          ]
        },
        "subject": {
          "reference": "Patient/example-patient"
        },
        "encounter": {
          "reference": "Encounter/example-digidot-encounter-minimal"
        },
        "date": "2026-09-08T06:30:00+00:00",
        "author": [
          {
            "type": "Practitioner",
            "reference": "Practitioner/demo-practitioner-9e6ccd1cc9fa"
          }
        ],
        "title": "Dental contact note",
        "section": [
          {
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Dental examination completed. Findings and follow-up were discussed with the patient.</p><p>Correction to the note for 7 September: the advice was given orally. No written instructions were provided. The original statement about written instructions was incorrect.</p></div>"
            }
          }
        ],
        "attester": [
          {
            "mode": "professional",
            "time": "2026-09-08T06:31:00+00:00",
            "party": {
              "type": "Practitioner",
              "reference": "Practitioner/demo-practitioner-9e6ccd1cc9fa"
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Composition/contact-note-amendment-demo"
      },
      "response": {
        "status": "200 OK",
        "location": "Composition/contact-note-amendment-demo/_history/2",
        "etag": "W/\"2\"",
        "lastModified": "2026-09-08T06:32:00+00:00"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/contact-note-amendment-demo",
      "resource": {
        "resourceType": "Composition",
        "id": "contact-note-amendment-demo",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no|0.4.11"
          ],
          "versionId": "1",
          "lastUpdated": "2026-09-07T08:17:00+00:00"
        },
        "identifier": {
          "system": "urn:novari:example:dental-contact-note",
          "value": "amendment-contact-note-001"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2"
            }
          ]
        },
        "subject": {
          "reference": "Patient/example-patient"
        },
        "encounter": {
          "reference": "Encounter/example-digidot-encounter-minimal"
        },
        "date": "2026-09-07T08:15:00+00:00",
        "author": [
          {
            "type": "Practitioner",
            "reference": "Practitioner/demo-practitioner-9e6ccd1cc9fa"
          }
        ],
        "title": "Dental contact note",
        "section": [
          {
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Dental examination completed. Findings and follow-up were discussed with the patient. Written instructions were provided.</p></div>"
            }
          }
        ],
        "attester": [
          {
            "mode": "professional",
            "time": "2026-09-07T08:16:00+00:00",
            "party": {
              "type": "Practitioner",
              "reference": "Practitioner/demo-practitioner-9e6ccd1cc9fa"
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Composition/contact-note-amendment-demo"
      },
      "response": {
        "status": "200 OK",
        "location": "Composition/contact-note-amendment-demo/_history/1",
        "etag": "W/\"1\"",
        "lastModified": "2026-09-07T08:17:00+00:00"
      }
    }
  ]
}