PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.psom@1.0.0-rc3
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader
{
  "description": "A profile that defines a MessageHeader structure used for PSOM messaging.",
  "_filename": "Profile-DataStandardsWales-PSOM-MessageHeader.json",
  "package_name": "fhir.r4.wales.psom",
  "date": null,
  "derivation": "constraint",
  "publisher": "NHS Wales",
  "fhirVersion": "4.0.1",
  "name": "DataStandardsWalesPSOMMessageHeader",
  "abstract": false,
  "copyright": "© 2023 NHS Wales.",
  "type": "MessageHeader",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Data Standards Wales PSOM MessageHeader",
  "package_version": "1.0.0-rc3",
  "status": "draft",
  "id": "61716450-cf85-4b94-80e7-f309838cc8a8",
  "kind": "resource",
  "url": "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader",
  "version": null,
  "differential": {
    "element": [ {
      "id": "MessageHeader",
      "path": "MessageHeader",
      "constraint": [ {
        "key": "PSOM-MessageHeader-01",
        "human": "All exception response messages must include a fully specified response (including an OperationOutcome that contains the issue details).",
        "severity": "error",
        "expression": "event.code = 'exception-response' implies (response.details.exists())"
      } ]
    }, {
      "id": "MessageHeader.event[x]",
      "path": "MessageHeader.event[x]",
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://fhir.nhs.wales/ValueSet/DataStandardsWales-PSOM-MessageEvent",
        "description": "PSOM message events"
      },
      "condition": [ "PSOM-MessageHeader-01" ]
    }, {
      "id": "MessageHeader.response",
      "path": "MessageHeader.response",
      "condition": [ "PSOM-MessageHeader-01" ]
    }, {
      "id": "MessageHeader.response.identifier",
      "path": "MessageHeader.response.identifier",
      "comment": "This value should be the `MessageHeader.id` of the original message, i.e. a business identifier. See http://hl7.org/fhir/R4/messageheader-definitions.html#MessageHeader.response.identifier for more information."
    }, {
      "id": "MessageHeader.response.details",
      "path": "MessageHeader.response.details",
      "condition": [ "PSOM-MessageHeader-01" ]
    }, {
      "id": "MessageHeader.focus",
      "path": "MessageHeader.focus",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-CarePlan", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-QuestionnaireResponse" ]
      } ]
    }, {
      "id": "MessageHeader.definition",
      "path": "MessageHeader.definition",
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageDefinition" ]
      } ]
    } ]
  },
  "contact": [ {
    "name": "Data Standards",
    "telecom": [ {
      "use": "work",
      "value": "data.standards@wales.nhs.uk",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader"
}