FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/DataStandardsWales-PSOM-MessageHeader

Packagefhir.r4.wales.psom
Resource TypeStructureDefinition
IdDataStandardsWales-PSOM-MessageHeader
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=fhir.r4.wales.psom@1.0.0-rc3&canonical=https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader
URLhttps://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader
Statusdraft
NameDataStandardsWalesPSOMMessageHeader
TitleData Standards Wales PSOM MessageHeader
Realmus
Authorityhl7
DescriptionA profile that defines a MessageHeader structure used for PSOM messaging.
Copyright© 2023 NHS Wales.
TypeMessageHeader
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
DataStandardsWales-PatientData Standards Wales Patient
DataStandardsWales-PSOM-CarePlanData Standards Wales PSOM CarePlan
DataStandardsWales-PSOM-MessageDefinitionData Standards Wales PSOM MessageDefinition
DataStandardsWales-PSOM-QuestionnaireResponseData Standards Wales PSOM QuestionnaireResponse
DataStandardsWales-PSOM-TaskData Standards Wales PSOM Task
UKCore-MessageHeaderUK Core Message Header
ValueSet
DataStandardsWales-PSOM-MessageEventData Standards Wales PSOM Message Event

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "id": "DataStandardsWales-PSOM-MessageHeader",
  "url": "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader",
  "name": "DataStandardsWalesPSOMMessageHeader",
  "title": "Data Standards Wales PSOM MessageHeader",
  "status": "draft",
  "publisher": "NHS Wales",
  "contact": [
    {
      "name": "Data Standards",
      "telecom": [
        {
          "system": "email",
          "value": "data.standards@wales.nhs.uk",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A profile that defines a MessageHeader structure used for PSOM messaging.",
  "copyright": "© 2023 NHS Wales.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MessageHeader",
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MessageHeader",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MessageHeader",
        "path": "MessageHeader",
        "constraint": [
          {
            "key": "PSOM-MessageHeader-01",
            "severity": "error",
            "human": "All exception response messages must include a fully specified response (including an OperationOutcome that contains the issue details).",
            "expression": "event.code = 'exception-response' implies (response.details.exists())"
          }
        ]
      },
      {
        "id": "MessageHeader.event[x]",
        "path": "MessageHeader.event[x]",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "PSOM-MessageHeader-01"
        ],
        "binding": {
          "strength": "required",
          "description": "PSOM message events",
          "valueSet": "https://fhir.nhs.wales/ValueSet/DataStandardsWales-PSOM-MessageEvent"
        }
      },
      {
        "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"
            ]
          }
        ]
      }
    ]
  }
}