@sijilaty/ehr-sdk
v1.0.2
Published
Sijil fork of the Sijil TypeScript SDK — route zambda, FHIR, and project APIs through Tyk or the Sijil Go gateway
Maintainers
Readme
@sijilaty/ehr-sdk
TypeScript SDK for Sijil — a maintained fork of @sijil/sdk v4.3.9 with helpers to route zambda, project, and FHIR traffic through the Sijil Go gateway or Tyk instead of *.zapehr.com.
| Resource | URL | |----------|-----| | GitHub | https://github.com/Sijilaty/ehr-sdk | | npm | https://www.npmjs.com/package/@sijilaty/ehr-sdk | | Upstream | https://www.npmjs.com/package/@sijil/sdk |
Quick start
npm install @sijilaty/ehr-sdkimport { createSijilClient } from '@sijilaty/ehr-sdk';
const client = createSijilClient({
apiBaseUrl: 'http://localhost:8080',
accessToken: await getAccessToken(),
projectId: 'your-project-id',
});
await client.fhir.search({ resourceType: 'Patient', params: [] });Documentation
| Doc | Contents |
|-----|----------|
| docs/API.md | Exports, Sijil URL mapping, env vars, Sijil usage |
| docs/BUILD.md | esbuild + TypeScript, output layout, Homebrew vs npm |
| docs/DEVELOPMENT.md | Clone, local dev, link into sijil-web |
| docs/RELEASE.md | Branch-based CI releases, npm tokens, GitHub Actions |
| docs/SIJIL-WEB.md | Drop-in for @sijil/sdk, createAppSijil |
| docs/ARCHITECTURE.md | Fork lineage, repo layout, CI overview |
| AGENTS.md | Rules for AI coding agents |
Credentials
./scripts/setup-credentials.sh # npm ~/.npmrc + GitHub NPM_TOKENDrop-in replacement
"@sijil/sdk": "npm:@sijilaty/ehr-sdk@^1.0.0"License
MIT — upstream Sijil SDK © Sijil; Sijil changes © Sijilaty.
