meditech · Capability

Meditech Expanse FHIR R4 API — Observation

Meditech Expanse FHIR R4 API — Observation. 1 operations. Lead operation: Get patient observations (vital signs, lab results). Self-contained Naftiko capability covering one Meditech business surface.

Run with Naftiko MeditechObservation

What You Can Do

GET
Getpatientobservations — Get patient observations (vital signs, lab results)
/v1/patient/{id}/observation

MCP Tools

get-patient-observations-vital-signs

Get patient observations (vital signs, lab results)

read-only idempotent

Capability Spec

fhir-observation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Meditech Expanse FHIR R4 API — Observation
  description: 'Meditech Expanse FHIR R4 API — Observation. 1 operations. Lead operation: Get patient observations (vital
    signs, lab results). Self-contained Naftiko capability covering one Meditech business surface.'
  tags:
  - Meditech
  - Observation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEDITECH_API_KEY: MEDITECH_API_KEY
capability:
  consumes:
  - type: http
    namespace: fhir-observation
    baseUri: https://{facility}.meditech.com/fhir/r4
    description: Meditech Expanse FHIR R4 API — Observation business capability. Self-contained, no shared references.
    resources:
    - name: Patient-id-Observation
      path: /Patient/{id}/Observation
      operations:
      - name: getpatientobservations
        method: GET
        description: Get patient observations (vital signs, lab results)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: category
          in: query
          type: string
          description: Filter by category (vital-signs, laboratory, imaging, etc.)
        - name: code
          in: query
          type: string
          description: LOINC code filter
        - name: date
          in: query
          type: string
          description: Date range (e.g., date=ge2024-01-01&date=le2024-12-31)
        - name: _count
          in: query
          type: integer
    authentication:
      type: bearer
      token: '{{env.MEDITECH_API_KEY}}'
  exposes:
  - type: rest
    namespace: fhir-observation-rest
    port: 8080
    description: REST adapter for Meditech Expanse FHIR R4 API — Observation. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/patient/{id}/observation
      name: patient-id-observation
      description: REST surface for Patient-id-Observation.
      operations:
      - method: GET
        name: getpatientobservations
        description: Get patient observations (vital signs, lab results)
        call: fhir-observation.getpatientobservations
        with:
          id: rest.id
          category: rest.category
          code: rest.code
          date: rest.date
          _count: rest._count
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fhir-observation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Meditech Expanse FHIR R4 API — Observation. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-patient-observations-vital-signs
      description: Get patient observations (vital signs, lab results)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fhir-observation.getpatientobservations
      with:
        id: tools.id
        category: tools.category
        code: tools.code
        date: tools.date
        _count: tools._count
      outputParameters:
      - type: object
        mapping: $.