Esempio di ricerca esame specifico di laboratorio per un determinato paziente

Questa ricerca permette di reperire i dettagli dei risultati di uno o più referti relativi a una specifica tipologia di esame di laboratorio effettuato da un determinato paziente presso una struttura sanitaria, permettendo di selezionare gli esami effettuati a partire da una certa data o all’interno di un certo intervallo temporale.

I parametri obbligatori da valorizzare per effettuare la ricerca sono:

  • _include=Observation:patient&patient.identifier=[identificativo paziente]
  • category = laboratory
  • code = [codice esame]
  • date = gt[data inizio ricerca]

Richiesta:

SCOPE Ricerca esame specifico di laboratorio per un determinato paziente
VERB GET
BASE [base_API_Manager]
URL /Observation?code=2339-0&date=gt2024-01-01&category=laboratory&_include=Observation:patient&patient.identifier=RSSMRA71E01F205E
Descrizione risposta Restituirà tutte le Observation con profilo RLObservationLabReport che hanno il codice LOINC “2339-0” relativo all’esame del glucosio, effettuate dopo la data del 1/01/2024 del paziente con codice fiscale RSSMRA71E01F205E, insieme alle informazioni del paziente (risorsa Patient).

Risposta

{
    "resourceType": "Bundle",
    "id": "esempio-esame-specifico-1",
    "meta": {
        "lastUpdated": "2024-09-06T17:22:06.511+02:00"
    },
    "type": "searchset",
    "total": 1,
    "link":  [
        {
            "relation": "self",
            "url": "baseUrl/Observation?_include=Observation%3Apatient&category=laboratory&code=2339-0&date=gt2024-01-01&patient.identifier=RSSMRA71E01F205E"
        }
    ],
    "entry":  [
        {
            "fullUrl": "baseUrl/Observation/3",
            "resource": {
                "resourceType": "Observation",
                "id": "3",
                "meta": {
                    "versionId": "9",
                    "lastUpdated": "2024-09-06T12:46:27.861+02:00",
                    "source": "#9T99vkUcXZ0nfPVf",
                    "profile":  [
                        "https://fhir.siss.regione.lombardia.it/StructureDefinition/RLObservationLabReport"
                    ]
                },
                "identifier":  [
                    {
                        "use": "official",
                        "system": "http://www.bmc.nl/zorgportal/identifiers/observations",
                        "value": "6323"
                    }
                ],
                "status": "final",
                "category":  [
                    {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                                "code": "laboratory"
                            }
                        ]
                    }
                ],
                "code": {
                    "coding":  [
                        {
                            "system": "http://loinc.org",
                            "code": "2339-0",
                            "display": "Glucose [Mass/volume] in Blood"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/1"
                },
                "encounter": {
                    "reference": "Encounter/2"
                },
                "effectivePeriod": {
                    "start": "2024-01-01T09:30:10+01:00"
                },
                "issued": "2024-01-01T15:30:10+01:00",
                "performer":  [
                    {
                        "reference": "PractitionerRole/5"
                    }
                ],
                "valueQuantity": {
                    "value": 110.0,
                    "unit": "mg/dl",
                    "system": "http://unitsofmeasure.org"
                },
                "interpretation":  [
                    {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                                "code": "H",
                                "display": "High"
                            }
                        ]
                    }
                ],
                "specimen": {
                    "reference": "Specimen/6"
                },
                "referenceRange":  [
                    {
                        "low": {
                            "value": 40,
                            "unit": "mg/dl",
                            "system": "http://unitsofmeasure.org",
                            "code": "mg/dl"
                        },
                        "high": {
                            "value": 109,
                            "unit": "mg/dl",
                            "system": "http://unitsofmeasure.org",
                            "code": "mg/dl"
                        }
                    }
                ]
            },
            "search": {
                "mode": "match"
            }
        },
        {
            "fullUrl": "baseUrl/Patient/1",
            "resource": {
                "resourceType": "Patient",
                "id": "1",
                "meta": {
                    "versionId": "3",
                    "lastUpdated": "2024-09-06T12:13:14.435+02:00",
                    "source": "#htzq0nsUEttaUcGK",
                    "profile":  [
                        "http://hl7.it/fhir/lab-report/StructureDefinition/patient-it-lab"
                    ]
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml > ..   </div>"
                },
                "extension":  [
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
                        "valueAddress": {
                            "line":  [
                                "Via della Vittoria, 1"
                            ],
                            "_line":  [
                                {
                                    "extension":  [
                                        {
                                            "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                                            "valueString": "Via della Vittoria"
                                        },
                                        {
                                            "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                                            "valueString": "1"
                                        }
                                    ]
                                }
                            ],
                            "city": "Milano",
                            "postalCode": "20100",
                            "country": "IT"
                        }
                    },
                    {
                        "url": "http://hl7.it/fhir/StructureDefinition/patient-occupation-it",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://hl7.it/fhir/lab-report/CodeSystem/istat-professioni",
                                    "code": "1.1.3",
                                    "display": "Dirigenti della magistratura"
                                }
                            ]
                        }
                    },
                    {
                        "url": "http://hl7.it/fhir/StructureDefinition/patient-qualification-it",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://hl7.it/fhir/lab-report/CodeSystem/istat-ctsi03",
                                    "code": "40205013",
                                    "display": "Giuridico economico aziendale"
                                }
                            ]
                        }
                    },
                    {
                        "url": "http://hl7.it/fhir/StructureDefinition/patient-codeableBirthPlace",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://hl7.it/fhir/lab-report/CodeSystem/istat-unitaAmministrativeTerritorialiEstere",
                                    "code": "100",
                                    "display": "Italia"
                                }
                            ]
                        }
                    }
                ],
                "identifier":  [
                    {
                        "extension":  [
                            {
                                "url": "http://hl7.it/fhir/StructureDefinition/recordCertification",
                                "extension":  [
                                    {
                                        "url": "when",
                                        "valueDateTime": "2022-05-01"
                                    }
                                ]
                            }
                        ],
                        "system": "http://hl7.it/sid/codiceFiscale",
                        "value": "RSSMRA71E01F205E"
                    }
                ],
                "name":  [
                    {
                        "family": "Rossi",
                        "given":  [
                            "Maria"
                        ]
                    }
                ],
                "telecom":  [
                    {
                        "system": "phone",
                        "value": "3331245678"
                    },
                    {
                        "system": "email",
                        "value": "maria.rossi@mail.com"
                    }
                ],
                "gender": "female",
                "birthDate": "1971-05-01",
                "address":  [
                    {
                        "extension":  [
                            {
                                "url": "http://hl7.it/fhir/lab-report/StructureDefinition/address-official",
                                "valueBoolean": true
                            }
                        ],
                        "use": "home",
                        "line":  [
                            "Via della Libertà, 52"
                        ],
                        "_line":  [
                            {
                                "extension":  [
                                    {
                                        "url": "http://hl7.it/fhir/StructureDefinition/address-dug",
                                        "valueCodeableConcept": {
                                            "coding":  [
                                                {
                                                    "system": "http://hl7.it/fhir/lab-report/CodeSystem/dug",
                                                    "code": "67",
                                                    "display": "via"
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        ],
                        "city": "Milano",
                        "postalCode": "20100",
                        "country": "IT"
                    }
                ],
                "contact":  [
                    {
                        "relationship":  [
                            {
                                "coding":  [
                                    {
                                        "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
                                        "code": "C",
                                        "display": "Emergency Contact"
                                    }
                                ]
                            }
                        ],
                        "name": {
                            "family": "Rossi",
                            "given":  [
                                "Luigi"
                            ]
                        },
                        "telecom":  [
                            {
                                "system": "phone",
                                "value": "3312345567"
                            }
                        ]
                    },
                    {
                        "relationship":  [
                            {
                                "coding":  [
                                    {
                                        "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
                                        "code": "C",
                                        "display": "Emergency Contact"
                                    }
                                ]
                            }
                        ],
                        "name": {
                            "family": "Bianchi",
                            "given":  [
                                "Maria"
                            ]
                        },
                        "telecom":  [
                            {
                                "system": "phone",
                                "value": "3311234598"
                            }
                        ]
                    }
                ]
            },
            "search": {
                "mode": "include"
            }
        }
    ]
}