PackagesCanonicalsLogsProblems
    Packages
    test-r5.almaviva@0.0.2-beta
    http://pnla.agenas.it/fhir/StructureDefinition/pnla-servicerequest
description: Profilo FHIR R5 PNLA per la risorsa ServiceRequest, generato dai mapping del foglio 1.9.
package_name: test-r5.almaviva
derivation: constraint
name: PNLAServiceRequest
type: ServiceRequest
elements:
  identifier:
    short: Id richiesta, NRE o appuntamento
    index: 0
    elements:
      system: {index: 1}
      value: {short: Valore dell'identificativo della richiesta, index: 2}
    required: [value, system]
  status:
    short: Stato della richiesta
    pattern: {type: Code, value: active}
    index: 3
  intent:
    short: Intento della richiesta
    pattern: {type: Code, value: order}
    index: 4
  category:
    short: Tipo di ricetta
    binding: {strength: required, valueSet: 'http://terminology.hl7.it/ValueSet/agenas-prescription-type|1.0.0'}
    index: 5
  orderDetail:
    short: Dettagli aggiuntivi della richiesta
    index: 6
    elements:
      parameter:
        short: Parametri della richiesta PNLA
        index: 7
        slicing:
          rules: open
          ordered: false
          description: Slicing dei parametri della richiesta in base al valore di parameter.code.
          discriminator:
          - {path: code, type: pattern}
          min: null
          slices:
            tipologiaAccesso:
              match:
                code:
                  coding:
                  - {code: access-type, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Tipologia di accesso
                index: 43
                elements:
                  code:
                    short: 'Tipo parametro: tipologia di accesso'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: access-type, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 44
                  value:
                    short: Valore della tipologia di accesso
                    choices: [valueCodeableConcept]
                    index: 46
                  valueCodeableConcept: {type: CodeableConcept, short: Valore della tipologia di accesso, choiceOf: value, index: 47}
            regioneAssistenza:
              match:
                code:
                  coding:
                  - {code: assistance-region, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Regione di assistenza
                _required: true
                index: 23
                elements:
                  code:
                    short: 'Tipo parametro: Regione di assistenza'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: assistance-region, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 24
                  value:
                    short: Codice della Regione di assistenza
                    choices: [valueCodeableConcept]
                    index: 26
                  valueCodeableConcept: {type: CodeableConcept, short: Codice della Regione di assistenza, choiceOf: value, index: 27}
            sesso:
              match:
                code:
                  coding:
                  - {code: gender, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Sesso del paziente
                index: 38
                elements:
                  code:
                    short: 'Tipo parametro: sesso'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: gender, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 39
                  value:
                    short: Valore del sesso
                    choices: [valueCodeableConcept]
                    index: 41
                  valueCodeableConcept: {type: CodeableConcept, short: Valore del sesso, choiceOf: value, index: 42}
            comuneResidenza:
              match:
                code:
                  coding:
                  - {code: residence-municipality, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Comune di residenza
                _required: true
                index: 18
                elements:
                  code:
                    short: 'Tipo parametro: comune di residenza'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: residence-municipality, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 19
                  value:
                    short: Codice ISTAT del comune di residenza
                    choices: [valueCodeableConcept]
                    index: 21
                  valueCodeableConcept: {type: CodeableConcept, short: Codice ISTAT del comune di residenza, choiceOf: value, index: 22}
            fasciaEta:
              match:
                code:
                  coding:
                  - {code: age-band, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Fascia di età
                index: 33
                elements:
                  code:
                    short: 'Tipo parametro: fascia di età'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: age-band, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 34
                  value:
                    short: Valore della fascia di età
                    choices: [valueCodeableConcept]
                    index: 36
                  valueCodeableConcept: {type: CodeableConcept, short: Valore della fascia di età, choiceOf: value, index: 37}
            priorita:
              match:
                code:
                  coding:
                  - {code: priority, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Classe di priorità
                index: 48
                elements:
                  code:
                    short: 'Tipo parametro: classe di priorità'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: priority, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 49
                  value:
                    short: Valore della classe di priorità
                    choices: [valueCodeableConcept]
                    index: 51
                  valueCodeableConcept: {type: CodeableConcept, short: Valore della classe di priorità, choiceOf: value, index: 52}
            aslAssistenza:
              match:
                code:
                  coding:
                  - {code: assistance-asl, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: ASL di assistenza
                index: 28
                elements:
                  code:
                    short: 'Tipo parametro: ASL di assistenza'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: assistance-asl, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 29
                  value:
                    short: Codice della ASL di assistenza
                    choices: [valueCodeableConcept]
                    index: 31
                  valueCodeableConcept: {type: CodeableConcept, short: Codice della ASL di assistenza, choiceOf: value, index: 32}
            regimeErogazione:
              match:
                code:
                  coding:
                  - {code: service-provision, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Regime di erogazione
                _required: true
                index: 8
                elements:
                  code:
                    short: 'Tipo parametro: regime di erogazione'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: service-provision, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 9
                  value:
                    short: Valore del regime di erogazione
                    choices: [valueCodeableConcept]
                    index: 11
                  valueCodeableConcept: {type: CodeableConcept, short: Valore del regime di erogazione, choiceOf: value, index: 12}
            tipologiaErogazioneALPI:
              match:
                code:
                  coding:
                  - {code: alpi-provision-type, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
              schema:
                short: Tipologia di erogazione ALPI
                index: 13
                elements:
                  code:
                    short: 'Tipo parametro: tipologia erogazione ALPI'
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: alpi-provision-type, system: 'http://pnla.agenas.it/fhir/CodeSystem/servicerequest-parameter-type'}
                    index: 14
                  value:
                    short: Valore della tipologia di erogazione ALPI
                    choices: [valueCodeableConcept]
                    index: 16
                  valueCodeableConcept: {type: CodeableConcept, short: Valore della tipologia di erogazione ALPI, choiceOf: value, index: 17}
  authoredOn: {short: Data di prescrizione, index: 53}
package_version: 0.0.2-beta
class: profile
kind: resource
url: http://pnla.agenas.it/fhir/StructureDefinition/pnla-servicerequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 1.0.0
required: [orderDetail, identifier]