PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-ra@2.0.0
    http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-parameters-cc-remark-patch
description: A Parameters profile that defines structures of multi-part Parameters to be used for sending [Condition Category Remarks](StructureDefinition-ra-ccRemark.html) to a [Risk Adjustment Coding Gap Report](StructureDefinition-ra-measurereport.html) using the [PATCH](https://www.hl7.org/fhir/http.html#patch) operation.
package_name: hl7.fhir.us.davinci-ra
derivation: constraint
name: CCRemarkPatchParameters
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        operation:
          match: {name: operation}
          schema:
            short: Patch operation
            array: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: operation}
                index: 2
              part:
                index: 3
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: name, type: value}
                  min: null
                  slices:
                    type:
                      match: {name: type}
                      schema:
                        short: 'parameter part: type is add'
                        _required: true
                        index: 4
                        elements:
                          name:
                            pattern: {type: String, value: type}
                            index: 5
                          valueCode:
                            type: code
                            pattern: {type: Code, value: add}
                            index: 6
                        required: [valueCode]
                    path:
                      match: {name: path}
                      schema:
                        short: 'parameter part: FHIR path'
                        _required: true
                        index: 7
                        elements:
                          name:
                            pattern: {type: String, value: path}
                            index: 8
                          valueString:
                            type: string
                            constraint:
                              ra-3: {human: Path must start with 'MeasureReport.group.where(id='., severity: error, expression: value.startsWith('MeasureReport.group.where(id=')}
                            index: 9
                        required: [valueString]
                    name:
                      match: {name: name}
                      schema:
                        short: 'parameter part: name'
                        _required: true
                        index: 10
                        elements:
                          name:
                            pattern: {type: String, value: name}
                            index: 11
                          valueString:
                            type: string
                            pattern: {type: String, value: extension}
                            index: 12
                        required: [valueString]
                    value:
                      match: {name: value}
                      schema:
                        short: 'parameter part: value'
                        _required: true
                        index: 13
                        elements:
                          name:
                            pattern: {type: String, value: value}
                            index: 14
                          part:
                            array: true
                            min: 1
                            index: 15
                            slicing:
                              rules: open
                              ordered: false
                              discriminator:
                              - {path: name, type: value}
                              min: 1
                              slices:
                                url:
                                  match: {name: url}
                                  schema:
                                    short: url of the ccRemark extension
                                    _required: true
                                    index: 16
                                    elements:
                                      name:
                                        pattern: {type: String, value: url}
                                        index: 17
                                      value:
                                        pattern: {type: Uri, value: 'http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-ccRemark'}
                                        choices: [valueUri]
                                        index: 19
                                      valueUri:
                                        type: uri
                                        pattern: {type: Uri, value: 'http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-ccRemark'}
                                        choiceOf: value
                                        index: 20
                                    required: [valueUri, value]
                                extension:
                                  match: {name: extension}
                                  schema:
                                    short: ccRemark content to be added
                                    _required: true
                                    index: 21
                                    elements:
                                      name:
                                        pattern: {type: String, value: extension}
                                        index: 22
                                      part: {array: true, min: 1, index: 23}
                                    required: [part]
                        required: [part]
package_version: 2.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-parameters-cc-remark-patch
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.0.0