FhirExtensions extension

Extension methods for the http package Client class

on
  • Client

Methods

getResource<T>(String baseUri, String path) Future<Resource>
Low level call to get a resource from the FHIR server with raw URL path Note: it is recommended to use the higher level calls like search etc.
Search for resources of type T. Prefer the other functions starting with search for specific resources.
searchAppointments(String baseUri, {String version = 'baseR4', int? count, AppointmentStatus? status}) Future<Result<Appointment>>
Search for Appointments
searchEncounters(String baseUri, {String version = 'baseR4', EncounterStatus? status, int? count}) Future<Result<Encounter>>
Search for Encounters
searchObservations(String baseUri, {String version = 'baseR4', int? count}) Future<Result<Observation>>
Search for Observations
searchPatients(String baseUri, {String version = 'baseR4', int? count}) Future<Result<Patient>>
Search for Patients
searchPractitionerRoles(String baseUri, {String version = 'baseR4', int? count}) Future<Result<PractitionerRole>>
Search for PractitionerRoles
searchSchedules(String baseUri, {String version = 'baseR4', int? count, String? serviceType}) Future<Result<Schedule>>
Search for Schedules
searchSlots(String baseUri, {String version = 'baseR4', int? count, SlotStatus? status}) Future<Result<Slot>>
Search for Slots