Developer Documentation
Documentation for API consumers integrating with the Legemiddelgrunndata API. New to the API? Start with Getting Started.
Pages
| Area | Page | Covers |
|---|---|---|
| Start | Getting Started | Environments, access and a first request |
| Concepts | Authentication | API keys (v1), HelseID with DPoP (v2), authentication errors |
| Concepts | Response format | Versioned and unversioned envelope, isInFest |
| Concepts | Errors and limits | Status codes, error format, rate limiting |
| Concepts | Versioning and Diff | Fetch only changes with since-version |
| REST API | Treatment groups | Endpoints and schema |
| REST API | Reimbursement groups | Endpoints and schema |
| REST API | Last updated | Cheap check for changes |
| REST API | Shared types and code systems | ProductReference, Coding, CodeableConcept, Identifier, Period, RHF codes |
| FHIR | FHIR R4 endpoints | Read-only FHIR view |
Folder indexes: concepts, rest-api, fhir.
Endpoints
| Endpoint | Auth | Documented in |
|---|---|---|
GET /api/v1/treatment-group |
API key | Treatment groups |
GET /api/v1/treatment-group/{id} |
API key | Treatment groups |
GET /api/v1/reimbursement-group |
API key | Reimbursement groups |
GET /api/v1/reimbursement-group/{id} |
API key | Reimbursement groups |
GET /api/v1/last-updated |
API key | Last updated |
GET /api/v2/treatment-group |
HelseID | Treatment groups |
GET /api/v2/treatment-group/{id} |
HelseID | Treatment groups |
GET /api/v2/reimbursement-group |
HelseID | Reimbursement groups |
GET /api/v2/reimbursement-group/{id} |
HelseID | Reimbursement groups |
GET /api/v2/last-updated |
HelseID | Last updated |
GET /fhir/r4/{Resource}, GET /fhir/r4/{Resource}/{id} |
HelseID | FHIR R4 endpoints |
GET /fhir/r4/metadata |
None | FHIR R4 endpoints |
Moved pages
api-reference.md, data-models.md, authentication.md and versioning-and-diff.md in this folder are short redirect pages that keep old links working. Do not extend them.