PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.davinci@dtr-2.0.0
    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: rs/hl7.fhir.us.davinci
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}
              resourceImmunizationRecommendation: {type: ImmunizationRecommendation, 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}
              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: 14}
              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: 17}
              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, resourceImmunizationRecommendation, 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: 13}
              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: 16}
              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: 15}
            required: [resource, resourceAppointment, resourceCommunicationRequest, resourceDeviceRequest, resourceEncounter, resourceImmunizationRecommendation, resourceMedicationRequest, resourceNutritionOrder, resourceServiceRequest, resourceSupplyRequest, resourceVisionPrescription]
        questionnaire:
          match: {name: questionnaire}
          schema:
            mustSupport: true
            array: true
            index: 18
            elements:
              name:
                pattern: {type: string, value: questionnaire}
                type: string
                index: 19
              value:
                mustSupport: true
                choices: [valueCanonical]
                index: 21
              valueCanonical: {type: canonical, mustSupport: true, choiceOf: value, index: 22}
            required: [value, valueCanonical]
        context:
          match: {name: context}
          schema:
            short: CRD or CDex-provided context
            mustSupport: true
            index: 23
            elements:
              name:
                pattern: {type: string, value: context}
                type: string
                index: 24
              value:
                mustSupport: true
                choices: [valueString]
                index: 26
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 27}
            required: [value, valueString]
        changedsince:
          match: {name: changedsince}
          schema:
            short: When the Questionnaire package was last retrieved
            mustSupport: true
            index: 28
            elements:
              name:
                pattern: {type: string, value: changedsince}
                type: string
                index: 29
              value:
                mustSupport: true
                choices: [valueInstant]
                index: 31
              valueInstant: {type: instant, mustSupport: true, choiceOf: value, index: 32}
            required: [value, valueInstant]
package_version: dtr-2.0.0
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.0.0
required: [parameter]