PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.smp@1.0.0
    http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-query
description: This profile tailors the Parameters resource to convey medication History operation inputs.
package_name: hl7.fhir.us.smp
derivation: constraint
name: SMPParametersQuery
type: Parameters
elements:
  parameter:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: name, type: value}
      min: 1
      slices:
        patient:
          match: {name: patient}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: string, value: patient}
                mustSupport: true
                type: string
                index: 2
              value:
                choices: []
                index: 4
              resource: {type: Patient, mustSupport: true, index: 5}
            required: [resource]
        list-type:
          match: {name: list-type}
          schema:
            mustSupport: true
            index: 6
            elements:
              name:
                pattern: {type: string, value: list-type}
                mustSupport: true
                type: string
                index: 7
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 10}
              resource: {index: 11}
            required: [value, valueCodeableConcept]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-query
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0
required: [parameter]