PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.pta.ajanvaraus.r4@1.0.0-rc3
    https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerOnBehalfOf
description: Profiilia käytetään, kun ajanvarauksen on tehnyt asiakkaan puolesta-asioija.
package_name: fi.kela.kanta.pta.ajanvaraus.r4
derivation: constraint
name: AppointmentBookerOnBehalfOf
type: RelatedPerson
elements:
  patient:
    elements:
      reference: {index: 11}
      type: {index: 12}
      identifier: {index: 13}
      display: {index: 14}
    required: [reference]
  address: {index: 35}
  meta:
    index: 1
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerOnBehalfOf'}
        index: 2
    required: [profile]
  name:
    short: Puolesta-asioijan nimitiedot
    index: 23
    elements:
      id: {index: 24}
      use:
        pattern: {type: Code, value: official}
        index: 25
      text: {index: 26}
      family: {short: Ajanvarauksen tekijän sukunimi, index: 27}
      given: {short: Ajanvarauksen tekijän etunimi, array: true, min: 1, max: 4, index: 28}
      prefix: {index: 29}
      suffix: {index: 30}
      period: {index: 31}
    required: [given, family]
  birthDate: {index: 34}
  relationship:
    short: Laillisen edustajan rooli
    binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-relatedpersonrole'}
    index: 15
    elements:
      coding:
        index: 16
        elements:
          system: {short: Roolin tunnisteen koodiarvo, index: 17}
          version: {index: 18}
          code: {short: Roolin tunnisteen koodiarvo, index: 19}
          display: {short: Roolin nimi, index: 20}
          userSelected: {index: 21}
        required: [display, system, code]
      text: {index: 22}
    required: [coding]
  photo: {index: 36}
  active: {index: 10}
  communication: {index: 38}
  id: {index: 0}
  identifier:
    short: Ajanvarauksen tekijän henkilötunnus
    index: 3
    elements:
      use:
        pattern: {type: Code, value: official}
        index: 4
      type: {index: 5}
      system:
        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}
  gender: {index: 33}
  period: {index: 37}
package_version: 1.0.0-rc3
class: profile
kind: resource
url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerOnBehalfOf
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: '0.2'
required: [id, relationship, name, identifier]