PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.pta.ajanvaraus.r4@0.1.0
    https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment
description: Ajanvarauksessa käytettävä Appointment-profiili.
package_name: fi.kela.kanta.pta.ajanvaraus.r4
derivation: constraint
name: AppointmentAppointment
type: Appointment
elements:
  description: {index: 74}
  serviceCategory:
    short: Palvelun luokka
    index: 56
    elements:
      coding:
        short: Palvelun luokka
        index: 57
        elements:
          system:
            short: Palvelun luokka
            pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.126.2008'}
            index: 58
          version: {index: 59}
          code: {short: Palvelun luokan koodiarvo, index: 60}
          display: {short: Palvelun luokan nimi, index: 61}
          userSelected: {index: 62}
        required: [display, system, code]
      text: {index: 63}
    required: [coding]
  slot: {index: 79}
  meta:
    index: 1
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment'}
        index: 2
      security:
        short: Ajanvaraustietojen näyttäminen
        binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-visible'}
        index: 3
        elements:
          id: {index: 4}
          system: {index: 5}
          version: {index: 6}
          code: {short: Alaikäisen tietojen luovuttaminen huoltajille -tiedon koodiarvo, index: 7}
          display: {index: 8}
          userSelected: {index: 9}
        required: [display, system, code]
    required: [profile]
  specialty: {index: 66}
  cancelationReason:
    short: Ajanvarauksen perumisen syy
    binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-cancelationreason'}
    index: 48
    elements:
      coding:
        index: 49
        elements:
          system: {index: 50}
          version: {index: 51}
          code: {short: Ajanvarauksen peruuntumisen syyn koodiarvo, index: 52}
          display: {short: Ajanvarauksen peruuntumisen syy, index: 53}
          userSelected: {index: 54}
        required: [display, system, code]
      text: {index: 55}
    required: [coding]
  requestedPeriod: {short: 'Ajankohta, jolloin ajanvaraus ohjeistettu tehtäväksi', index: 141}
  patientInstruction:
    short: Potilasohje
    index: 82
    extensions:
      PatientInstructionURL: {url: 'http://hl7.fi/fhir/StructureDefinition/PatientInstructionURLExtension', type: Extension, short: Linkki potilasohjeeseen, isModifier: false, index: 83}
    elements:
      extension:
        type: Extension
        short: Linkki potilasohjeeseen
        isModifier: false
        url: http://hl7.fi/fhir/StructureDefinition/PatientInstructionURLExtension
        index: 83
        slicing:
          slices:
            PatientInstructionURL:
              match: {}
              schema: {type: Extension, short: Linkki potilasohjeeseen, isModifier: false, url: 'http://hl7.fi/fhir/StructureDefinition/PatientInstructionURLExtension', index: 83}
  start: {short: Ajanvarauksen aikavälin alkuaika, index: 76}
  reasonCode: {index: 68}
  created: {index: 80}
  participant:
    index: 95
    slicing:
      rules: closed
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        Patient:
          match:
            type:
              coding: {code: '1'}
          schema:
            short: Asiakas
            _required: true
            index: 96
            elements:
              type:
                short: Asiakas, jolle ajanvaraus on tehty.
                binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-appointmenttypecategory'}
                index: 97
                elements:
                  coding:
                    short: Rooli ajanvarauksessa
                    index: 98
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://pta.kanta.fi/fipta-cs-appointmenttypecategory'}
                        index: 99
                      version: {index: 100}
                      code:
                        pattern: {type: Code, value: '1'}
                        index: 101
                      display: {index: 102}
                      userSelected: {index: 103}
                    required: [display, system, code]
                  text: {index: 104}
                required: [coding]
              actor:
                type: Reference
                refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient']
                index: 105
              required: {index: 106}
              status:
                pattern: {type: Code, value: accepted}
                index: 107
              period: {index: 108}
            required: [type, actor]
        HealthcareService:
          match:
            type:
              coding: {code: '2'}
          schema:
            short: Terveydenhuollon palvelu
            _required: true
            index: 109
            elements:
              type:
                short: Terveydenhuollon palvelu
                binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-appointmenttypecategory'}
                index: 110
                elements:
                  coding:
                    short: Rooli ajanvarauksessa
                    index: 111
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://pta.kanta.fi/fipta-cs-appointmenttypecategory'}
                        index: 112
                      version: {index: 113}
                      code:
                        pattern: {type: Code, value: '2'}
                        index: 114
                      display: {index: 115}
                      userSelected: {index: 116}
                    required: [display, system, code]
                  text: {index: 117}
                required: [coding]
              actor:
                type: Reference
                refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentHealthcareService']
                index: 118
                elements:
                  reference: {short: Viittaus käytettävään resurssiin, index: 119}
                  identifier: {index: 120}
                  display: {index: 121}
                required: [reference]
              required: {index: 122}
              status:
                pattern: {type: Code, value: accepted}
                index: 123
              period: {index: 124}
            required: [type, actor]
        Location:
          match:
            type:
              coding: {code: '3'}
          schema:
            short: Palvelupisteen sijainti
            index: 125
            elements:
              type:
                short: Palvelupisteen sijaintitiedot
                binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-appointmenttypecategory'}
                index: 126
                elements:
                  coding:
                    short: Rooli ajanvarauksessa
                    index: 127
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://pta.kanta.fi/fipta-cs-appointmenttypecategory'}
                        index: 128
                      version: {index: 129}
                      code:
                        pattern: {type: Code, value: '3'}
                        index: 130
                      display: {index: 131}
                      userSelected: {index: 132}
                    required: [display, system, code]
                  text: {index: 133}
                required: [coding]
              actor:
                type: Reference
                refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentLocation']
                index: 134
                elements:
                  reference: {short: Viittaus käytettävään resurssiin, index: 135}
                  identifier: {index: 136}
                  display: {index: 137}
                required: [reference]
              required: {index: 138}
              status:
                pattern: {type: Code, value: accepted}
                index: 139
              period: {index: 140}
            required: [type, actor]
  serviceType:
    short: Palvelun nimi
    index: 64
    elements:
      coding: {short: Palvelun nimi, index: 65}
  extension:
    type: Extension
    short: Aliajanvarauksen tunniste
    isModifier: false
    url: http://hl7.fi/fhir/StructureDefinition/ChildAppointment
    index: 11
    slicing:
      slices:
        CareplanIdentifier:
          match: {}
          schema: {type: Extension, short: Ajanvaraukseen liittyvän suunnitelman tunniste, isModifier: false, url: 'http://hl7.fi/fhir/StructureDefinition/CareplanIdentifierExtension', index: 20}
          max: 1
        CustomerJourney:
          match: {}
          schema:
            type: Extension
            short: Asiakkaan palvelupolku
            isModifier: false
            url: http://hl7.fi/fhir/StructureDefinition/CustomerJourneyExtension
            index: 21
            extensions:
              CustomerJourneyId: {url: null, index: 22}
              CustomerJourneyName: {url: null, index: 23}
            elements:
              extension:
                index: 22
                slicing:
                  slices:
                    CustomerJourneyId:
                      match: {}
                      schema: {index: 22}
                    CustomerJourneyName:
                      match: {}
                      schema: {index: 23}
        AppointmentMutability:
          match: {}
          schema:
            type: Extension
            short: Saako ajanvarausta perua ja/tai siirtää
            isModifier: false
            url: http://hl7.fi/fhir/StructureDefinition/AppointmentMutabilityExtension
            index: 33
            extensions:
              MutabilityReason: {url: null, max: 0, index: 34}
            elements:
              extension:
                index: 34
                slicing:
                  slices:
                    MutabilityReason:
                      match: {}
                      schema: {index: 34}
                      max: 0
        NotificationMedium:
          match: {}
          schema:
            type: Extension
            short: Muistutuksen tapa
            isModifier: false
            url: http://hl7.fi/fhir/StructureDefinition/NotificationMediumExtension
            index: 30
            elements:
              value:
                choices: []
                index: 32
        ChildAppointment:
          match: {}
          schema:
            type: Extension
            short: Aliajanvarauksen tunniste
            isModifier: false
            url: http://hl7.fi/fhir/StructureDefinition/ChildAppointment
            index: 11
            elements:
              value:
                short: Aliajanvarauksen tunniste
                choices: []
                index: 13
              value[x]:
                elements:
                  use: {index: 14}
                  type: {index: 15}
                  system: {short: Organisaation määrittelemä nimiavaruus, index: 16}
                  value: {short: Aliajanvarauksen tunniste, index: 17}
                  period: {index: 18}
                  assigner: {index: 19}
                required: [value, system]
        PractitionerGenderExtension:
          match: {}
          schema:
            type: Extension
            short: Palvelun toteuttajan sukupuoli
            isModifier: false
            url: http://hl7.fi/fhir/StructureDefinition/PractitionerGenderExtension
            index: 26
            elements:
              value:
                choices: []
                index: 28
              value[x]:
                elements:
                  system: {index: 29}
                required: [system]
        AdditionalInformationURL:
          match: {}
          schema: {type: Extension, short: Lisätietojen osoite, isModifier: false, url: 'http://hl7.fi/fhir/StructureDefinition/AdditionalInformationURLExtension', index: 35}
        remoteServiceURL:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL', index: 37}
          max: 1
        serviceAdditionalInformation:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation', index: 38}
          max: 1
        QueueNo:
          match: {}
          schema: {type: Extension, short: Jonotusnumero, isModifier: false, url: 'http://hl7.fi/fhir/StructureDefinition/QueueNoExt', index: 24}
          max: 1
        TicketNo:
          match: {}
          schema: {type: Extension, short: Tiketti, isModifier: false, url: 'http://hl7.fi/fhir/StructureDefinition/TicketNoExt', index: 36}
          max: 1
        SelfService:
          match: {}
          schema: {type: Extension, short: Asiointipalvelun verkko-osoite ja puolesta asiointi, isModifier: false, url: 'http://hl7.fi/fhir/StructureDefinition/SelfServiceExtension', index: 25}
          max: 1
  supportingInformation: {index: 75}
  priority: {index: 73}
  appointmentType: {index: 67}
  status:
    binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-appointmentstatus'}
    index: 47
  id: {short: Ajanvarauksen yksilöivä tunnus, index: 0}
  comment: {short: Lisätiedot, index: 81}
  minutesDuration: {index: 78}
  identifier:
    short: Ajanvarauksen tunniste
    index: 39
    elements:
      id: {index: 40}
      use: {index: 41}
      type: {index: 42}
      system: {short: Organisaation määrittelemä nimiavaruus, index: 43}
      value: {short: Ajanvarauksen tunniste, index: 44}
      period: {index: 45}
      assigner: {index: 46}
    required: [value, system]
  basedOn:
    short: Ajanvaraukseen liittyvän lähetteen tai pyynnön tunniste
    index: 84
    elements:
      reference: {index: 85}
      type: {index: 86}
      identifier:
        short: Ajanvaraukseen liittyvän lähetteen tai pyynnön tunniste
        index: 87
        elements:
          use: {index: 88}
          type: {index: 89}
          system: {short: Organisaation määrittelemä nimiavaruus, index: 90}
          value: {short: Lähetteen tai pyynnön tunniste, index: 91}
          period: {index: 92}
          assigner: {index: 93}
        required: [value, system]
      display: {index: 94}
    required: [identifier]
  end: {short: Ajanvarauksen aikavälin loppuaika, index: 77}
  reasonReference:
    type: Reference
    short: Kuvaus oireista, kontaktin pääasiallinen syy ja kuvaus asiakkaan riskitiedoista
    refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentCondition']
    index: 69
    elements:
      reference: {short: Viittaus resurssiin, index: 70}
      identifier: {index: 71}
      display: {index: 72}
    required: [reference]
  text: {short: Näyttömuodossa esitettävät ajanvaraustiedot, index: 10}
