anpheros_sdk 0.1.1 copy "anpheros_sdk: ^0.1.1" to clipboard
anpheros_sdk: ^0.1.1 copied to clipboard

Dart client for Anpheros Platform — a health-data backend with FHIR R4, patient consent (OAuth 2.1 / SMART on FHIR), provenance and an AI context API.

example/example.dart

// Server-side use with a project key: list patients and read a patient's labs.
import 'package:anpheros_sdk/anpheros_sdk.dart';

Future<void> main() async {
  final anpheros = Anpheros(auth: AnpherosAuth.apiKey('sk_test_…'));
  final page = await anpheros.patients.list(limit: 5);
  for (final p in page.data) {
    final labs = await anpheros.observations.list(p.id, category: 'laboratory', limit: 3);
    print('${p.given} ${p.family}: ${labs.data.length} lab results');
  }
  anpheros.close();
}
0
likes
140
points
120
downloads

Documentation

API reference

Publisher

verified publisheranpheros.com

Weekly Downloads

Dart client for Anpheros Platform — a health-data backend with FHIR R4, patient consent (OAuth 2.1 / SMART on FHIR), provenance and an AI context API.

Homepage
Repository (GitHub)
View/report issues

Topics

#fhir #health #oauth #api-client

License

unknown (license)

Dependencies

crypto, http, meta

More

Packages that depend on anpheros_sdk