{
  "resourceType": "StructureDefinition",
  "id": "operationoutcome-ab-core",
  "url": "https://www.alberta.ca/fhir/abcore/StructureDefinition/operationoutcome-ab-core",
  "version": "1.1.0",
  "name": "OperationOutcomeABCore",
  "title": "OperationOutcome (AB-Core)",
  "status": "draft",
  "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",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "OperationOutcome",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "OperationOutcome.issue",
        "path": "OperationOutcome.issue",
        "mustSupport": true
      },
      {
        "id": "OperationOutcome.issue.extension",
        "path": "OperationOutcome.issue.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "OperationOutcome.issue.extension:line",
        "path": "OperationOutcome.issue.extension",
        "sliceName": "line",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line"
            ]
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.extension:column",
        "path": "OperationOutcome.issue.extension",
        "sliceName": "column",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col"
            ]
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.extension:source",
        "path": "OperationOutcome.issue.extension",
        "sliceName": "source",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source"
            ]
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.extension:messageId",
        "path": "OperationOutcome.issue.extension",
        "sliceName": "messageId",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id"
            ]
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.extension:resourceId",
        "path": "OperationOutcome.issue.extension",
        "sliceName": "resourceId",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://www.alberta.ca/fhir/abcore/StructureDefinition/ext-ResourceIdentifier"
            ]
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.severity",
        "path": "OperationOutcome.issue.severity",
        "mustSupport": true
      },
      {
        "id": "OperationOutcome.issue.code",
        "path": "OperationOutcome.issue.code",
        "mustSupport": true
      }
    ]
  }
}