PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.ab-eorder-lab@1.0.2
    https://www.alberta.ca/fhir/abcore/StructureDefinition/operationoutcome-ab-core
description: 'This profile defines a set of constraints to the FHIR OperationOutcome resource for use in Alberta eOrder Laboratory (AB:eOrder-Lab). It re-profiles the R4 Core OperationOutcome resource and it includes constraints that represent the minimum expectations for the OperationOutcome resource when used in the AB:eOrder-Lab. \nNote: When AB Core is published in the future, remove this profile and the ResourceIdentifier extension from this project and set a dependency to AB Core package'
package_name: ca.ab.fhir.ab-eorder-lab
derivation: constraint
name: OperationOutcomeABCore
type: OperationOutcome
elements:
  issue:
    mustSupport: true
    index: 0
    extensions:
      line: {url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line', min: 0, max: 1, type: Extension, index: 2}
      column: {url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col', min: 0, max: 1, type: Extension, index: 3}
      source: {url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source', min: 0, max: 1, type: Extension, index: 4}
      messageId: {url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id', min: 0, max: 1, type: Extension, index: 5}
      resourceId: {url: 'https://www.alberta.ca/fhir/abcore/StructureDefinition/ext-ResourceIdentifier', min: 0, max: 1, type: Extension, index: 6}
    elements:
      extension:
        index: 1
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            line:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line', index: 2}
              min: 0
              max: 1
            column:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col', index: 3}
              min: 0
              max: 1
            source:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source', index: 4}
              min: 0
              max: 1
            messageId:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id', index: 5}
              min: 0
              max: 1
            resourceId:
              match: {url: null}
              schema: {type: Extension, url: 'https://www.alberta.ca/fhir/abcore/StructureDefinition/ext-ResourceIdentifier', index: 6}
              min: 0
              max: 1
      severity: {mustSupport: true, index: 7}
      code: {mustSupport: true, index: 8}
package_version: 1.0.2
class: profile
kind: resource
url: https://www.alberta.ca/fhir/abcore/StructureDefinition/operationoutcome-ab-core
base: http://hl7.org/fhir/StructureDefinition/OperationOutcome
version: 1.0.2