PackagesCanonicalsLogsProblems
    Packages
    uk.nhsengland.genomics.r4@0.6.0-pre-release
    https://fhir.nhs.uk/StructureDefinition/NHSEngland-Consent-GenomicsPCF
description: This profile defines the Genomics constraints and extensions on the Privacy and Consent on FHIR FHIR resource [Intermediate Consent](https://profiles.ihe.net/ITI/PCF/StructureDefinition/IHE.PCF.consentIntermediate).
package_name: uk.nhsengland.genomics.r4
derivation: constraint
name: NHSEngland_Consent_GenomicsPCF
type: Consent
elements:
  status: {index: 0}
  scope:
    elements:
      coding:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            codingRoD:
              match: {}
              schema:
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
                    index: 3
                  code:
                    pattern: {type: Code, value: research}
                    index: 4
                  display:
                    pattern: {type: String, value: Research}
                    index: 5
  category:
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        categoryRoD:
          match:
            coding:
            - {code: research, system: 'http://terminology.hl7.org/CodeSystem/consentcategorycodes', display: Research Information Access}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: research, system: 'http://terminology.hl7.org/CodeSystem/consentcategorycodes', display: Research Information Access}
            index: 7
  patient:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'https://fhir.nhs.uk/StructureDefinition/NHSEngland-Patient-Genomics']
    index: 8
  performer:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.nhs.uk/StructureDefinition/NHSEngland-PractitionerRole-Genomics']
    index: 9
  source:
    choices: []
    index: 11
  policy:
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        policyRoD:
          match: {}
          schema:
            index: 13
            elements:
              authority:
                pattern: {type: Uri, value: 'https://www.england.nhs.uk'}
                index: 14
              uri:
                pattern: {type: Uri, value: 'https://www.england.nhs.uk/publication/nhs-genomic-medicine-service-record-of-discussion-form'}
                index: 15
  provision:
    index: 16
    elements:
      data:
        index: 17
        slicing:
          slices:
            iData:
              match: {}
              schema:
                index: 17
                elements:
                  reference:
                    type: Reference
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'https://fhir.nhs.uk/StructureDefinition/NHSEngland-ServiceRequest-Genomics']
                    index: 18
package_version: 0.6.0-pre-release
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/NHSEngland-Consent-GenomicsPCF
base: https://profiles.ihe.net/ITI/PCF/StructureDefinition/IHE.PCF.consentIntermediate
version: 0.3.0