PackagesCanonicalsLogsProblems
    Packages
    navify.fhir.r5.rdc@1.1.0
    https://roche.com/fhir/iop/StructureDefinition/rdc-Parameters-AGP-Report
description: A profile for defining the parameters to be sent as a payload to generate an AGP report for a patient within an organization.
package_name: navify.fhir.r5.rdc
derivation: constraint
name: RdcParametersAGPReport
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        subject:
          match: {name: subject}
          schema:
            short: Patient reference
            mustSupport: true
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: string, value: subject}
                type: string
                index: 2
              value:
                short: Patient reference
                mustSupport: true
                choices: [valueReference]
                index: 4
              valueReference: {type: Reference, short: Patient reference, mustSupport: true, choiceOf: value, index: 5}
              resource: {index: 6}
              part: {index: 7}
            required: [value, valueReference]
        locale:
          match: {name: locale}
          schema:
            short: Specifies the language and locale encoding
            mustSupport: true
            _required: true
            index: 8
            elements:
              name:
                pattern: {type: string, value: locale}
                type: string
                index: 9
              value:
                short: Encoding
                mustSupport: true
                choices: [valueString]
                index: 11
              valueString: {type: string, short: Encoding, mustSupport: true, choiceOf: value, index: 12}
              resource: {index: 13}
              part: {index: 14}
            required: [value, valueString]
        orientation:
          match: {name: orientation}
          schema:
            short: Defines the page orientation of the PDF, such as portrait or landscape (default portrait).
            mustSupport: true
            index: 15
            elements:
              name:
                pattern: {type: string, value: orientation}
                type: string
                index: 16
              value:
                constraint:
                  valueCodeConstraint: {human: The value for orientation must be either 'portrait' or 'landscape'., severity: error, expression: $this = 'portrait' or $this = 'landscape'}
                mustSupport: true
                choices: [valueCode]
                index: 18
              valueCode:
                type: code
                constraint:
                  valueCodeConstraint: {human: The value for orientation must be either 'portrait' or 'landscape'., severity: error, expression: $this = 'portrait' or $this = 'landscape'}
                mustSupport: true
                choiceOf: value
                index: 19
              resource: {index: 20}
              part: {index: 21}
            required: [value, valueCode]
        timezone-offset:
          match: {name: timezone-offset}
          schema:
            short: UTC offset for a time zone in ±hh:mm format (default will be server timezone).
            mustSupport: true
            index: 22
            elements:
              name:
                pattern: {type: string, value: timezone-offset}
                type: string
                index: 23
              value:
                mustSupport: true
                choices: [valueString]
                index: 25
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 26}
              resource: {index: 27}
              part: {index: 28}
            required: [value, valueString]
        time-format:
          match: {name: time-format}
          schema:
            short: Specifies the time format, such as 12H for 12-hour or 24H for 24-hour format (default 24H).
            mustSupport: true
            index: 29
            elements:
              name:
                pattern: {type: string, value: time-format}
                type: string
                index: 30
              value:
                constraint:
                  valueCodeConstraint: {human: The value for time-format must be either '12H' or '24H'., severity: error, expression: $this = '12H' or $this = '24H'}
                mustSupport: true
                choices: [valueCode]
                index: 32
              valueCode:
                type: code
                constraint:
                  valueCodeConstraint: {human: The value for time-format must be either '12H' or '24H'., severity: error, expression: $this = '12H' or $this = '24H'}
                mustSupport: true
                choiceOf: value
                index: 33
              resource: {index: 34}
              part: {index: 35}
            required: [value, valueCode]
        unit:
          match: {name: unit}
          schema:
            short: Specifies the unit mg/dL|mmol/L.
            mustSupport: true
            _required: true
            index: 36
            elements:
              name:
                pattern: {type: string, value: unit}
                type: string
                index: 37
              value:
                constraint:
                  valueCodeConstraint: {human: The value for unit must be either 'mg/dL' or 'mmol/L'., severity: error, expression: $this.code = 'mg/dL' or $this.code = 'mmol/L'}
                mustSupport: true
                choices: [valueCoding]
                index: 39
              valueCoding:
                type: Coding
                constraint:
                  valueCodeConstraint: {human: The value for unit must be either 'mg/dL' or 'mmol/L'., severity: error, expression: $this.code = 'mg/dL' or $this.code = 'mmol/L'}
                mustSupport: true
                choiceOf: value
                index: 40
              resource: {index: 41}
              part: {index: 42}
            required: [value, valueCoding]
        effectivePeriod:
          match: {name: effectivePeriod}
          schema:
            short: Represents the start and end dates defining the period.The maximum Period for the generation of report is 14 days.
            mustSupport: true
            _required: true
            index: 43
            elements:
              name:
                pattern: {type: string, value: effectivePeriod}
                type: string
                index: 44
              value:
                mustSupport: true
                choices: [valuePeriod]
                index: 46
              valuePeriod: {type: Period, mustSupport: true, choiceOf: value, index: 47}
              resource: {index: 48}
              part: {index: 49}
            required: [value, valuePeriod]
package_version: 1.1.0
class: profile
kind: resource
url: https://roche.com/fhir/iop/StructureDefinition/rdc-Parameters-AGP-Report
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: null