FHIRcast, published by HL7 International / Infrastructure And Messaging. This guide is not an authorized publication; it is the continuous build for version 3.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhircast-docs/ and changes regularly. See the Directory of published versions
| Page standards status: Trial-use | Maturity Level: 4 | 
| eventMaturity | 3 - Considered | 
User closed the patient's medical record. A previously opened and in context patient is no longer open nor in context.
| Key | Cardinality | Type | Description | 
|---|---|---|---|
patient | 
      1..1 | resource | FHIR Patient resource describing the patient previously in context that is being closed. | 
The following profiles provide guidance as to which resource attributes should be present and considerations as to how each attribute should be valued in a Patient close request:
Other attributes of the Patient resource (or resource extensions) may be present in the provided resource; however, attributes not called out in the profile are not required by the FHIRcast standard.
{
  "timestamp": "2023-04-01T010:50:22.16",
  "id": "112d5571-10e6-4912-8fd8-322da7926ae8",
  "event": {
    "hub.topic": "fdb2f928-5546-4f52-87a0-0648e9ded065",
    "hub.event": "Patient-close",
    "context": [
      {
        "key": "patient",
        "resource": {
          "resourceType": "Patient",
          "id": "503824b8-fe8c-4227-b061-7181ba6c3926",
          "identifier" : [
            {
              "use" : "official",
              "type" : {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code" : "MR"
                  }
                ]
              },
              "system": "urn:oid:2.999.16.840.1.113883.19.5",
              "value": "4438001",
              "assigner": {
                "reference": "Organization/a92ac1be-fb34-49c1-be58-10928bd271cc",
                "display": "My Healthcare Provider"
              }
            }
          ]
        }
      }
    ]
  }
}
| Version | Description | 
|---|---|
| 1.0 | Initial Release | 
| 1.1 | Deprecate encounter element in favor of dedicated encounter-close event | 
    
| 1.2 | Reference context resource profiles and update example to be compliant with the profiles |