Varian Medical Systems · Capability

Varian ARIA FHIR API — Observation

Varian ARIA FHIR API — Observation. 2 operations. Lead operation: Search Observations. Self-contained Naftiko capability covering one Varian Medical Systems business surface.

Run with Naftiko Varian Medical SystemsObservation

What You Can Do

GET
Searchobservations — Search Observations
/v1/observation
GET
Getobservation — Get Observation
/v1/observation/{id}

MCP Tools

search-observations

Search Observations

read-only idempotent
get-observation

Get Observation

read-only idempotent

Capability Spec

varian-aria-fhir-observation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Varian ARIA FHIR API — Observation
  description: 'Varian ARIA FHIR API — Observation. 2 operations. Lead operation: Search Observations. Self-contained Naftiko
    capability covering one Varian Medical Systems business surface.'
  tags:
  - Varian Medical Systems
  - Observation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VARIAN_MEDICAL_SYSTEMS_API_KEY: VARIAN_MEDICAL_SYSTEMS_API_KEY
capability:
  consumes:
  - type: http
    namespace: varian-aria-fhir-observation
    baseUri: https://varian.dynamicfhir.com/fhir/varian/basepractice/r4
    description: Varian ARIA FHIR API — Observation business capability. Self-contained, no shared references.
    resources:
    - name: Observation
      path: /Observation
      operations:
      - name: searchobservations
        method: GET
        description: Search Observations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: patient
          in: query
          type: string
          description: Patient reference
          required: true
        - name: code
          in: query
          type: string
          description: Observation LOINC or SNOMED code
        - name: date
          in: query
          type: string
          description: Observation date
        - name: category
          in: query
          type: string
          description: Observation category (laboratory, vital-signs, etc.)
        - name: _count
          in: query
          type: integer
    - name: Observation-id
      path: /Observation/{id}
      operations:
      - name: getobservation
        method: GET
        description: Get Observation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.VARIAN_MEDICAL_SYSTEMS_API_KEY}}'
  exposes:
  - type: rest
    namespace: varian-aria-fhir-observation-rest
    port: 8080
    description: REST adapter for Varian ARIA FHIR API — Observation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/observation
      name: observation
      description: REST surface for Observation.
      operations:
      - method: GET
        name: searchobservations
        description: Search Observations
        call: varian-aria-fhir-observation.searchobservations
        with:
          patient: rest.patient
          code: rest.code
          date: rest.date
          category: rest.category
          _count: rest._count
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/observation/{id}
      name: observation-id
      description: REST surface for Observation-id.
      operations:
      - method: GET
        name: getobservation
        description: Get Observation
        call: varian-aria-fhir-observation.getobservation
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: varian-aria-fhir-observation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Varian ARIA FHIR API — Observation. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: search-observations
      description: Search Observations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: varian-aria-fhir-observation.searchobservations
      with:
        patient: tools.patient
        code: tools.code
        date: tools.date
        category: tools.category
        _count: tools._count
      outputParameters:
      - type: object
        mapping: $.
    - name: get-observation
      description: Get Observation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: varian-aria-fhir-observation.getobservation
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.