PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ecr@2.1.0
    http://hl7.org/fhir/us/ecr/StructureDefinition/rr-eicr-processing-status-extension
description: This Extension profile represents the eICR processing status.
package_name: hl7.fhir.us.ecr
derivation: constraint
name: RR_Eicr_Processing_Status_Extension
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        eICRProcessingStatus:
          match: {url: eICRProcessingStatus}
          schema:
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: eICRProcessingStatus}
                index: 2
              value:
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/rr-eicr-processing-status-observation']
                index: 5
            required: [valueReference, value]
        eICRValidationOutput:
          match: {url: eICRValidationOutput}
          schema:
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: eICRValidationOutput}
                index: 7
              value:
                choices: [valueMarkdown, valueString, valueAttachment]
                index: 9
              valueMarkdown: {type: markdown, choiceOf: value, index: 10}
              valueString: {type: string, choiceOf: value, index: 11}
              valueAttachment: {type: Attachment, choiceOf: value, index: 12}
            required: [valueMarkdown, valueString, valueAttachment, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/ecr/StructureDefinition/rr-eicr-processing-status-extension'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 2.1.0
extensions:
  eICRProcessingStatus:
    url: eICRProcessingStatus
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: eICRProcessingStatus}
        index: 2
      value:
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/ecr/StructureDefinition/rr-eicr-processing-status-observation']
        index: 5
    required: [valueReference, value]
  eICRValidationOutput:
    url: eICRValidationOutput
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: eICRValidationOutput}
        index: 7
      value:
        choices: [valueMarkdown, valueString, valueAttachment]
        index: 9
      valueMarkdown: {type: markdown, choiceOf: value, index: 10}
      valueString: {type: string, choiceOf: value, index: 11}
      valueAttachment: {type: Attachment, choiceOf: value, index: 12}
    required: [valueMarkdown, valueString, valueAttachment, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/ecr/StructureDefinition/rr-eicr-processing-status-extension
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.1.0