DoseSpot Prescriptions API

Prescription creation, transmission, status, and medication history.

Operations 28

GET /patients/{patientId}/prescriptions List a patient's prescriptions #
POST /patients/{patientId}/prescriptions Create a prescription #
GET /patients/{patientId}/prescriptions/{prescriptionId} Get a prescription #
GET /patients/{patientId}/medicationHistory Get aggregated medication history #
GET /api/patients/{patientId}/prescriptions/{prescriptionId} Get Prescriptions #
GET /api/patients/{patientId}/prescriptions/{prescriptionId}/log Get Prescription Logs #
GET /api/patients/{patientId}/prescriptions/{prescriptionId}/snapshot Get Precription snapshot #
GET /api/patients/{patientId}/prescriptions/{prescriptionId}/epcsSuggestions Get EPCS Suggested Prescription Schedule #
GET /api/patients/{patientId}/prescriptions Get patient's prescriptions #
DELETE /api/patients/{patientId}/prescriptions Delete Prescriptions #
PUT /api/patients/{patientId}/prescriptions/coded/{prescriptionId} Edit Coded Prescription #
PUT /api/patients/{patientId}/prescriptions/supply/{prescriptionId} Edit Coded Supply Prescription #
PUT /api/patients/{patientId}/prescriptions/supply/freetext/{prescriptionId} Edit Free Text supply Prescription #
PUT /api/patients/{patientId}/prescriptions/compiledcompound/{prescriptionId} Edit Compiled Compound #
POST /api/patients/{patientId}/prescriptions/send Send Prescriptions #
POST /api/patients/{patientId}/prescriptions/coded Add Coded Prescription #
POST /api/patients/{patientId}/prescriptions/supply Add Coded Supply Prescription #
POST /api/patients/{patientId}/prescriptions/sendEpcs Send EPCS Prescriptions #
POST /api/patients/{patientId}/prescriptions/setPrinted Set Prescriptions Printed #
POST /api/patients/{patientId}/prescriptions/readyToSign Set Prescriptions Ready To Sign #
POST /api/patients/{patientId}/prescriptions/sendToAddress Send Prescriptions With Address #
POST /api/patients/{patientId}/prescriptions/supply/freetext Add Free Text Supply Prescription #
POST /api/patients/{patientId}/prescriptions/compiledcompound Add Compiled Compound #
POST /api/patients/{patientId}/prescriptions/{prescriptionId}/copy Copy Prescription For Patient #
POST /api/patients/{patientId}/prescriptions/{prescriptionId}/cancel Cancel Prescription #
POST /api/patients/{patientId}/prescriptions/{prescriptionId}/ignoreError Ignore Error For Prescription #
POST /api/patients/{patientId}/prescriptions/{prescriptionId}/medicationStatus Update Prescription's medication Status #
PATCH /api/patients/{patientId}/prescriptions/{prescriptionId}/pharmacy Change Prescription Pharmacy #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/dosespot-prescriptions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dosespot-prescriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dosespot Prescriptions API
  version: '1.0'
  description: 'Operations tagged Prescriptions across 3 of this provider''s published API definitions: dosespot-openapi.yml, dosespot-rest-api-full-epcs-v2-swagger.json, dosespot-rest-api-jumpstart-epcs-v2-swagger.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://my.dosespot.com/webapi/v2
  description: Production
- url: https://my.staging.dosespot.com/webapi/v2
  description: Staging
- url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
- url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/JumpStart_EPCSV2
tags:
- name: Prescriptions
  description: Prescription creation, transmission, status, and medication history.
