PackagesCanonicalsLogsProblems
    Packages
    nit-mvp.nit@0.0.1
    https://pnt.agenas.it/fhir/StructureDefinition/Bundle_RicercaSlot
description: 'Questo profilo definisce un Bundle di tipo ''searchset'' fornito a segunti una  ricerca degli Slot di disponibilità nel contesto del PNT. Il Bundle deve contenere risorse specifiche: PractitionerRole, HealthcareService, Practioner,Organization,Schedule,Slot con metadati obbligatori nei tag.'
package_name: nit-mvp.nit
derivation: constraint
name: Bundle_RicercaSlot
type: Bundle
elements:
  meta:
    index: 0
    elements:
      tag:
        array: true
        min: 3
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 3
          slices:
            codiceApplicativoInviante:
              match: {system: 'https://terminology.pnt.agenas.it/CodeSystem/CodiceApplicativoInviante'}
              schema:
                _required: true
                index: 2
                elements:
                  system:
                    short: Identifica il sistema di terminologia
                    pattern: {type: Uri, value: 'https://terminology.pnt.agenas.it/CodeSystem/CodiceApplicativoInviante'}
                    index: 3
                  code: {short: Codice applicativo inviante, index: 4}
                required: [system, code]
            codiceRegioneApplicativoInviante:
              match: {system: 'https://terminology.pnt.agenas.it/CodeSystem/CodiceRegione'}
              schema:
                short: Codice regione dell'applicativo inviante
                _required: true
                index: 5
                elements:
                  system:
                    short: Identifica il sistema di terminologia
                    pattern: {type: Uri, value: 'https://terminology.pnt.agenas.it/CodeSystem/CodiceRegione'}
                    index: 6
                  code: {short: Codice regione dell'aplicativo inviante, index: 7}
                required: [system, code]
            codiceInstallazioneApplicazioneInviante:
              match: {system: 'https://terminology.pnt.agenas.it/CodeSystem/CodiceInstallazioneProdottoInviante'}
              schema:
                _required: true
                index: 8
                elements:
                  system:
                    short: Identifica il sistema di terminologia
                    pattern: {type: Uri, value: 'https://terminology.pnt.agenas.it/CodeSystem/CodiceInstallazioneProdottoInviante'}
                    index: 9
                  code: {short: Codice installazione dell'aplicativo inviante - POD, index: 10}
                required: [system, code]
  type:
    pattern: {type: Code, value: message}
    index: 11
  timestamp: {short: Quando il bundle è stato assemblato, index: 12}
  entry:
    short: Voce nel bundle - avrà una risorsa o un'informazione
    orderMeaning: Per i bundle di tipo "document" e "message", la prima risorsa è speciale (deve essere rispettivamente Composition o MessageHeader). Per tutti i bundle, il significato dell'ordine delle voci dipende dal tipo di bundle
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: profile}
      min: null
      slices:
        MessageHeader:
          match: {}
          schema:
            short: MessageHeader
            _required: true
            index: 14
            elements:
              resource:
                type: MessageHeader
                index: 15
                elements:
                  id: {index: 16}
                required: [id]
        Schedule:
          match: {}
          schema:
            short: Schedule
            index: 17
            elements:
              resource:
                type: Schedule
                index: 18
                elements:
                  id: {index: 19}
                required: [id]
        PractitionerRole_Erog:
          match: {}
          schema:
            short: PractitionerRole
            index: 20
            elements:
              resource:
                type: PractitionerRole
                index: 21
                elements:
                  id: {index: 22}
                required: [id]
        HealthcareService:
          match: {}
          schema:
            short: HealthcareService
            index: 23
            elements:
              resource:
                type: HealthcareService
                index: 24
                elements:
                  id: {index: 25}
                required: [id]
        Slot:
          match: {}
          schema:
            short: Slot
            index: 26
            elements:
              resource:
                type: Slot
                index: 27
                elements:
                  id: {index: 28}
                required: [id]
        Organization:
          match: {}
          schema:
            short: Organization
            index: 29
            elements:
              resource:
                type: Organization
                index: 30
                elements:
                  id: {index: 31}
                required: [id]
        Practitioner:
          match: {}
          schema:
            short: Practitioner
            index: 32
            elements:
              resource:
                type: Practitioner
                index: 33
                elements:
                  id: {index: 34}
                required: [id]
package_version: 0.0.1
class: profile
kind: resource
url: https://pnt.agenas.it/fhir/StructureDefinition/Bundle_RicercaSlot
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: null