{
  "resourceType": "StructureDefinition",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Enter your narrative here</div>"
  },
  "url": "https://example.org/fhir/StructureDefinition/PatientHealthSummary",
  "version": "1.0.0",
  "name": "PatientHealthSummary",
  "title": "Patient Health Summary - HealthCloud",
  "status": "draft",
  "date": "2024-01-25T01:24:56.2169084+00:00",
  "publisher": "Telstra Health",
  "description": "This profile represents the constraints applied to the Bundle resource by the Health Cloud Patient Health Summary (IPS) FHIR Implementation Guide.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "purpose": "A Patient Health Summary (IPS) bundle is an electronic health record extract containing essential healthcare information about a subject of care, comprising at least the required elements of the IPS dataset. The IPS dataset is minimal and non-exhaustive; specialty-agnostic and condition-independent; but still clinically relevant.",
  "copyright": "Telstra Health",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "short": "Unique Persistent identifier for the bundle",
        "requirements": "For Documents the .identifier SHALL be populated such that the .identifier is globally unique.",
        "min": 1,
        "fixedIdentifier": {
          "use": "official",
          "system": "urn:ietf:rfc:3986"
        },
        "mustHaveValue": true,
        "mustSupport": true
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "requirements": "Patient health summary is intend to be of type Document to keep the integr",
        "fixedCode": "document"
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "comment": "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself.",
        "min": 1,
        "mustHaveValue": true,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            },
            {
              "type": "profile",
              "path": "$this"
            }
          ],
          "description": "An entry resource included in the patient summary document bundle resource.",
          "rules": "open"
        },
        "comment": "Must contain the Composition as the first entry (only a single Composition resource instance may be included) and a Patient resource.  Additional constraints are specified in the Composition profile.",
        "min": 2,
        "mustHaveValue": true,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:composition",
        "path": "Bundle.entry",
        "sliceName": "composition",
        "sliceIsConstraining": false
      },
      {
        "id": "Bundle.entry:composition.resource",
        "path": "Bundle.entry.resource",
        "short": "Patient Summary composition",
        "definition": "Patient Summary composition. A composition is a set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. \\r\\nWhile a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.\", \"comment\" : \"While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical",
        "alias": [
          "composition"
        ],
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:patient",
        "path": "Bundle.entry",
        "sliceName": "patient",
        "sliceIsConstraining": false,
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:patient.resource",
        "path": "Bundle.entry.resource",
        "short": "Entry in the bundle - will have a resource or information",
        "definition": "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:allergyintolerance",
        "path": "Bundle.entry",
        "sliceName": "allergyintolerance"
      },
      {
        "id": "Bundle.entry:allergyintolerance.resource",
        "path": "Bundle.entry.resource",
        "definition": "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.",
        "alias": [
          "Allergy,Intolerance,Adverse Reaction"
        ],
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:condition",
        "path": "Bundle.entry",
        "sliceName": "condition"
      },
      {
        "id": "Bundle.entry:condition.resource",
        "path": "Bundle.entry.resource",
        "short": "Documentation of a health problem of the patien",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Condition"
            ]
          }
        ]
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "min": 1
      }
    ]
  }
}