{ "description": null, "_filename": "Bundle_LIS_richieste.StructureDefinition.json", "package_name": "eng.fhir.profile.dev", "date": "2023-05-17T15:13:31.6270141+00:00", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "Bundle_LIS_richieste", "abstract": false, "type": "Bundle", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "0.0.7-beta", "status": "draft", "id": "4923beb3-db9b-4de3-8c9f-e56cb5deedb1", "kind": "resource", "url": "https://eng.it/fhir/StructureDefinition/Bundle_LIS_richieste", "version": null, "differential": { "element": [ { "id": "Bundle", "path": "Bundle", "comment": "Questo tipo di Bundle conterrà le risorse:\r\n\r\n* MessageHeader_LIS_richieste\r\n\r\n* ServiceRequest\r\n\r\n* Specimen\r\n\r\n* Observation_altezza\r\n\r\n* Observation_peso\r\n\r\n* Observation_clinic\r\n\r\nIl MessageHeader_LIS_richieste può avere come eventCoding.code i seguenti:\r\n\r\n* NW --> inserisci richiesta \r\n\r\n* HD --> richiesta pianificata \r\n\r\n* SC --> richiesta in accettazione diretta / status change \r\n\r\n* A --> richiesta erogata \r\n\r\n* CA --> richiesta annullata\r\n\r\n* RP --> replace richiesta", "constraint": [ { "key": "bundle-lis-richieste", "human": "Per questo tipo di Bundle sono obbligatorie le risorse MessageHeader e ServiceRequest", "severity": "error", "expression": "entry.resource.ofType(MessageHeader).exists() and entry.resource.ofType(ServiceRequest).exists()" } ] }, { "id": "Bundle.type", "path": "Bundle.type", "comment": "Impostato valore fisso a message, per questo tipo di Bundle", "fixedCode": "message", "definition": "Indica lo scopo di questo bundle, ovvero come si intende utilizzarlo." }, { "id": "Bundle.timestamp", "path": "Bundle.timestamp", "short": "Quando il bundle è stato assemblato", "comment": "Per molti bundle, il timestamp è uguale a .meta.lastUpdated, perché non sono memorizzati (ad esempio, i risultati di ricerca). Quando un bundle viene inserito in un archivio persistente, .meta.lastUpdated verrà solitamente modificato dal server. Quando il bundle è un messaggio, un agente middleware che modifica il messaggio (anche se non memorizzato) DOVREBBE aggiornare .meta.lastUpdated. .timestamp è usato per tracciare l'ora originale del bundle e DOVREBBE essere popolato. \r\n\r\nUtilizzo:\r\n\r\n* document : la data di creazione del documento. Nota: la composizione può essere precedente al documento o essere associata a più documenti. La data della composizione - l'ora di creazione - può essere precedente all'ora di assemblaggio del documento.\r\n* messaggio: la data in cui il contenuto del messaggio è stato assemblato. Questa data non viene modificata dai motori middleware, a meno che non aggiungano dati aggiuntivi che cambino il significato dell'ora del messaggio.\r\n* storia: la data in cui la storia è stata assemblata. Questa data sarà utilizzata come tempo _since per richiedere gli aggiornamenti successivi.\r\n* searchset : l'ora in cui è stato assemblato l'insieme di ricerca. Si noti che pagine diverse POSSONO avere timestamp diversi, ma non è necessario. Avere timestamp diversi non implica che le pagine successive rappresentino o includano le modifiche apportate dopo l'interrogazione iniziale.\r\n* transazione | transazione-risposta | batch | batch-risposta | raccolta : nessun significato particolare assegnato\r\n\r\nIl valore del timestamp deve essere maggiore del lastUpdated e degli altri timestamp nelle risorse del bundle e deve essere uguale o precedente al .meta.lastUpdated del bundle stesso.", "definition": "La data/ora in cui il bundle è stato assemblato, ovvero quando le risorse sono state inserite nel bundle." }, { "id": "Bundle.entry", "path": "Bundle.entry", "short": "Voce nel bundle - avrà una risorsa o un'informazione", "comment": "Questo tipo di Bundle conterrà le risorse:\r\n\r\n* MessageHeader_LIS_richieste\r\n\r\n* ServiceRequest\r\n\r\n* Specimen\r\n\r\n* Observation_altezza\r\n\r\n* Observation_peso\r\n\r\n* Observation_clinic\r\n\r\nIl MessageHeader_LIS_richieste può avere come eventCoding.code i seguenti:\r\n\r\n* NW --> inserisci richiesta \r\n\r\n* HD --> richiesta pianificata \r\n\r\n* SC --> richiesta in accettazione diretta / status change \r\n\r\n* A --> richiesta erogata \r\n\r\n* CA --> richiesta annullata\r\n\r\n* RP --> replace richiesta", "slicing": { "rules": "open", "discriminator": [ { "path": "resource", "type": "profile" } ] }, "definition": "Una voce in un bundle di risorse: conterrà una risorsa o informazioni su una risorsa (solo transazioni e cronologia).", "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" }, { "id": "Bundle.entry:MessageHeader_LIS_richieste", "max": "1", "min": 1, "path": "Bundle.entry", "short": "MessageHeader_LIS_richieste", "comment": "può avere come eventCoding.code i seguenti:\r\n\r\n* NW --> inserisci richiesta \r\n\r\n* HD --> richiesta pianificata \r\n\r\n* SC --> richiesta in accettazione diretta / status change \r\n\r\n* A --> richiesta erogata \r\n\r\n* CA --> richiesta annullata\r\n\r\n* RP --> replace richiesta", "sliceName": "MessageHeader_LIS_richieste", "definition": "MessageHeader_LIS_richieste" }, { "id": "Bundle.entry:MessageHeader_LIS_richieste.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/MessageHeader_LIS_richieste_Eng" ] } ] }, { "id": "Bundle.entry:ServiceRequest", "min": 1, "path": "Bundle.entry", "short": "ServiceRequest", "sliceName": "ServiceRequest", "definition": "ServiceRequest" }, { "id": "Bundle.entry:ServiceRequest.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/ServiceRequest_Eng" ] } ] }, { "id": "Bundle.entry:Specimen", "min": 1, "path": "Bundle.entry", "short": "Specimen", "sliceName": "Specimen", "definition": "Specimen" }, { "id": "Bundle.entry:Specimen.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/Specimen_Eng" ] } ] }, { "id": "Bundle.entry:Observation_peso", "path": "Bundle.entry", "short": "Observation_peso", "sliceName": "Observation_peso", "definition": "Observation_peso" }, { "id": "Bundle.entry:Observation_peso.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/Observation_peso_Eng" ] } ] }, { "id": "Bundle.entry:Observation_altezza", "path": "Bundle.entry", "short": "Observation_altezza", "sliceName": "Observation_altezza", "definition": "Observation_altezza" }, { "id": "Bundle.entry:Observation_altezza.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/Observation_altezza_Eng" ] } ] }, { "id": "Bundle.entry:Observation_clinic", "path": "Bundle.entry", "short": "Observation_clinic", "sliceName": "Observation_clinic", "definition": "Observation_clinic" }, { "id": "Bundle.entry:Observation_clinic.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/Observation_clinic_Eng" ] } ] }, { "id": "Bundle.entry:MedicationStatement", "path": "Bundle.entry", "short": "MedicationStatement", "sliceName": "MedicationStatement", "definition": "MedicationStatement" }, { "id": "Bundle.entry:MedicationStatement.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://eng.it/fhir/StructureDefinition/MedicationStatement_Eng" ] } ] } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle" }