PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-cdex@2.1.0-snapshot
    http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-parameters-submit-attachment
description: The Parameters profile for Da Vinci [Submit Attachment Operation](OperationDefinition-submit-attachment.html)
package_name: hl7.fhir.us.davinci-cdex
derivation: constraint
name: CDexParametersSubmitAttachment
type: Parameters
elements:
  parameter:
    mustSupport: true
    array: true
    min: 5
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: value}
      min: 5
      slices:
        PayerId:
          match: {name: PayerId}
          schema:
            mustSupport: true
            index: 11
            elements:
              name:
                pattern: {type: String, value: PayerId}
                mustSupport: true
                index: 12
              value:
                mustSupport: true
                choices: [valueIdentifier]
                index: 14
              valueIdentifier: {type: Identifier, mustSupport: true, choiceOf: value, index: 15}
            required: [valueIdentifier, value]
        ServiceDate:
          match: {name: ServiceDate}
          schema:
            mustSupport: true
            index: 31
            elements:
              name:
                pattern: {type: String, value: ServiceDate}
                mustSupport: true
                index: 32
              value:
                mustSupport: true
                choices: [valueDateTime]
                index: 34
              valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 35}
            required: [valueDateTime, value]
        AttachTo:
          match: {name: AttachTo}
          schema:
            mustSupport: true
            _required: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: AttachTo}
                mustSupport: true
                index: 7
              value:
                mustSupport: true
                choices: [valueCode]
                index: 9
              valueCode: {type: code, mustSupport: true, choiceOf: value, index: 10}
            required: [valueCode, value]
        MemberId:
          match: {name: MemberId}
          schema:
            mustSupport: true
            _required: true
            index: 26
            elements:
              name:
                pattern: {type: String, value: MemberId}
                mustSupport: true
                index: 27
              value:
                mustSupport: true
                choices: [valueIdentifier]
                index: 29
              valueIdentifier: {type: Identifier, mustSupport: true, choiceOf: value, index: 30}
            required: [valueIdentifier, value]
        Final:
          match: {name: Final}
          schema:
            mustSupport: true
            index: 52
            elements:
              name:
                pattern: {type: String, value: Final}
                mustSupport: true
                index: 53
              value:
                mustSupport: true
                choices: [valueBoolean]
                index: 55
              valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 56}
            required: [value, valueBoolean]
        TrackingId:
          match: {name: TrackingId}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: TrackingId}
                mustSupport: true
                index: 2
              value:
                mustSupport: true
                choices: [valueIdentifier]
                index: 4
              valueIdentifier: {type: Identifier, mustSupport: true, choiceOf: value, index: 5}
            required: [valueIdentifier, value]
        Attachment:
          match: {name: Attachment}
          schema:
            mustSupport: true
            _required: true
            index: 36
            elements:
              name:
                pattern: {type: String, value: Attachment}
                mustSupport: true
                index: 37
              part:
                mustSupport: true
                index: 38
                slicing:
                  rules: closed
                  description: Slice on Attachment parameter name
                  discriminator:
                  - {path: name, type: value}
                  min: 1
                  slices:
                    LineItem:
                      match: {name: LineItem}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 39
                        elements:
                          name:
                            pattern: {type: String, value: LineItem}
                            mustSupport: true
                            index: 40
                          value:
                            mustSupport: true
                            choices: [valueString]
                            index: 42
                          valueString: {type: string, mustSupport: true, choiceOf: value, index: 43}
                        required: [valueString, value]
                    Code:
                      match: {name: Code}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 44
                        elements:
                          name:
                            pattern: {type: String, value: Code}
                            mustSupport: true
                            index: 45
                          value:
                            mustSupport: true
                            choices: [valueCodeableConcept]
                            index: 47
                          valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 48}
                        required: [value, valueCodeableConcept]
                    Content:
                      match: {name: Content}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 49
                        elements:
                          name:
                            pattern: {type: String, value: Content}
                            mustSupport: true
                            index: 50
                          resource: {type: Resource, mustSupport: true, index: 51}
                        required: [resource]
            required: [part]
        ProviderId:
          match: {name: ProviderId}
          schema:
            mustSupport: true
            index: 21
            elements:
              name:
                pattern: {type: String, value: ProviderId}
                mustSupport: true
                index: 22
              value:
                mustSupport: true
                choices: [valueIdentifier]
                index: 24
              valueIdentifier: {type: Identifier, mustSupport: true, choiceOf: value, index: 25}
            required: [valueIdentifier, value]
        OrganizationId:
          match: {name: OrganizationId}
          schema:
            mustSupport: true
            index: 16
            elements:
              name:
                pattern: {type: String, value: OrganizationId}
                mustSupport: true
                index: 17
              value:
                mustSupport: true
                choices: [valueIdentifier]
                index: 19
              valueIdentifier: {type: Identifier, mustSupport: true, choiceOf: value, index: 20}
            required: [valueIdentifier, value]
package_version: 2.1.0-snapshot
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-parameters-submit-attachment
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.1.0-snapshot