PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.ppdr.r5@0.1.2-alpha
    http://electronichealth.se/fhir/NDI/StructureDefinition/patient-data-access
description: Profile representing a patient in a data access domain.
package_name: se.electronichealth.fhir.ppdr.r5
derivation: constraint
name: PatientDataAccess
type: Patient
elements:
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {mustSupport: true, index: 2}
    required: [value, system]
    slicing:
      rules: open
      ordered: false
      description: Slice on Identifier based on the system value
      discriminator:
      - {path: system, type: value}
      min: null
      max: 1
      slices:
        personalIdentityNumber:
          match: {system: 'http://electronichealth.se/identifier/personnummer'}
          schema:
            mustSupport: true
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'http://electronichealth.se/identifier/personnummer'}
                index: 4
        coordinationNumber:
          match: {system: 'http://electronichealth.se/identifier/samordningsnummer'}
          schema:
            mustSupport: true
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://electronichealth.se/identifier/samordningsnummer'}
                index: 6
  name: {mustSupport: true, index: 7}
package_version: 0.1.2-alpha
class: profile
kind: resource
url: http://electronichealth.se/fhir/NDI/StructureDefinition/patient-data-access
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.1.0