PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/eRS-OperationOutcome-1
description: null
package_name: NHSD.Assets.STU3
derivation: constraint
name: eRS-OperationOutcome-1
type: OperationOutcome
elements:
  issue:
    extensions:
      elementName: {url: h, max: 1, type: Extension, short: The name of the parameter at fault, index: 1}
      elementValue: {url: h, max: 1, type: Extension, short: The value of the parameter at fault, index: 2}
    elements:
      extension:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            elementName:
              match: {url: null}
              schema: {type: Extension, short: The name of the parameter at fault, url: h, index: 1}
              max: 1
            elementValue:
              match: {url: null}
              schema: {type: Extension, short: The value of the parameter at fault, url: h, index: 2}
              max: 1
      details:
        short: eRS Error Code
        index: 3
        elements:
          coding:
            index: 4
            elements:
              system:
                short: eRS Error Codes
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/eRS-APIErrorCode-1'}
                index: 5
              version: {index: 6}
              code: {index: 7}
              display: {index: 8}
              userSelected: {index: 9}
            required: [system, code]
          text: {index: 10}
        required: [coding]
      expression: {index: 11}
    required: [details]
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/eRS-OperationOutcome-1
base: http://hl7.org/fhir/StructureDefinition/OperationOutcome
version: 1.1.0