PointClickCare · Capability

PointClickCare Long-Term Care EHR API — Medications

PointClickCare Long-Term Care EHR API — Medications. 2 operations. Lead operation: Get patient medication orders. Self-contained Naftiko capability covering one Pointclickcare business surface.

Run with Naftiko PointclickcareMedications

What You Can Do

GET
Getpatientmedications — Get patient medication orders
/v1/patients/{patientid}/medications
GET
Getpatientmar — Get medication administration records
/v1/patients/{patientid}/medications/mar

MCP Tools

get-patient-medication-orders

Get patient medication orders

read-only idempotent
get-medication-administration-records

Get medication administration records

read-only idempotent

Capability Spec

ehr-medications.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PointClickCare Long-Term Care EHR API — Medications
  description: 'PointClickCare Long-Term Care EHR API — Medications. 2 operations. Lead operation: Get patient medication
    orders. Self-contained Naftiko capability covering one Pointclickcare business surface.'
  tags:
  - Pointclickcare
  - Medications
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POINTCLICKCARE_API_KEY: POINTCLICKCARE_API_KEY
capability:
  consumes:
  - type: http
    namespace: ehr-medications
    baseUri: https://api.pointclickcare.com/v2
    description: PointClickCare Long-Term Care EHR API — Medications business capability. Self-contained, no shared references.
    resources:
    - name: patients-patientId-medications
      path: /patients/{patientId}/medications
      operations:
      - name: getpatientmedications
        method: GET
        description: Get patient medication orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Filter by order status
        - name: startDate
          in: query
          type: string
        - name: endDate
          in: query
          type: string
    - name: patients-patientId-medications-mar
      path: /patients/{patientId}/medications/mar
      operations:
      - name: getpatientmar
        method: GET
        description: Get medication administration records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: startDate
          in: query
          type: string
          required: true
        - name: endDate
          in: query
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.POINTCLICKCARE_API_KEY}}'
  exposes:
  - type: rest
    namespace: ehr-medications-rest
    port: 8080
    description: REST adapter for PointClickCare Long-Term Care EHR API — Medications. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/patients/{patientid}/medications
      name: patients-patientid-medications
      description: REST surface for patients-patientId-medications.
      operations:
      - method: GET
        name: getpatientmedications
        description: Get patient medication orders
        call: ehr-medications.getpatientmedications
        with:
          status: rest.status
          startDate: rest.startDate
          endDate: rest.endDate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/patients/{patientid}/medications/mar
      name: patients-patientid-medications-mar
      description: REST surface for patients-patientId-medications-mar.
      operations:
      - method: GET
        name: getpatientmar
        description: Get medication administration records
        call: ehr-medications.getpatientmar
        with:
          startDate: rest.startDate
          endDate: rest.endDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ehr-medications-mcp
    port: 9090
    transport: http
    description: MCP adapter for PointClickCare Long-Term Care EHR API — Medications. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-patient-medication-orders
      description: Get patient medication orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ehr-medications.getpatientmedications
      with:
        status: tools.status
        startDate: tools.startDate
        endDate: tools.endDate
      outputParameters:
      - type: object
        mapping: $.
    - name: get-medication-administration-records
      description: Get medication administration records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ehr-medications.getpatientmar
      with:
        startDate: tools.startDate
        endDate: tools.endDate
      outputParameters:
      - type: object
        mapping: $.