paths:
  /patients/{patientId}/prescriptions:
    get:
      operationId: getPatientPrescriptions
      tags:
      - Prescriptions
      summary: List a patient's prescriptions
      description: Retrieve prescriptions and their statuses for a patient.
      parameters:
      - name: patientId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: A list of prescriptions for the patient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrescriptionListResult'
      security:
      - bearerAuth: []
        subscriptionKey: []
    post:
      operationId: createPatientPrescription
      tags:
      - Prescriptions
      summary: Create a prescription
      description: Create a new prescription for a patient, ready to be sent to a pharmacy.
      parameters:
      - name: patientId
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Prescription'
      responses:
        '200':
          description: The created prescription.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrescriptionResult'
      security:
      - bearerAuth: []
        subscriptionKey: []
    servers:
    - url: https://my.dosespot.com/webapi/v2
      description: Production
    - url: https://my.staging.dosespot.com/webapi/v2
      description: Staging
  /patients/{patientId}/prescriptions/{prescriptionId}:
    get:
      operationId: getPatientPrescription
      tags:
      - Prescriptions
      summary: Get a prescription
      description: Retrieve a single prescription and its current status.
      parameters:
      - name: patientId
        in: path
        required: true
        schema:
          type: integer
      - name: prescriptionId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: The requested prescription.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrescriptionResult'
      security:
      - bearerAuth: []
        subscriptionKey: []
    servers:
    - url: https://my.dosespot.com/webapi/v2
      description: Production
    - url: https://my.staging.dosespot.com/webapi/v2
      description: Staging
  /patients/{patientId}/medicationHistory:
    get:
      operationId: getMedicationHistory
      tags:
      - Prescriptions
      summary: Get aggregated medication history
      description: Retrieve aggregated medication history data for a patient from pharmacy and payer sources.
      parameters:
      - name: patientId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: The patient's medication history.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedicationHistoryResult'
      security:
      - bearerAuth: []
        subscriptionKey: []
    servers:
    - url: https://my.dosespot.com/webapi/v2
      description: Production
    - url: https://my.staging.dosespot.com/webapi/v2
      description: Staging
  /api/patients/{patientId}/prescriptions/{prescriptionId}:
    get:
      tags:
      - Prescriptions
      summary: Get Prescriptions
      description: Retrieves details of a prescription in a patient record
      operationId: Prescriptions_GetPatientPrescriptionV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrescriptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PrescriptionResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PrescriptionResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/PrescriptionResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/PrescriptionResponse'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/{prescriptionId}/log:
    get:
      tags:
      - Prescriptions
      summary: Get Prescription Logs
      description: Retrieves the prescription log for an existing prescription in a patient record. This is the full history of the prescription.
      operationId: Prescriptions_GetPrescriptionLogDetailsV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse_PrescriptionLog'
            text/json:
              schema:
                $ref: '#/components/schemas/ListResponse_PrescriptionLog'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ListResponse_PrescriptionLog'
            application/xml:
              schema:
                $ref: '#/components/schemas/ListResponse_PrescriptionLog'
            text/xml:
              schema:
                $ref: '#/components/schemas/ListResponse_PrescriptionLog'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/{prescriptionId}/snapshot:
    get:
      tags:
      - Prescriptions
      summary: Get Precription snapshot
      description: Retrieves prescription snapshot
      operationId: Prescriptions_GetPrescriptionSnapshotV2
      parameters:
      - name: patientId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrescriptionSnapshotResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PrescriptionSnapshotResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PrescriptionSnapshotResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/PrescriptionSnapshotResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/PrescriptionSnapshotResponse'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/{prescriptionId}/epcsSuggestions:
    get:
      tags:
      - Prescriptions
      summary: Get EPCS Suggested Prescription Schedule
      description: Retrieves calculated/suggested jurisdiction, DEA number, and schedule
      operationId: Prescriptions_GetEPCSSuggestionsV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EpcsSuggestionsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/EpcsSuggestionsResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/EpcsSuggestionsResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/EpcsSuggestionsResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/EpcsSuggestionsResponse'
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions:
    get:
      tags:
      - Prescriptions
      summary: Get patient's prescriptions
      description: Retrieves details of prescriptions in a patient record
      operationId: Prescriptions_GetPatientPrescriptionsV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: endDate
        in: query
        description: End of date range (timestamp UTC)
        required: false
        schema:
          type: string
          format: date-time
      - name: startDate
        in: query
        description: Start of date range (timestamp UTC)
        required: false
        schema:
          type: string
          format: date-time
      - name: statusClass
        in: query
        description: Getting Prescription for Active/Inactive/Pending Medication
        required: false
        schema:
          type: string
          enum:
          - Active
          - Inactive
          - Pending
          maximum: 3
          minimum: 1
      - name: prescriptionStatus
        in: query
        description: The status of the prescription
        required: false
        schema:
          type: string
          enum:
          - Entered
          - Printed
          - Sending
          - eRxSent
          - FaxSent
          - Error
          - Deleted
          - Requested
          - Edited
          - EpcsError
          - EpcsSigned
          - ReadyToSign
          - PharmacyVerified
          - PharmacySelect
          - Retracted
          maximum: 14
          minimum: 1
      - name: pageNumber
        in: query
        description: The page number default to 1
        required: false
        schema:
          type: integer
          format: int32
      - name: sortColumn
        in: query
        description: Sort Column
        required: false
        schema:
          type: string
          enum:
          - DateWritten
          maximum: 0
          minimum: 0
      - name: sortOrder
        in: query
        description: Sort Order
        required: false
        schema:
          type: string
          enum:
          - Asc
          - Desc
          maximum: 1
          minimum: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedListResponse_Prescription'
            text/json:
              schema:
                $ref: '#/components/schemas/PagedListResponse_Prescription'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PagedListResponse_Prescription'
            application/xml:
              schema:
                $ref: '#/components/schemas/PagedListResponse_Prescription'
            text/xml:
              schema:
                $ref: '#/components/schemas/PagedListResponse_Prescription'
    delete:
      tags:
      - Prescriptions
      summary: Delete Prescriptions
      description: "Marks 1 or more prescriptions in a patientâ\x80\x99s record as deleted. Deleted prescriptions are not included in any interaction checks."
      operationId: Prescriptions_DeletePrescriptionsV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            application/problem+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrescriptionIdListRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/PrescriptionIdListRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/PrescriptionIdListRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/PrescriptionIdListRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/PrescriptionIdListRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PrescriptionIdListRequest'
        description: List of prescription IDs
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/coded/{prescriptionId}:
    put:
      tags:
      - Prescriptions
      summary: Edit Coded Prescription
      description: Edits an existing prescription for a specified patient
      operationId: Prescriptions_EditCodedPrescriptionV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
            text/json:
              schema:
                $ref: '#/components/schemas/Response'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Response'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response'
            text/xml:
              schema:
                $ref: '#/components/schemas/Response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
        description: Updated prescription data
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/supply/{prescriptionId}:
    put:
      tags:
      - Prescriptions
      summary: Edit Coded Supply Prescription
      description: Edits a prescription defined by Dosespot drug values to an existing patient record
      operationId: Prescriptions_EditCodedSupplyV2
      parameters:
      - name: patientId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
            text/json:
              schema:
                $ref: '#/components/schemas/Response'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Response'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response'
            text/xml:
              schema:
                $ref: '#/components/schemas/Response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/supply/freetext/{prescriptionId}:
    put:
      tags:
      - Prescriptions
      summary: Edit Free Text supply Prescription
      description: Edits an existing supply prescription for a specified patient
      operationId: Prescriptions_EditFreeTextSupplyPrescriptionV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
            text/json:
              schema:
                $ref: '#/components/schemas/Response'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Response'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response'
            text/xml:
              schema:
                $ref: '#/components/schemas/Response'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FreeTextSupplyPrescriptionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/FreeTextSupplyPrescriptionRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/FreeTextSupplyPrescriptionRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/FreeTextSupplyPrescriptionRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/FreeTextSupplyPrescriptionRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FreeTextSupplyPrescriptionRequest'
        description: Updated prescription data
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/compiledcompound/{prescriptionId}:
    put:
      tags:
      - Prescriptions
      summary: Edit Compiled Compound
      description: Edits an existing compound prescription for a specified patient
      operationId: Prescriptions_EditCompiledCompoundV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      - name: prescriptionId
        in: path
        description: Prescription ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompoundPrescriptionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CompoundPrescriptionRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/CompoundPrescriptionRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/CompoundPrescriptionRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/CompoundPrescriptionRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CompoundPrescriptionRequest'
        description: Updated prescription data
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/send:
    post:
      tags:
      - Prescriptions
      summary: Send Prescriptions
      description: Sends 1 or more non-epcs prescriptions to a previously designated pharmacy.\r\nThis endpoint is for clinicians with/without PINs.
      operationId: Prescriptions_SendPrescriptionsV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            application/problem+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendPrescriptionsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SendPrescriptionsRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/SendPrescriptionsRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/SendPrescriptionsRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/SendPrescriptionsRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SendPrescriptionsRequest'
        description: List of prescription IDs, with optional PIN
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/coded:
    post:
      tags:
      - Prescriptions
      summary: Add Coded Prescription
      description: Adds a prescription defined by DoseSpot drug values to an existing patient record
      operationId: Prescriptions_AddCodedPrescriptionV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CodedPrescriptionRequest'
        description: Prescription data
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/supply:
    post:
      tags:
      - Prescriptions
      summary: Add Coded Supply Prescription
      description: Adds a supply defined by DoseSpot drug values to an existing patient record
      operationId: Prescriptions_AddCodedSupplyV2
      parameters:
      - name: patientId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/IdentifierResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CodedSupplyRequest'
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/sendEpcs:
    post:
      tags:
      - Prescriptions
      summary: Send EPCS Prescriptions
      description: Sends 1 or more EPCS prescriptions and optionally 1 or more non-EPCS prescriptions to a previously designated pharmacy
      operationId: Prescriptions_SendEpcsPrescriptionsV2
      parameters:
      - name: patientId
        in: path
        description: Patient ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            application/problem+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentifierResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendEpcsPrescriptionsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SendEpcsPrescriptionsRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/SendEpcsPrescriptionsRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/SendEpcsPrescriptionsRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/SendEpcsPrescriptionsRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SendEpcsPrescriptionsRequest'
        description: List of prescription IDs with prescriber PIN / OTP
        required: true
    servers:
    - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
  /api/patients/{patientId}/prescriptions/setPrinted:
    post:
      tags:
 

# --- truncated at 32 KB (86 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/dosespot/refs/heads/main/openapi/dosespot-prescriptions-api-openapi.yml