← Technical API reference

Frontend module · STATIC DECLARATIONS

Medication Dispense Api client API reference · mansoq-web-teleicu

6 client route/call declarations with path parameters, named payload/response types and source references. Exact server acceptance and permissions require the matched backend contract.

Static API contract — behavior review pending. Source baseline f6e9f05f76d4.

Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.

Client contract scope

These 6 declarations come from repositories/teleicu/mansoq-web-teleicu/src/types/emr/medicationDispense/medicationDispenseApi.ts. Client types and noAuth flags describe the caller; they do not authorize a server action. Dynamic paths and missing backend matches are retained as review work, not repaired into invented endpoints.

Operation map

Client method HTTP method Path pattern Resolution
default.create POST /api/v1/medication/dispense/ literal
default.get GET /api/v1/medication/dispense/{id}/ literal
default.list GET /api/v1/medication/dispense/ literal
default.upsert POST /api/v1/medication/dispense/upsert/ literal
default.summary GET /api/v1/medication/dispense/summary/ literal
default.update PUT /api/v1/medication/dispense/{id}/ literal

default.create

POST /api/v1/medication/dispense/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

request type: MedicationDispenseCreate. client-side declaration; not proof of accepted server payload.

MedicationDispenseCreate declared fields:

Field Type Required Description
encounter string true —
location string false —
authorizing_request string | null true —
item string true —
quantity string true —
days_supply string false —
fully_dispensed boolean true —
create_dispense_order MedicationDispenseOrderCreate false —
order string false —

Composed/inherited schema references: MedicationDispenseBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

response type: MedicationDispenseRead. client-side declaration; not proof of accepted server payload.

MedicationDispenseRead declared fields:

Field Type Required Description
item InventoryRead true —
charge_item ChargeItemRead false —
created_date string true —
location LocationRead true —
quantity string true —
order DispenseOrderRead true —
authorizing_request MedicationRequestRead | null true —

Composed/inherited schema references: MedicationDispenseBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.get

GET /api/v1/medication/dispense/{id}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: id. Transport strings are declared here; semantic identifier types require the server contract.

response type: MedicationDispenseRetrieve. client-side declaration; not proof of accepted server payload.

MedicationDispenseRetrieve declared fields:

Field Type Required Description
encounter EncounterListRead true —

Composed/inherited schema references: MedicationDispenseRead. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.list

GET /api/v1/medication/dispense/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Declared default query fields: ordering (string). These are defaults observed at this route object, not an exhaustive query allowlist.

response type: PaginatedResponse<MedicationDispenseRead>. client-side declaration; not proof of accepted server payload.

PaginatedResponse declared fields:

Field Type Required Description
count number true —
results TItem[] true —

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.upsert

POST /api/v1/medication/dispense/upsert/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

request type: object. client-side declaration; not proof of accepted server payload.

MedicationDispenseUpsert declared fields:

Field Type Required Description
id string false —

Composed/inherited schema references: MedicationDispenseBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

default.upsert.request declared fields:

Field Type Required Description
datapoints MedicationDispenseUpsert[] true —

response type: MedicationDispenseRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.summary

GET /api/v1/medication/dispense/summary/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

response type: PaginatedResponse<MedicationDispenseSummary>. client-side declaration; not proof of accepted server payload.

MedicationDispenseSummary declared fields:

Field Type Required Description
encounter EncounterRead true —
count number true —

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.update

PUT /api/v1/medication/dispense/{id}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: id. Transport strings are declared here; semantic identifier types require the server contract.

request type: MedicationDispenseUpdate. client-side declaration; not proof of accepted server payload.

MedicationDispenseUpdate declared fields:

Field Type Required Description
id string false —
status MedicationDispenseStatus true —

response type: MedicationDispenseRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

Pinned source evidence

Links require access to the private source repository.