PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ecr@1.0.0
    http://hl7.org/fhir/us/ecr/StructureDefinition/rr-eicr-processing-status-extension
description: This Extension profile represents the eICR processing status. If the eICR was not processed or was processed with a warning, the reason will be contained in the eICR Processing Status Reason. If there is any output from a validator, that output will be contained in the eICR Validation Output.\n\nIf any of the trigger codes used to generate the eICR are from an outdated version of the RCTC or the codes are marked as inactive in the latest version of the RCTC, these are flagged and and the eICR Processing Status Reason Detail will hold the details of the outdated and expected versions of the RCTC.
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: 1.0.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: 1.0.0