PackagesCanonicalsLogsProblems
    Packages
    uk.nhsengland.genomics.r4@0.6.13
    https://fhir.nhs.uk/StructureDefinition/NHSEngland-ServiceRequest-Genomics
description: This profile defines the Genomics constraints and extensions on the UK Core FHIR resource [ServiceRequest](https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest).
package_name: uk.nhsengland.genomics.r4
derivation: constraint
name: NHSEngland_ServiceRequest_Genomics
type: ServiceRequest
elements:
  performerType: {index: 48}
  category: {index: 25}
  insurance: {index: 61}
  relevantHistory: {index: 68}
  asNeeded:
    choices: []
    index: 45
  supportingInfo: {type: Reference, index: 62}
  encounter: {type: Reference, index: 41}
  patientInstruction: {index: 67}
  specimen: {type: Reference, index: 63}
  reasonCode:
    index: 54
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: pattern}
      min: null
      slices:
        DGTSTestPackage:
          match:
            coding: {system: 'https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestServices'}
          schema:
            _required: true
            index: 55
            elements:
              coding:
                extensions:
                  genomicTestCodeVersion: {url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version', type: Extension, isModifier: false, index: 56}
                elements:
                  extension:
                    type: Extension
                    isModifier: false
                    url: https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version
                    index: 56
                    slicing:
                      slices:
                        genomicTestCodeVersion:
                          match: {}
                          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version', index: 56}
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestServices'}
                    index: 57
        DGTSClinicalSpecialty:
          match:
            coding: {system: 'https://fhir.nhs.uk/CodeSystem/DGTS-clinical-specialty-genomics'}
          schema:
            binding: {strength: required, valueSet: 'https://fhir.nhs.uk/ValueSet/DGTS-testpackage-clinical-specialty'}
            index: 58
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/DGTS-clinical-specialty-genomics'}
                    index: 59
  authoredOn: {index: 46}
  note:
    index: 65
    extensions:
      annotationType: {url: 'http://hl7.org/fhir/StructureDefinition/annotationType', type: Extension, isModifier: false, index: 66}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: http://hl7.org/fhir/StructureDefinition/annotationType
        index: 66
        slicing:
          slices:
            annotationType:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/annotationType', index: 66}
  requisition: {index: 22}
  extension:
    index: 0
    slicing:
      slices:
        additionalContact:
          match: {}
          schema: {index: 1}
        coverage:
          match: {}
          schema: {_required: true, index: 2}
          min: 1
        genomicParticipantCount:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTest-ParticipantCount', index: 3}
          max: 1
        genomicPatientRole:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-Genomic-Patient-Role', index: 4}
  locationReference: {index: 53}
  requester:
    type: Reference
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSEngland-PractitionerRole-Genomics']
    index: 47
  priority: {index: 26}
  status: {index: 23}
  code:
    index: 28
    elements:
      coding:
        index: 29
        slicing:
          rules: open
          discriminator:
          - {path: system, type: pattern}
          min: null
          slices:
            DGTSCode:
              match: {system: 'https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestServices'}
              schema:
                index: 30
                extensions:
                  genomicTestCodeVersion: {url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version', type: Extension, isModifier: false, index: 31}
                elements:
                  extension:
                    type: Extension
                    isModifier: false
                    url: https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version
                    index: 31
                    slicing:
                      slices:
                        genomicTestCodeVersion:
                          match: {}
                          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version', index: 31}
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestServices'}
                    index: 32
  identifier:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: system, type: pattern}
      min: 1
      slices:
        identifierGMSOrder:
          match: {system: 'https://fhir.nhs.uk/Id/GMSOrder'}
          schema:
            index: 6
            elements:
              use: {index: 7}
              type: {index: 8}
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/GMSOrder'}
                index: 9
              value: {index: 10}
              period: {index: 11}
              assigner: {index: 12}
            required: [value, system]
        localIdentifier:
          match: {system: 'https://fhir.nhs.uk/local-identifier/servicerequest'}
          schema:
            index: 13
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/local-identifier/servicerequest'}
                index: 14
              value: {index: 15}
              assigner:
                index: 16
                elements:
                  reference: {index: 17}
                  identifier:
                    index: 18
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'}
                        index: 19
                required: [identifier]
            required: [assigner, value, system]
  doNotPerform: {index: 27}
  bodySite: {index: 64}
  intent: {index: 24}
  replaces:
    type: Reference
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSEngland-ServiceRequest-Genomics']
    index: 21
  orderDetail:
    index: 33
    elements:
      coding:
        index: 34
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            genomicsTestPanelCode:
              match: {system: 'https://fhir.nhs.uk/CodeSystem/England-GenomicTestPanelCode'}
              schema:
                index: 35
                extensions:
                  genomicTestCodeVersion: {url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version', type: Extension, isModifier: false, index: 36}
                elements:
                  extension:
                    type: Extension
                    isModifier: false
                    url: https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version
                    index: 36
                    slicing:
                      slices:
                        genomicTestCodeVersion:
                          match: {}
                          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version', index: 36}
                  system:
                    short: Genomics Test Panel Code
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/England-GenomicTestPanelCode'}
                    index: 37
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest', 'https://fhir.nhs.uk/StructureDefinition/NHSEngland-ServiceRequest-Genomics']
    index: 20
  quantity:
    choices: []
    index: 39
  locationCode: {index: 52}
  subject:
    type: Reference
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSEngland-Patient-Genomics']
    index: 40
  occurrence:
    choices: []
    index: 43
  performer:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
    index: 49
    elements:
      identifier:
        index: 50
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'}
            index: 51
    required: [identifier]
  reasonReference: {type: Reference, index: 60}
package_version: 0.6.13
extensions:
  additionalContact: {url: null, index: 1}
  coverage: {url: null, min: 1, _required: true, index: 2}
  genomicParticipantCount: {url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTest-ParticipantCount', max: 1, type: Extension, isModifier: false, index: 3}
  genomicPatientRole: {url: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-Genomic-Patient-Role', type: Extension, isModifier: false, index: 4}
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/NHSEngland-ServiceRequest-Genomics
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest
version: 0.3.6
required: [authoredOn, requester, extension, identifier, category, code]