PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.extensions.r4@5.3.0
    http://hl7.org/fhir/StructureDefinition/servicerequest-specimenSuggestion
description: This attribute enables the requester of this service to indicate they would like a certain specimen to be used, but if that is not available/appropriate to be used whether to have another specimen drawn, or that this test is not performed. When a specimen is referenced it is expected to be used. If it cannot be used, the decision to collect another specimen or not perform the test must be based on established policies or determined in some other agreed to way with the requester.
package_name: hl7.fhir.uv.extensions.r4
derivation: constraint
name: SRSpecimenSuggestion
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        reference:
          match: {}
          schema:
            _required: true
            index: 0
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: DataType name 'CodeableReference' from R5
                index: 2
                elements:
                  value:
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 4
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    choiceOf: value
                    index: 5
                required: [valueString, value]
              concept:
                url: concept
                short: Reference to a concept (by class)
                index: 6
                extensions: {}
                elements:
                  extension: {index: 7}
                  url:
                    pattern: {type: Uri, value: concept}
                    index: 8
                  value:
                    choices: [valueCodeableConcept]
                    index: 10
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
                required: [value, valueCodeableConcept]
              reference:
                url: reference
                short: Reference to a resource (by instance)
                index: 12
                extensions: {}
                elements:
                  extension: {index: 13}
                  url:
                    pattern: {type: Uri, value: reference}
                    index: 14
                  value:
                    choices: [valueReference]
                    index: 16
                  valueReference: {type: Reference, choiceOf: value, index: 17}
                required: [valueReference, value]
            elements:
              extension:
                short: Reference to suggested specimen or ServiceRequest that yielded the specimen
                array: true
                index: 1
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: DataType name 'CodeableReference' from R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 2
                        elements:
                          value:
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 4
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            choiceOf: value
                            index: 5
                        required: [valueString, value]
                    concept:
                      match: {url: concept}
                      schema:
                        short: Reference to a concept (by class)
                        index: 6
                        extensions: {}
                        elements:
                          extension: {index: 7}
                          url:
                            pattern: {type: Uri, value: concept}
                            index: 8
                          value:
                            choices: [valueCodeableConcept]
                            index: 10
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
                        required: [value, valueCodeableConcept]
                    reference:
                      match: {url: reference}
                      schema:
                        short: Reference to a resource (by instance)
                        index: 12
                        extensions: {}
                        elements:
                          extension: {index: 13}
                          url:
                            pattern: {type: Uri, value: reference}
                            index: 14
                          value:
                            choices: [valueReference]
                            index: 16
                          valueReference: {type: Reference, choiceOf: value, index: 17}
                        required: [valueReference, value]
              url:
                type: uri
                pattern: {type: Uri, value: reference}
                index: 18
              value:
                short: Reference to suggested specimen or ServiceRequest that yielded the specimen
                choices: []
                index: 20
        fallBackAction:
          match: {}
          schema:
            index: 21
            extensions: {}
            elements:
              extension: {index: 22}
              url:
                type: uri
                pattern: {type: Uri, value: fallBackAction}
                index: 23
              value:
                choices: [valueCode]
                index: 25
              valueCode: {type: code, choiceOf: value, index: 26}
  url:
    type: uri
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/servicerequest-specimenSuggestion'}
    index: 27
  value:
    choices: []
    index: 29
package_version: 5.3.0
extensions:
  reference:
    url: null
    _required: true
    index: 0
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: DataType name 'CodeableReference' from R5
        index: 2
        elements:
          value:
            pattern: {type: String, value: CodeableReference}
            choices: [valueString]
            index: 4
          valueString:
            type: string
            pattern: {type: String, value: CodeableReference}
            choiceOf: value
            index: 5
        required: [valueString, value]
      concept:
        url: concept
        short: Reference to a concept (by class)
        index: 6
        extensions: {}
        elements:
          extension: {index: 7}
          url:
            pattern: {type: Uri, value: concept}
            index: 8
          value:
            choices: [valueCodeableConcept]
            index: 10
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
        required: [value, valueCodeableConcept]
      reference:
        url: reference
        short: Reference to a resource (by instance)
        index: 12
        extensions: {}
        elements:
          extension: {index: 13}
          url:
            pattern: {type: Uri, value: reference}
            index: 14
          value:
            choices: [valueReference]
            index: 16
          valueReference: {type: Reference, choiceOf: value, index: 17}
        required: [valueReference, value]
    elements:
      extension:
        short: Reference to suggested specimen or ServiceRequest that yielded the specimen
        array: true
        index: 1
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            _datatype:
              match: {url: null}
              schema:
                type: Extension
                short: DataType name 'CodeableReference' from R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 2
                elements:
                  value:
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 4
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    choiceOf: value
                    index: 5
                required: [valueString, value]
            concept:
              match: {url: concept}
              schema:
                short: Reference to a concept (by class)
                index: 6
                extensions: {}
                elements:
                  extension: {index: 7}
                  url:
                    pattern: {type: Uri, value: concept}
                    index: 8
                  value:
                    choices: [valueCodeableConcept]
                    index: 10
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
                required: [value, valueCodeableConcept]
            reference:
              match: {url: reference}
              schema:
                short: Reference to a resource (by instance)
                index: 12
                extensions: {}
                elements:
                  extension: {index: 13}
                  url:
                    pattern: {type: Uri, value: reference}
                    index: 14
                  value:
                    choices: [valueReference]
                    index: 16
                  valueReference: {type: Reference, choiceOf: value, index: 17}
                required: [valueReference, value]
      url:
        type: uri
        pattern: {type: Uri, value: reference}
        index: 18
      value:
        short: Reference to suggested specimen or ServiceRequest that yielded the specimen
        choices: []
        index: 20
  fallBackAction:
    url: null
    index: 21
    extensions: {}
    elements:
      extension: {index: 22}
      url:
        type: uri
        pattern: {type: Uri, value: fallBackAction}
        index: 23
      value:
        choices: [valueCode]
        index: 25
      valueCode: {type: code, choiceOf: value, index: 26}
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/servicerequest-specimenSuggestion
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.3.0
required: [extension]