PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.consent-management@1.0.0-ballot
    http://hl7.org/fhir/us/consent-management/StructureDefinition/RevokeConsentParameters
description: A profile that indicates the parameters for the Revoke Consent operation.
package_name: hl7.fhir.us.consent-management
derivation: constraint
name: RevokeConsentParameters
type: Parameters
elements:
  parameter:
    array: true
    min: 2
    index: 0
    elements:
      part: {index: 1}
    slicing:
      rules: open
      description: Slice parameters based on the name
      discriminator:
      - {path: name, type: value}
      min: 2
      slices:
        consent:
          match: {name: consent}
          schema:
            mustSupport: true
            _required: true
            index: 2
            elements:
              name:
                pattern: {type: String, value: consent}
                index: 3
              value:
                mustSupport: true
                choices: [valueReference]
                index: 5
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent']
                index: 6
            required: [valueReference, value]
        patient:
          match: {name: patient}
          schema:
            mustSupport: true
            _required: true
            index: 7
            elements:
              name:
                pattern: {type: String, value: patient}
                index: 8
              value:
                mustSupport: true
                choices: [valueReference]
                index: 10
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
                index: 11
            required: [valueReference, value]
        document:
          match: {name: document}
          schema:
            mustSupport: true
            index: 12
            elements:
              name:
                pattern: {type: String, value: document}
                index: 13
              value:
                choices: []
                index: 15
              resource: {type: Resource, index: 16}
            required: [resource]
package_version: 1.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/consent-management/StructureDefinition/RevokeConsentParameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0-ballot