PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.fhircast@3.0.0-ballot
    http://hl7.org/fhir/uv/fhircast/StructureDefinition/fhircast-operation-outcome-syncerror
description: 'Defines the structure of OperationOutcomes to be used in sync-error events. The content of the \nOperationOutcomes contains information that is used to determine the cause of the sync-error. '
package_name: hl7.fhir.uv.fhircast
derivation: constraint
name: FhircastSyncErrorOperationOutcome
type: OperationOutcome
elements:
  issue:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      ordered: false
      description: FHIRcast specific information
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        fhircast:
          match: {code: processing}
          schema:
            _required: true
            index: 1
            elements:
              code:
                pattern: {type: Code, value: processing}
                index: 2
              details:
                mustSupport: true
                index: 3
                elements:
                  coding:
                    array: true
                    min: 3
                    index: 4
                    slicing:
                      rules: open
                      ordered: false
                      description: Detailed information on syncerror cause.
                      discriminator:
                      - {path: system, type: value}
                      min: 3
                      slices:
                        eventid:
                          match: {system: 'https://fhircast.hl7.org/events/syncerror/eventid'}
                          schema:
                            _required: true
                            index: 5
                            elements:
                              system:
                                pattern: {type: Uri, value: 'https://fhircast.hl7.org/events/syncerror/eventid'}
                                index: 6
                              code: {short: The event id of the related event., index: 7}
                            required: [system]
                        eventname:
                          match: {system: 'https://fhircast.hl7.org/events/syncerror/eventname'}
                          schema:
                            _required: true
                            index: 8
                            elements:
                              system:
                                pattern: {type: Uri, value: 'https://fhircast.hl7.org/events/syncerror/eventname'}
                                index: 9
                              code: {short: The event eventname of the related event., index: 10}
                            required: [system]
                        subscribername:
                          match: {system: 'https://fhircast.hl7.org/events/syncerror/subscribername'}
                          schema:
                            _required: true
                            index: 11
                            elements:
                              system:
                                pattern: {type: Uri, value: 'https://fhircast.hl7.org/events/syncerror/subscribername'}
                                index: 12
                              code: {short: The subscribername of the subscriber causing the event., index: 13}
                            required: [system]
              diagnostics: {short: This field SHALL contain a human readable description of the source and reason for the error., mustSupport: true, index: 14}
            required: [diagnostics, details]
package_version: 3.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/uv/fhircast/StructureDefinition/fhircast-operation-outcome-syncerror
base: http://hl7.org/fhir/StructureDefinition/OperationOutcome
version: 3.0.0-ballot