PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-dtr@2.2.0-ballot
    http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-qpackage-input-parameters
description: The Parameters profile used to define the inputs of the [$questionnaire-package](OperationDefinition-questionnaire-package.html) operation.
package_name: hl7.fhir.us.davinci-dtr
derivation: constraint
name: DTRQuestionnairePackageInputParameters
type: Parameters
elements:
  parameter:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      description: Slice based on $this pattern
      discriminator:
      - {path: name, type: pattern}
      min: 1
      slices:
        coverage:
          match: {name: coverage}
          schema:
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: string, value: coverage}
                type: string
                index: 2
              resource: {type: Coverage, mustSupport: true, index: 3}
            required: [resource]
        order:
          match: {name: order}
          schema:
            mustSupport: true
            array: true
            index: 4
            elements:
              resourceAppointment: {type: Appointment, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 8}
              name:
                pattern: {type: string, value: order}
                type: string
                index: 5
              resourceNutritionOrder: {type: NutritionOrder, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 13}
              resourceDeviceRequest: {type: DeviceRequest, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 11}
              resourceVisionPrescription: {type: VisionPrescription, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 16}
              resourceCommunicationRequest: {type: CommunicationRequest, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 10}
              resource:
                short: One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
                mustSupport: true
                choices: [resourceAppointment, resourceEncounter, resourceCommunicationRequest, resourceDeviceRequest, resourceMedicationRequest, resourceNutritionOrder, resourceServiceRequest, resourceSupplyRequest, resourceVisionPrescription]
                index: 7
              resourceMedicationRequest: {type: MedicationRequest, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 12}
              resourceSupplyRequest: {type: SupplyRequest, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 15}
              resourceEncounter: {type: Encounter, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 9}
              resourceServiceRequest: {type: ServiceRequest, short: 'One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.', mustSupport: true, choiceOf: resource, index: 14}
            required: [resource, resourceAppointment, resourceCommunicationRequest, resourceDeviceRequest, resourceEncounter, resourceMedicationRequest, resourceNutritionOrder, resourceServiceRequest, resourceSupplyRequest, resourceVisionPrescription]
        questionnaire:
          match: {name: questionnaire}
          schema:
            mustSupport: true
            array: true
            index: 17
            elements:
              name:
                pattern: {type: string, value: questionnaire}
                type: string
                index: 18
              value:
                mustSupport: true
                choices: [valueCanonical]
                index: 20
              valueCanonical: {type: canonical, mustSupport: true, choiceOf: value, index: 21}
            required: [value, valueCanonical]
        context:
          match: {name: context}
          schema:
            short: CRD or CDex-provided context
            mustSupport: true
            index: 22
            elements:
              name:
                pattern: {type: string, value: context}
                type: string
                index: 23
              value:
                mustSupport: true
                choices: [valueString]
                index: 25
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 26}
            required: [value, valueString]
        changedsince:
          match: {name: changedsince}
          schema:
            short: When the Questionnaire package was last retrieved
            mustSupport: true
            index: 27
            elements:
              name:
                pattern: {type: string, value: changedsince}
                type: string
                index: 28
              value:
                mustSupport: true
                choices: [valueInstant]
                index: 30
              valueInstant: {type: instant, mustSupport: true, choiceOf: value, index: 31}
            required: [value, valueInstant]
package_version: 2.2.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-qpackage-input-parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.2.0-ballot
required: [parameter]