PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.nhsengland.programme@0.23.3-pre-release
    https://fhir.nhs.uk/England/StructureDefinition/England-Consent-National-Proxy
description: FHIR Consent profile for the NHS England National Proxy use case. Supports proxy access to patient records, capturing proxy identity, legal basis, lifecycle status, and recording relevant actors.
package_name: fhir.r4.nhsengland.programme
derivation: constraint
name: EnglandConsentNationalProxy
type: Consent
elements:
  patient:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
    index: 8
  category: {array: true, min: 1, index: 7}
  provision:
    index: 12
    elements:
      actor:
        array: true
        index: 13
        elements:
          role:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://fhir.nhs.uk/England/ValueSet/England-NHSProxyLegalBasis'}
            index: 14
          reference:
            type: Reference
            refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
            index: 15
  scope: {index: 6}
  policy: {array: true, index: 11}
  dateTime: {index: 9}
  extension:
    array: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        statusReason:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-England-Consent-Status-Reason', index: 1}
          min: 0
          max: 1
        grantor:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/valueset-reference', index: 2}
          min: 0
          max: 1
        grantee:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/valueset-reference', index: 3}
          min: 0
          max: 1
        regulatoryBasis:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/valueset-reference', index: 4}
          min: 0
          max: 1
  status: {index: 5}
  performer:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
    array: true
    index: 10
package_version: 0.23.3-pre-release
extensions:
  statusReason: {url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-England-Consent-Status-Reason', min: 0, max: 1, type: Extension, index: 1}
  grantor: {url: 'http://hl7.org/fhir/StructureDefinition/valueset-reference', min: 0, max: 1, type: Extension, index: 2}
  grantee: {url: 'http://hl7.org/fhir/StructureDefinition/valueset-reference', min: 0, max: 1, type: Extension, index: 3}
  regulatoryBasis: {url: 'http://hl7.org/fhir/StructureDefinition/valueset-reference', min: 0, max: 1, type: Extension, index: 4}
class: profile
kind: resource
url: https://fhir.nhs.uk/England/StructureDefinition/England-Consent-National-Proxy
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 0.6.1
required: [status, scope, patient, category]