MyHealth@Eu NCPeH API - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Other Options
Other options
There are different possible options - some of them listed below - for searching and retrieving reports, or other documents, by using the FHIR API.
searching per DocumentReference
searching per Composition
searching per Bundle
searching per DiagnosticReport
They are not mutually exclusive, that is, depending on the goal one or the other could be chosen.
However, for this first implementation only the DocumentReference will be used and specified; the other are described only for documentation purposes.
Search and Get Report(s)
Composition Search
<?xml version="1.0" encoding="us-ascii" standalone="no"?>Requesting NCP Requesting NCP Responding NCP Responding NCP Patient Search ref Patient Search Composition Search $server/Composition?<searchParameters><modifiers> Bundle.where(type='searchSet').entry.resource.ofType(Composition) opt [$document operation] $server/Composition/id/$document Bundle.where(type='document') [get Bundle per report business identifier] $server/Bundle?composition.identifier=<report-business-identifier> Bundle.where(type='searchSet').entry.resource.ofType(Bundle)
Search parameters:
Document type
Study type
Specialty
Patient business identifier
period of time
Bundle Search
<?xml version="1.0" encoding="us-ascii" standalone="no"?>Requesting NCP Requesting NCP Responding NCP Responding NCP Patient Search ref Patient Search Bundle Search $server/Bundle?<searchParameters><modifiers> Bundle.where(type='searchSet').entry.resource.ofType(Bundle)
DiagnosticReport Search
<?xml version="1.0" encoding="us-ascii" standalone="no"?>Requesting NCP Requesting NCP Responding NCP Responding NCP Patient Search ref Patient Search DiagnosticReport Search $server/DiagnosticReport?<searchParameters><modifiers> Bundle.where(type='searchSet').entry.resource.ofType(DiagnosticReport) $server/DiagnosticReport?_id=<xyz>&_include="*" : Bundle.where(type='searchSet')
Search parameters:
Document type
Study type
Specialty
Patient business identifier
period of time