PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.pta.ajanvaraus.r4@1.0.0-RC1
    https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient
description: Ajanvarauksessa käytettävä Patient-profiili
package_name: fi.kela.kanta.pta.ajanvaraus.r4
derivation: constraint
name: AppointmentPatient
type: Patient
elements:
  address: {index: 42}
  meta:
    index: 1
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient'}
        index: 2
    required: [profile]
  managingOrganization: {index: 87}
  name:
    short: Asiakkaan nimitiedot
    index: 28
    elements:
      id: {index: 29}
      use:
        pattern: {type: Code, value: official}
        index: 30
      text: {index: 31}
      family: {short: Asiakkaan sukunimi, index: 32}
      given: {short: Asiakkaan etunimet, array: true, min: 1, max: 4, index: 33}
      prefix: {index: 34}
      suffix: {index: 35}
      period: {index: 36}
    required: [given, family]
  birthDate: {short: Asiakkaan syntymäaika, index: 39}
  multipleBirth:
    choices: []
    index: 45
  deceased:
    choices: []
    index: 41
  extension:
    type: Extension
    isModifier: false
    url: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage
    index: 3
    slicing:
      slices:
        officialCommunicationLanguage:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage', index: 3}
          max: 1
  photo: {index: 46}
  link: {index: 88}
  active: {index: 27}
  communication:
    short: Asiakkaan äidinkieli
    index: 73
    elements:
      id: {index: 74}
      language:
        short: Asiakkaan äidinkieli
        index: 75
        elements:
          id: {index: 76}
          coding:
            index: 77
            elements:
              id: {index: 78}
              system: {index: 79}
              version: {index: 80}
              code: {index: 81}
              display: {index: 82}
              userSelected: {index: 83}
            required: [display, system, code]
          text: {index: 84}
        required: [coding]
      preferred:
        pattern: {type: Boolean, value: true}
        index: 85
    required: [preferred]
  id: {index: 0}
  identifier:
    short: Asiakkaan yksilöivä tunnus
    index: 4
    slicing:
      slices:
        PIC:
          match: {}
          schema:
            short: Henkilötunnus
            index: 5
            elements:
              id: {index: 6}
              type: {index: 7}
              system: {short: Henkilötunnuksen nimiavaruus, index: 8}
              value: {short: Henkilötunnus, index: 9}
              period: {index: 10}
              assigner: {index: 11}
        temp:
          match: {}
          schema:
            short: Tilapäinen yksilöintitunnus
            index: 12
            elements:
              id: {index: 13}
              type: {index: 14}
              system: {short: Käytetty nimiavaruus, index: 15}
              value: {short: Tilapäinen yksilöintitunnus, index: 16}
              period: {index: 17}
              assigner: {index: 18}
        old:
          match: {}
          schema:
            short: Asiakkaan aiempi yksilöivä tunnus
            index: 19
            elements:
              id: {index: 20}
              use: {index: 21}
              type: {index: 22}
              system: {short: Nimiavaruus, index: 23}
              value: {short: Aiempi yksilöivä tunnus, index: 24}
              period: {index: 25}
              assigner: {index: 26}
  telecom: {index: 37}
  generalPractitioner: {index: 86}
  gender: {index: 38}
  maritalStatus: {index: 43}
  contact:
    short: Yhteyshenkilön yhteystiedot
    index: 47
    elements:
      id: {index: 48}
      relationship:
        short: Yhteyshenkilön tyyppi
        binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-contactrelationship'}
        index: 49
        elements:
          id: {index: 50}
          coding:
            index: 51
            elements:
              id: {index: 52}
              system: {index: 53}
              version: {index: 54}
              code: {short: Yhteyshenkilön tyypin koodiarvo, index: 55}
              display: {short: Yhteyshenkilön tyypin nimi, index: 56}
              userSelected: {index: 57}
            required: [display, system, code]
          text: {index: 58}
        required: [coding]
      name:
        short: Yhteyshenkilön nimitiedot
        index: 59
        elements:
          id: {index: 60}
          use:
            pattern: {type: Code, value: official}
            index: 61
          text: {index: 62}
          family: {short: Yhteyshenkilön sukunimi, index: 63}
          given: {short: Yhteyshenkilön etunimet, array: true, min: 1, max: 4, index: 64}
          prefix: {index: 65}
          suffix: {index: 66}
          period: {index: 67}
        required: [given, family, use]
      telecom: {index: 68}
      address: {index: 69}
      gender: {index: 70}
      organization: {index: 71}
      period: {index: 72}
    required: [name]
package_version: 1.0.0-RC1
extensions:
  officialCommunicationLanguage: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage', max: 1, type: Extension, isModifier: false, index: 3}
class: profile
kind: resource
url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient
base: https://gen.kanta.fi/fhir/StructureDefinition/KantaPatient
version: '0.2'
required: [id, name, identifier]