Orion Health · Capability

Orion Health FHIR API — DiagnosticReport

Orion Health FHIR API — DiagnosticReport. 2 operations. Lead operation: Orion Health Search for diagnostic reports. Self-contained Naftiko capability covering one Orion business surface.

Run with Naftiko OrionDiagnosticReport

What You Can Do

GET
Searchdiagnosticreports — Orion Health Search for diagnostic reports
/v1/diagnosticreport
GET
Getdiagnosticreport — Orion Health Read a diagnostic report by ID
/v1/diagnosticreport/{id}

MCP Tools

orion-health-search-diagnostic-reports

Orion Health Search for diagnostic reports

read-only idempotent
orion-health-read-diagnostic-report

Orion Health Read a diagnostic report by ID

read-only idempotent

Capability Spec

fhir-diagnosticreport.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Orion Health FHIR API — DiagnosticReport
  description: 'Orion Health FHIR API — DiagnosticReport. 2 operations. Lead operation: Orion Health Search for diagnostic
    reports. Self-contained Naftiko capability covering one Orion business surface.'
  tags:
  - Orion
  - DiagnosticReport
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORION_API_KEY: ORION_API_KEY
capability:
  consumes:
  - type: http
    namespace: fhir-diagnosticreport
    baseUri: https://api.orionhealth.com/fhir
    description: Orion Health FHIR API — DiagnosticReport business capability. Self-contained, no shared references.
    resources:
    - name: DiagnosticReport
      path: /DiagnosticReport
      operations:
      - name: searchdiagnosticreports
        method: GET
        description: Orion Health Search for diagnostic reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: patient
          in: query
          type: string
          description: Reference to the patient
        - name: category
          in: query
          type: string
          description: Report category (e.g., LAB, RAD)
        - name: code
          in: query
          type: string
          description: LOINC code for the report
        - name: date
          in: query
          type: string
          description: Report date or date range
        - name: status
          in: query
          type: string
          description: Report status
    - name: DiagnosticReport-id
      path: /DiagnosticReport/{id}
      operations:
      - name: getdiagnosticreport
        method: GET
        description: Orion Health Read a diagnostic report by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ORION_API_KEY}}'
  exposes:
  - type: rest
    namespace: fhir-diagnosticreport-rest
    port: 8080
    description: REST adapter for Orion Health FHIR API — DiagnosticReport. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/diagnosticreport
      name: diagnosticreport
      description: REST surface for DiagnosticReport.
      operations:
      - method: GET
        name: searchdiagnosticreports
        description: Orion Health Search for diagnostic reports
        call: fhir-diagnosticreport.searchdiagnosticreports
        with:
          patient: rest.patient
          category: rest.category
          code: rest.code
          date: rest.date
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/diagnosticreport/{id}
      name: diagnosticreport-id
      description: REST surface for DiagnosticReport-id.
      operations:
      - method: GET
        name: getdiagnosticreport
        description: Orion Health Read a diagnostic report by ID
        call: fhir-diagnosticreport.getdiagnosticreport
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fhir-diagnosticreport-mcp
    port: 9090
    transport: http
    description: MCP adapter for Orion Health FHIR API — DiagnosticReport. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: orion-health-search-diagnostic-reports
      description: Orion Health Search for diagnostic reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fhir-diagnosticreport.searchdiagnosticreports
      with:
        patient: tools.patient
        category: tools.category
        code: tools.code
        date: tools.date
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: orion-health-read-diagnostic-report
      description: Orion Health Read a diagnostic report by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fhir-diagnosticreport.getdiagnosticreport
      outputParameters:
      - type: object
        mapping: $.