Orion Health · Capability

Orion Health Population Health API — Care Programs

Orion Health Population Health API — Care Programs. 4 operations. Lead operation: Orion Health List care programs. Self-contained Naftiko capability covering one Orion business surface.

Run with Naftiko OrionCare Programs

What You Can Do

GET
Listcareprograms — Orion Health List care programs
/v1/care-programs
GET
Getcareprogram — Orion Health Get care program details
/v1/care-programs/{programid}
GET
Listprogramenrollments — Orion Health List program enrollments
/v1/care-programs/{programid}/enrollments
POST
Enrollpatient — Orion Health Enroll a patient in a care program
/v1/care-programs/{programid}/enrollments

MCP Tools

orion-health-list-care-programs

Orion Health List care programs

read-only idempotent
orion-health-get-care-program

Orion Health Get care program details

read-only idempotent
orion-health-list-program-enrollments

Orion Health List program enrollments

read-only idempotent
orion-health-enroll-patient-care

Orion Health Enroll a patient in a care program

Capability Spec

population-health-care-programs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Orion Health Population Health API — Care Programs
  description: 'Orion Health Population Health API — Care Programs. 4 operations. Lead operation: Orion Health List care programs.
    Self-contained Naftiko capability covering one Orion business surface.'
  tags:
  - Orion
  - Care Programs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORION_API_KEY: ORION_API_KEY
capability:
  consumes:
  - type: http
    namespace: population-health-care-programs
    baseUri: https://api.orionhealth.com/population-health
    description: Orion Health Population Health API — Care Programs business capability. Self-contained, no shared references.
    resources:
    - name: care-programs
      path: /care-programs
      operations:
      - name: listcareprograms
        method: GET
        description: Orion Health List care programs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
        - name: type
          in: query
          type: string
          description: Program type
    - name: care-programs-programId
      path: /care-programs/{programId}
      operations:
      - name: getcareprogram
        method: GET
        description: Orion Health Get care program details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: programId
          in: path
          type: string
          required: true
    - name: care-programs-programId-enrollments
      path: /care-programs/{programId}/enrollments
      operations:
      - name: listprogramenrollments
        method: GET
        description: Orion Health List program enrollments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: programId
          in: path
          type: string
          required: true
        - name: status
          in: query
          type: string
      - name: enrollpatient
        method: POST
        description: Orion Health Enroll a patient in a care program
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: programId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ORION_API_KEY}}'
  exposes:
  - type: rest
    namespace: population-health-care-programs-rest
    port: 8080
    description: REST adapter for Orion Health Population Health API — Care Programs. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/care-programs
      name: care-programs
      description: REST surface for care-programs.
      operations:
      - method: GET
        name: listcareprograms
        description: Orion Health List care programs
        call: population-health-care-programs.listcareprograms
        with:
          status: rest.status
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/care-programs/{programid}
      name: care-programs-programid
      description: REST surface for care-programs-programId.
      operations:
      - method: GET
        name: getcareprogram
        description: Orion Health Get care program details
        call: population-health-care-programs.getcareprogram
        with:
          programId: rest.programId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/care-programs/{programid}/enrollments
      name: care-programs-programid-enrollments
      description: REST surface for care-programs-programId-enrollments.
      operations:
      - method: GET
        name: listprogramenrollments
        description: Orion Health List program enrollments
        call: population-health-care-programs.listprogramenrollments
        with:
          programId: rest.programId
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: enrollpatient
        description: Orion Health Enroll a patient in a care program
        call: population-health-care-programs.enrollpatient
        with:
          programId: rest.programId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: population-health-care-programs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Orion Health Population Health API — Care Programs. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: orion-health-list-care-programs
      description: Orion Health List care programs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: population-health-care-programs.listcareprograms
      with:
        status: tools.status
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: orion-health-get-care-program
      description: Orion Health Get care program details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: population-health-care-programs.getcareprogram
      with:
        programId: tools.programId
      outputParameters:
      - type: object
        mapping: $.
    - name: orion-health-list-program-enrollments
      description: Orion Health List program enrollments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: population-health-care-programs.listprogramenrollments
      with:
        programId: tools.programId
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: orion-health-enroll-patient-care
      description: Orion Health Enroll a patient in a care program
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: population-health-care-programs.enrollpatient
      with:
        programId: tools.programId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.