DoseSpot · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for DoseSpot REST API - Plan: Full + EPCS - V2 Self Reported…

10 actions 10 updates phrasing extends openapi/dosespot-selfreportedmedications-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for DoseSpot's API. It is a proposal applied on top of the contract, not a document DoseSpot publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/api/patients/{patientId}/selfReportedMedications/{selfReportedMedicationId}'].get
$.paths['/api/patients/{patientId}/selfReportedMedications'].get
$.paths['/api/patients/{patientId}/selfReportedMedications/coded/{selfReportedMedicationId}'].put
$.paths['/api/patients/{patientId}/selfReportedMedications/simple/{selfReportedMedicationId}'].put
$.paths['/api/patients/{patientId}/selfReportedMedications/freetext/{selfReportedMedicationId}'].put
$.paths['/api/patients/{patientId}/selfReportedMedications/coded'].post
$.paths['/api/patients/{patientId}/selfReportedMedications/simple'].post
$.paths['/api/patients/{patientId}/selfReportedMedications/freetext'].post
$.paths['/api/patients/{patientId}/selfReportedMedications/{selfReportedMedicationId}/updateStatus'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: 'API Evangelist conversational phrasing for DoseSpot REST API - Plan: Full + EPCS - V2 Self Reported…'
  version: 1.0.0
extends: openapi/dosespot-selfreportedmedications-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/{selfReportedMedicationId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one self-reported medication
      effect: read
      questions:
      - How do I look up a single medication a patient reported?
      - Can I see the dosage and refills on one self-reported drug?
      instructions:
      - text: Get self-reported medication {med} for patient {patient}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
      - text: Show the details of medication {med} in patient {patient}'s record.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications'].get
  update:
    x-apievangelist-phrasing:
      intent: List a patient's self-reported medications
      effect: read
      questions:
      - What medications has a patient reported on their own?
      - Can I list self-reported drugs for a date range?
      instructions:
      - text: List self-reported medications for patient {patient}.
        slots:
          patient: path.patientId
      - text: Show self-reported drugs for patient {patient} between {start} and {end}.
        slots:
          patient: path.patientId
          start: query.startDate
          end: query.endDate
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/coded/{selfReportedMedicationId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a coded self-reported medication
      effect: write
      questions:
      - How do I change the dose of a medication I coded into a patient's record?
      - Can I update the refills on a coded self-reported drug?
      instructions:
      - text: Set medication {med} for patient {patient} to {dispense} with {refills} refills.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          dispense: requestBody.DispensableDrugId
          refills: requestBody.Refills
      - text: Change coded drug {med} in patient {patient}'s record to status {status}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          status: requestBody.Status
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/simple/{selfReportedMedicationId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a simple self-reported medication
      effect: write
      questions:
      - Can I edit a medication reported by a patient that has no drug code?
      - What do I change to update a simple self-reported drug?
      instructions:
      - text: Edit simple medication {med} for patient {patient} to {drug}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          drug: requestBody.RoutedDoseFormDrugId
      - text: Update simple drug {med} in patient {patient}'s record to status {status}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          status: requestBody.Status
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/freetext/{selfReportedMedicationId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit a free-text self-reported medication
      effect: write
      questions:
      - How do I correct a medication a patient typed in free text?
      - Can I change the written date on a free-text self-reported drug?
      instructions:
      - text: Edit free-text medication {med} for patient {patient} to read {name}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          name: requestBody.DisplayName
      - text: Set free-text drug {med} in patient {patient}'s record to status {status}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          status: requestBody.Status
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/coded'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a coded self-reported medication
      effect: write
      questions:
      - How do I add a medication a patient reported that has a drug code?
      - Can I record a patient's own medication with a dose form?
      instructions:
      - text: Add coded medication {drug} to patient {patient}'s record with {refills} refills.
        slots:
          drug: requestBody.DispensableDrugId
          patient: path.patientId
          refills: requestBody.Refills
      - text: Record patient {patient}'s self-reported drug {drug} as {status}.
        slots:
          patient: path.patientId
          drug: requestBody.DispensableDrugId
          status: requestBody.Status
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/simple'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a self-reported medication by drug form
      effect: write
      questions:
      - How do I record a medication a patient reported but wasn't prescribed?
      - Can I give a dose form medication a number of refills and days supply?
      instructions:
      - text: Add {drug} to patient {patient} as a self-reported medication with {refills} refills and {days} days supply.
        slots:
          drug: requestBody.RoutedDoseFormDrugId
          patient: path.patientId
          refills: requestBody.Refills
          days: requestBody.DaysSupply
      - text: Record self-reported medication {drug} for patient {patient} with dose form {form}, {refills} refills and {days} days.
        slots:
          drug: requestBody.RoutedDoseFormDrugId
          patient: path.patientId
          form: requestBody.DispenseUnitId
          refills: requestBody.Refills
          days: requestBody.DaysSupply
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/freetext'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a free-text self-reported medication
      effect: write
      questions:
      - Can a practitioner enter a drug name that doesn't have a dose form?
      - How do I add a patient's medication by typing its name?
      instructions:
      - text: Add the free-text medication {name} to patient {patient} as self-reported.
        slots:
          name: requestBody.DisplayName
          patient: path.patientId
      - text: Record {name} for patient {patient} as a self-reported medication with {directions}.
        slots:
          name: requestBody.DisplayName
          patient: path.patientId
          directions: requestBody.Directions
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/selfReportedMedications/{selfReportedMedicationId}/updateStatus'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a self-reported medication's status
      effect: write
      questions:
      - How do I mark a self-reported medication as inactive?
      - Can I add a comment when deactivating a patient-reported drug?
      instructions:
      - text: Set medication {med} for patient {patient} to {status}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          status: requestBody.Status
      - text: Deactivate self-reported drug {med} in patient {patient}'s record with comment {comment}.
        slots:
          med: path.selfReportedMedicationId
          patient: path.patientId
          comment: requestBody.Comment
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/dosespot-selfreportedmedications-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.