PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.nhsengland.programme@0.2.2-pre-release
    https://fhir.nhs.uk/England/StructureDefinition/England-RelatedPerson-National-Proxy
description: RelatedPerson from National Proxy elaboration
package_name: fhir.r4.nhsengland.programme
derivation: constraint
name: EnglandRelatedPersonNationalProxy
type: RelatedPerson
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: system, type: pattern}
      min: null
      slices:
        NHSNumber:
          match: {system: null}
          schema: {type: Identifier, index: 1}
          max: 1
  active: {index: 2}
  patient:
    elements:
      identifier: {type: Identifier, index: 3}
  relationship:
    array: true
    min: 1
    max: 3
    index: 4
    elements:
      coding:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype'}
        index: 5
    slicing:
      rules: openAtEnd
      discriminator:
      - {path: coding.system, type: pattern}
      min: 1
      max: 3
      slices:
        Type:
          match:
            coding: {system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            index: 6
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    type: uri
                    index: 7
                required: [system]
  birthDate: {mustSupport: true, index: 8}
package_version: 0.2.2-pre-release
class: profile
kind: resource
url: https://fhir.nhs.uk/England/StructureDefinition/England-RelatedPerson-National-Proxy
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson
version: 0.0.1-current
required: [active, relationship]