AlayaCare Medication Administration API

The Medication Administration API from AlayaCare — 2 operation(s) for medication administration.

Business capability
Medication Administration & Reconciliation BC-2850.40

Operations 3

GET /medications/{medication_id}/administrations Get a list of medication administrations #
POST /medications/{medication_id}/administrations Create a medication administration #
GET /medications/{medication_id}/administrations/{admin_id} Get details of a medication administration #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/alayacare-medication-administration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

alayacare-medication-administration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.4
  title: External Clinical Medication Administration API
  description: 'External Clinical API


    **Internal IDs**

    The following terms are used to reference IDs that identify resources in AlayaCare:

    - id

    - created_by

    - client_id

    - risk_id

    - medication_id

    - admin_id

    - vital_id


    **External IDs**

    The following terms are used to reference IDs that identify resources systems external to AlayaCare:

    - external_id

    - external_client_id


    External IDs are required to be unique.'
servers:
- url: https://homecare.alayacare.ca/ext/api/v2/clinical
tags:
- name: Medication Administration
paths:
  /medications/{medication_id}/administrations:
    parameters:
    - description: Medication ID
      name: medication_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    get:
      tags:
      - Medication Administration
      summary: Get a list of medication administrations
      description: The fields that are populated on the when administering a medication depend on the medication `delivery_mode`.
      parameters:
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/count'
      responses:
        200:
          description: A list of medication administrations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedicationAdministrationList'
        401:
          $ref: '#/components/responses/AuthChallenge'
        400:
          $ref: '#/components/responses/InvalidRequest'
        404:
          $ref: '#/components/responses/NotFound'
      operationId: getMedicationsByMedicationIdAdministrations
      x-operation-id-source: derived
    post:
      tags:
      - Medication Administration
      summary: Create a medication administration
      responses:
        201:
          description: Administration created successfully
          content:
            application/json:
              schema:
                type: object
                description: Success returned from the API when creating or updating an entity.
                properties:
                  id:
                    type: string
                    description: The entity ID.
                    example: 70ad613a-376c-4389-bb45-78374dddd03e
        401:
          $ref: '#/components/responses/AuthChallenge'
        400:
          $ref: '#/components/responses/InvalidRequest'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MedicationAdministrationCreate'
        description: Medication administration data
        required: true
      operationId: postMedicationsByMedicationIdAdministrations
      x-operation-id-source: derived
  /medications/{medication_id}/administrations/{admin_id}:
    parameters:
    - description: Medication ID
      name: medication_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    - description: Medication Administration ID
      name: admin_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    get:
      tags:
      - Medication Administration
      summary: Get details of a medication administration
      responses:
        200:
          description: Medication administration details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedicationAdministration'
        401:
          $ref: '#/components/responses/AuthChallenge'
        400:
          $ref: '#/components/responses/InvalidRequest'
        404:
          $ref: '#/components/responses/NotFound'
      operationId: getMedicationsByMedicationIdAdministrationsByAdminId
      x-operation-id-source: derived
components:
  parameters:
    page:
      name: page
      in: query
      required: false
      description: Filter by page number. If not specified will default to 1.
      schema:
        type: integer
        default: 1
    count:
      name: count
      in: query
      required: false
      description: Number of items per page. If not specified will default to 100.
      schema:
        type: integer
        default: 100
  responses:
    NotFound:
      description: Not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 404
            message: Progress note not found
    InvalidRequest:
      description: Invalid data.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: Invalid request
    AuthChallenge:
      description: Authentication required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: Please verify your access level for this url.
  schemas:
    MedicationAdministration:
      allOf:
      - $ref: '#/components/schemas/MedicationAdministrationCreate'
      type: object
      description: Medication admninistration details
      required:
      - medication_id
      - created_employee_id
      - date_complete
      - id
      - updated_employee_id
    MedicationAdministrationCreate:
      type: object
      description: Medication admninistration details
      required:
      - medication_id
      - created_employee_id
      - updated_employee_id
      properties:
        amount_given:
          type:
          - string
          - 'null'
        bolus_dose:
          type:
          - string
          - 'null'
        bolus_dose_lockout:
          type:
          - string
          - 'null'
        bolus_doses_attempted:
          type:
          - string
          - 'null'
        bolus_doses_given:
          type:
          - string
          - 'null'
        comments:
          type:
          - string
          - 'null'
          description: Any additional comments for the administration.
        concentration:
          type:
          - string
          - 'null'
        created_employee_id:
          type: integer
          description: The ID of the employee that created the entity.
        date_complete:
          type: string
          description: The date that the medication was administered using ISO 8601 date-time formatting. The default is now.
          example: '2018-01-01T00:30:00+00:00'
        delivery_cycle:
          type:
          - string
          - 'null'
        delivery_mode:
          type:
          - string
          - 'null'
        delivery_period:
          type:
          - string
          - 'null'
        device_type:
          type:
          - string
          - 'null'
        did_not_administer:
          type: boolean
          description: Whether the medication was held. The default is `false`.
          example: false
        dose:
          type:
          - string
          - 'null'
        dose_volume:
          type:
          - string
          - 'null'
        duration:
          type:
          - string
          - 'null'
        hourly_rate:
          type:
          - string
          - 'null'
        id:
          type: string
        infusion_duration:
          type:
          - string
          - 'null'
        initial_rate:
          type:
          - string
          - 'null'
        kvo_rate:
          type:
          - string
          - 'null'
        line_primed:
          $ref: '#/components/schemas/YesNo'
        lock_level:
          type:
          - string
          - 'null'
        max_bolus_dose:
          type:
          - string
          - 'null'
        medication_id:
          type: string
          description: The ID of the medication being administered.
          example: 7f835fe4-4485-44de-a6b8-00a0c1438327
        next_dose_start_time:
          type:
          - string
          - 'null'
          description: The start time of the next dose using ISO 8601 date-time formatting.
        plateau_rate:
          type:
          - string
          - 'null'
        rate:
          type:
          - string
          - 'null'
        rate_increment:
          type:
          - string
          - 'null'
        reservoir_bag_change:
          $ref: '#/components/schemas/YesNo'
        residual_volume:
          type:
          - string
          - 'null'
        route:
          type:
          - string
          - 'null'
          example: The route that was used in the administration.
        step_duration:
          type:
          - string
          - 'null'
        taper:
          type:
          - string
          - 'null'
        total_given:
          type:
          - string
          - 'null'
        updated_employee_id:
          type: integer
          description: The ID of the employee that last updated the entity.
    YesNo:
      type:
      - string
      - 'null'
      description: Whether the action was performed.
      enum:
      - true
      - false
      example: true
    ErrorResponse:
      description: Error response
      type: object
      properties:
        code:
          type: integer
          description: Response code
        message:
          type: string
          description: Detailed error message
      required:
      - code
      - message
    MedicationAdministrationList:
      allOf:
      - $ref: '#/components/schemas/PaginatedList'
      description: Paginated list of the medication administration
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/MedicationAdministration'
    PaginatedList:
      description: Base model of all paginated lists
      type: object
      properties:
        count:
          type: integer
          description: Number of items in the response
          example: 1
        page:
          type: integer
          description: Current page number
          example: 1
        total_pages:
          type: integer
          description: Total number of pages availbale
          example: 1
        items:
          type: array
          items:
            type: object
      required:
      - count
      - page
      - total_pages
      - items
  securitySchemes:
    basic_auth:
      type: http
      scheme: basic
      description: Basic HTTP auth over https