PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.kvp.r4@1.0.0-rc3
    https://kvp.kanta.fi/fhir/StructureDefinition/valitys
description: null
package_name: fi.kela.kanta.kvp.r4
derivation: constraint
name: Valitys
type: Communication
elements:
  category: {index: 24}
  received: {index: 44}
  instantiatesCanonical: {index: 4}
  payload:
    index: 82
    elements:
      id: {index: 83}
      content:
        choices: [contentAttachment]
        index: 85
      contentAttachment: {type: Attachment, choiceOf: content, index: 86}
      content[x]:
        elements:
          contentType:
            pattern: {type: Code, value: text/xml}
            index: 87
          language: {index: 88}
          data: {short: Välitettävä asiakirja base64-muodossa, index: 89}
          url: {index: 90}
          size: {index: 91}
        required: [data]
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://kvp.kanta.fi/fhir/StructureDefinition/valitys'}
        index: 1
  instantiatesUri: {index: 5}
  encounter: {index: 42}
  medium: {index: 26}
  implicitRules: {index: 2}
  recipient:
    short: Asiakirjan vastaanottaja
    index: 45
    elements:
      id: {index: 46}
      reference: {index: 47}
      type: {index: 48}
      identifier:
        index: 49
        elements:
          id: {index: 50}
          use: {index: 51}
          type: {index: 52}
          system:
            short: Viestinvälitys - Sanoman vastaanottaja
            pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
            index: 53
          value:
            short: Asiakirjan vastaanottavan organisaation tunnus
            binding: {strength: required, valueSet: 'https://kvp.kanta.fi/fhir/ValueSet/sanomanvastaanottaja'}
            index: 54
          period: {index: 55}
          assigner: {index: 56}
        required: [value, system]
    required: [identifier]
  reasonCode:
    short: Välitysperuste
    binding: {strength: required, valueSet: 'https://kvp.kanta.fi/fhir/ValueSet/valitysperuste'}
    index: 70
    elements:
      id: {index: 71}
      extension: {index: 72}
      coding:
        index: 73
        elements:
          id: {index: 74}
          extension: {index: 75}
          system:
            short: Välitysperusteen nimiavaruus
            pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.40192.2012'}
            index: 76
          version: {index: 77}
          code: {short: Välitysperuste, index: 78}
          userSelected: {index: 79}
        extensions: {}
        required: [system, code]
      text: {index: 80}
    extensions: {}
    required: [coding]
  statusReason:
    short: Tilan selite
    index: 21
    elements:
      coding: {index: 22}
      text: {short: Selkokielinen syy miksi välitys ei onnistunut., maxLength: 255, index: 23}
    required: [text]
  topic: {index: 40}
  sent: {index: 43}
  note: {mustSupport: true, index: 92}
  priority: {index: 25}
  status: {index: 20}
  sender:
    short: Välityspyynnön tehneen palvelunantajan tunnus
    index: 57
    elements:
      id: {index: 58}
      reference: {index: 59}
      type: {index: 60}
      identifier:
        index: 61
        elements:
          id: {index: 62}
          extension: {index: 63}
          use: {index: 64}
          type: {index: 65}
          system:
            pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
            index: 66
          value: {short: Välityspyynnön tehneen palvelunantajan tunnus, index: 67}
          period: {index: 68}
          assigner: {index: 69}
        extensions: {}
        required: [value, system]
    required: [identifier]
  identifier: {index: 3}
  inResponseTo: {index: 19}
  basedOn:
    short: Välityspyynnön tunniste
    index: 6
    elements:
      id: {index: 7}
      reference: {index: 8}
      type: {index: 9}
      identifier:
        index: 10
        extensions: {}
        elements:
          extension: {index: 11}
          use: {index: 12}
          type: {index: 13}
          system:
            pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
            index: 14
          value: {short: Välityspyynnön tunniste, index: 15}
          period: {index: 16}
          assigner: {index: 17}
        required: [value, system]
    required: [identifier]
  partOf: {index: 18}
  subject:
    type: Reference
    short: Asiakkaan tiedot
    refers: ['https://kvp.kanta.fi/fhir/StructureDefinition/KVPPatient']
    index: 27
    extensions: {}
    elements:
      extension: {index: 28}
      reference: {index: 29}
      type: {index: 30}
      identifier:
        index: 31
        elements:
          id: {index: 32}
          extension: {index: 33}
          use: {index: 34}
          type: {index: 35}
          system:
            short: Henkilötunnuksen nimiavaruus.
            pattern: {type: Uri, value: 'urn:oid:1.2.246.21'}
            index: 36
          period: {index: 37}
          assigner: {index: 38}
        extensions: {}
      display: {short: Asiakkaan nimitiedot, index: 39}
    required: [reference]
  about: {index: 41}
  reasonReference: {index: 81}
package_version: 1.0.0-rc3
class: profile
kind: resource
url: https://kvp.kanta.fi/fhir/StructureDefinition/valitys
base: http://hl7.org/fhir/StructureDefinition/Communication
version: null
required: [basedOn, recipient, meta, reasonCode, sender]