PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.pta.ajanvaraus.r4@0.1.0
    https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerPatient
description: Profiilia käytetään ajanvarauksen tekijän ilmoittamiseen, kun ajanvarauksen on tehnyt asiakas.
package_name: fi.kela.kanta.pta.ajanvaraus.r4
derivation: constraint
name: AppointmentBookerPatient
type: Patient
elements:
  address: {index: 37}
  meta:
    index: 1
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerPatient'}
        index: 2
    required: [profile]
  managingOrganization: {index: 45}
  name:
    short: Asiakkaan nimitiedot
    array: true
    min: 1
    max: 2
    index: 11
    elements:
      text: {index: 12}
      prefix: {index: 13}
      suffix: {index: 14}
      period: {index: 15}
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: 1
      max: 2
      slices:
        OfficialName:
          match: {use: official}
          schema:
            short: Ajanvarauksen tekijän virallinen nimi
            _required: true
            index: 16
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 17
              text: {index: 18}
              family: {short: Ajanvarauksen tekijän sukunimi, index: 19}
              given: {short: Ajanvarauksen tekijän etunimi, array: true, min: 1, max: 4, index: 20}
              prefix: {index: 21}
              suffix: {index: 22}
              period: {index: 23}
            required: [given, family, use]
        NickName:
          match: {use: nickname}
          schema:
            short: Ajanvarauksen tekijän kutsumanimi
            index: 24
            elements:
              use:
                pattern: {type: Code, value: nickname}
                index: 25
              text: {index: 26}
              family: {index: 27}
              given: {short: Ajanvarauksen tekijän kutsumanimi, index: 28}
              prefix: {index: 29}
              suffix: {index: 30}
              period: {index: 31}
            required: [given, use]
  birthDate: {index: 34}
  multipleBirth:
    choices: []
    index: 40
  deceased:
    choices: []
    index: 36
  photo: {index: 41}
  link: {index: 46}
  active: {index: 10}
  communication: {index: 43}
  id: {index: 0}
  identifier:
    index: 3
    elements:
      use:
        pattern: {type: Code, value: official}
        index: 4
      type: {index: 5}
      system:
        short: Henkilötunnuksen nimiavaruus
        pattern: {type: Uri, value: 'urn:oid:1.2.246.21'}
        index: 6
      value: {short: Henkilötunnus, index: 7}
      period: {index: 8}
      assigner: {index: 9}
    required: [value, system, use]
  telecom: {index: 32}
  generalPractitioner: {index: 44}
  gender: {index: 33}
  maritalStatus: {index: 38}
  contact: {index: 42}
package_version: 0.1.0
class: profile
kind: resource
url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null
required: [id, name, identifier]