PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pdmp@1.0.0
    http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-response
description: This profile tailors the Parameters resource to convey PDMP History operation outputs.
package_name: hl7.fhir.us.pdmp
derivation: constraint
name: PdmpParametersResponse
type: Parameters
elements:
  parameter:
    mustSupport: true
    array: true
    min: 1
    max: 4
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: name, type: value}
      min: 1
      max: 4
      slices:
        pdmp-history-data:
          match: {name: pdmp-history-data}
          schema:
            mustSupport: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: pdmp-history-data}
                mustSupport: true
                index: 2
              value:
                mustSupport: true
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-bundle-history-result']
                index: 5
        pdmp-history-link:
          match: {name: pdmp-history-link}
          schema:
            mustSupport: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: pdmp-history-link}
                mustSupport: true
                index: 7
              value:
                mustSupport: true
                choices: [valueUrl]
                index: 9
              valueUrl: {type: url, mustSupport: true, choiceOf: value, index: 10}
        pre-stage-retrieval-key:
          match: {name: pre-stage-retrieval-key}
          schema:
            mustSupport: true
            index: 11
            elements:
              name:
                pattern: {type: String, value: pre-stage-retrieval-key}
                mustSupport: true
                index: 12
              value:
                mustSupport: true
                choices: [valueString]
                index: 14
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 15}
        outcome:
          match: {name: outcome}
          schema:
            mustSupport: true
            index: 16
            elements:
              name:
                pattern: {type: String, value: outcome}
                mustSupport: true
                index: 17
              value:
                mustSupport: true
                choices: [valueReference]
                index: 19
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/OperationOutcome']
                index: 20
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-response
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0
required: [parameter]