package_version: 0.1.0
extensions:
  CareplanIdentifier: {url: 'http://hl7.fi/fhir/StructureDefinition/CareplanIdentifierExtension', max: 1, type: Extension, short: Ajanvaraukseen liittyvän suunnitelman tunniste, isModifier: false, index: 20}
  CustomerJourney:
    url: http://hl7.fi/fhir/StructureDefinition/CustomerJourneyExtension
    type: Extension
    short: Asiakkaan palvelupolku
    isModifier: false
    index: 21
    extensions:
      CustomerJourneyId: {url: null, index: 22}
      CustomerJourneyName: {url: null, index: 23}
    elements:
      extension:
        index: 22
        slicing:
          slices:
            CustomerJourneyId:
              match: {}
              schema: {index: 22}
            CustomerJourneyName:
              match: {}
              schema: {index: 23}
  AppointmentMutability:
    url: http://hl7.fi/fhir/StructureDefinition/AppointmentMutabilityExtension
    type: Extension
    short: Saako ajanvarausta perua ja/tai siirtää
    isModifier: false
    index: 33
    extensions:
      MutabilityReason: {url: null, max: 0, index: 34}
    elements:
      extension:
        index: 34
        slicing:
          slices:
            MutabilityReason:
              match: {}
              schema: {index: 34}
              max: 0
  NotificationMedium:
    url: http://hl7.fi/fhir/StructureDefinition/NotificationMediumExtension
    type: Extension
    short: Muistutuksen tapa
    isModifier: false
    index: 30
    elements:
      value:
        choices: []
        index: 32
  ChildAppointment:
    url: http://hl7.fi/fhir/StructureDefinition/ChildAppointment
    type: Extension
    short: Aliajanvarauksen tunniste
    isModifier: false
    index: 11
    elements:
      value:
        short: Aliajanvarauksen tunniste
        choices: []
        index: 13
      value[x]:
        elements:
          use: {index: 14}
          type: {index: 15}
          system: {short: Organisaation määrittelemä nimiavaruus, index: 16}
          value: {short: Aliajanvarauksen tunniste, index: 17}
          period: {index: 18}
          assigner: {index: 19}
        required: [value, system]
  PractitionerGenderExtension:
    url: http://hl7.fi/fhir/StructureDefinition/PractitionerGenderExtension
    type: Extension
    short: Palvelun toteuttajan sukupuoli
    isModifier: false
    index: 26
    elements:
      value:
        choices: []
        index: 28
      value[x]:
        elements:
          system: {index: 29}
        required: [system]
  AdditionalInformationURL: {url: 'http://hl7.fi/fhir/StructureDefinition/AdditionalInformationURLExtension', type: Extension, short: Lisätietojen osoite, isModifier: false, index: 35}
  remoteServiceURL: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL', max: 1, type: Extension, isModifier: false, index: 37}
  serviceAdditionalInformation: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation', max: 1, type: Extension, isModifier: false, index: 38}
  QueueNo: {url: 'http://hl7.fi/fhir/StructureDefinition/QueueNoExt', max: 1, type: Extension, short: Jonotusnumero, isModifier: false, index: 24}
  TicketNo: {url: 'http://hl7.fi/fhir/StructureDefinition/TicketNoExt', max: 1, type: Extension, short: Tiketti, isModifier: false, index: 36}
  SelfService: {url: 'http://hl7.fi/fhir/StructureDefinition/SelfServiceExtension', max: 1, type: Extension, short: Asiointipalvelun verkko-osoite ja puolesta asiointi, isModifier: false, index: 25}
class: profile
kind: resource
url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment
base: http://hl7.org/fhir/StructureDefinition/Appointment
version: null
required: [text, identifier]