PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.2-dev
    https://fhir.nhs.uk/StructureDefinition/Extension-NHSDigital-platformError
description: null
package_name: uk.nhsdigital.r4
derivation: constraint
name: Extension-NHSDigital-platformError
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        dateTime:
          match: {url: dateTime}
          schema:
            short: UTC date and time stamp
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: dateTime}
                index: 2
              value:
                choices: [valueDateTime]
                index: 4
              valueDateTime: {type: dateTime, choiceOf: value, index: 5}
            required: [valueDateTime, value]
        HTTPStatusCode:
          match: {url: HTTPStatusCode}
          schema:
            short: HTTP Status Code
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: HTTPStatusCode}
                index: 7
              value:
                choices: [valueInteger]
                index: 9
              valueInteger: {type: integer, choiceOf: value, index: 10}
            required: [value, valueInteger]
        url:
          match: {url: url}
          schema:
            short: Either as self-service help and /or a unique identifier
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: url}
                index: 12
              value:
                choices: [valueUrl]
                index: 14
              valueUrl: {type: url, choiceOf: value, index: 15}
            required: [value, valueUrl]
        uniqueRequestID:
          match: {url: uniqueRequestID}
          schema:
            short: UniquerequestID
            _required: true
            index: 16
            elements:
              url:
                pattern: {type: Uri, value: uniqueRequestID}
                index: 17
              value:
                choices: [valueString, valueUuid]
                index: 19
              valueString: {type: string, choiceOf: value, index: 20}
              valueUuid: {type: uuid, choiceOf: value, index: 21}
            required: [valueString, value, valueUuid]
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/StructureDefinition/Extension-NHSDigital-platformError'}
    index: 22
  value:
    choices: []
    index: 24
package_version: 2.1.2-dev
extensions:
  dateTime:
    url: dateTime
    short: UTC date and time stamp
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: dateTime}
        index: 2
      value:
        choices: [valueDateTime]
        index: 4
      valueDateTime: {type: dateTime, choiceOf: value, index: 5}
    required: [valueDateTime, value]
  HTTPStatusCode:
    url: HTTPStatusCode
    short: HTTP Status Code
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: HTTPStatusCode}
        index: 7
      value:
        choices: [valueInteger]
        index: 9
      valueInteger: {type: integer, choiceOf: value, index: 10}
    required: [value, valueInteger]
  url:
    url: url
    short: Either as self-service help and /or a unique identifier
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: url}
        index: 12
      value:
        choices: [valueUrl]
        index: 14
      valueUrl: {type: url, choiceOf: value, index: 15}
    required: [value, valueUrl]
  uniqueRequestID:
    url: uniqueRequestID
    short: UniquerequestID
    _required: true
    index: 16
    elements:
      url:
        pattern: {type: Uri, value: uniqueRequestID}
        index: 17
      value:
        choices: [valueString, valueUuid]
        index: 19
      valueString: {type: string, choiceOf: value, index: 20}
      valueUuid: {type: uuid, choiceOf: value, index: 21}
    required: [valueString, value, valueUuid]
class: extension
kind: complex-type
url: https://fhir.nhs.uk/StructureDefinition/Extension-NHSDigital-platformError
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null