DoseSpot Clinic Favorites API

The ClinicFavorites API from DoseSpot — 7 operation(s) for clinicfavorites.

GitHub OpenAPI
Business capability
Computerised Provider Order Entry BC-2830.20

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/clinics/{clinicId}/prescriptionFavorites Search a clinic's prescription favorites · Search for clinic prescription favorites #
Ask an LLM
“Which medications, supplies or compounded drugs are on my clinic's prescription favorites list?”
“Can I search a clinic's favorites by name?”
Tell an agent
List prescription favorites for clinic {clinicId}.
Find favorites in clinic {clinicId} matching {searchName}.
PUT /api/clinics/{clinicId}/prescriptionFavorites/coded/{favoriteId} Edit a clinic's medication favorite · Edit Clinic Coded Medication Favorite Prescription #
Ask an LLM
“How do I change the refill or days supply on a clinic medication favorite?”
“Can I edit a coded drug favorite prescription?”
Tell an agent
Edit medication favorite {favoriteId} in clinic {clinicId} to {quantity} {dispenseUnitType} of drug {drugId}, {refills} refills, directions {directions}, title {title}.
Change the refills on clinic {clinicId} medication favorite {favoriteId} to {refills}.
PUT /api/clinics/{clinicId}/prescriptionFavorites/supply/{favoriteId} Edit a clinic's supply favorite · Edit Clinic Supply Favorite Prescription #
Ask an LLM
“How do I update a supply item on a clinic's favorites list?”
“Can I edit a supply favorite prescription?”
Tell an agent
Edit supply favorite {favoriteId} in clinic {clinicId} to {quantity} {dispenseUnitType} of supply {supplyId}, {refills} refills, directions {directions}, title {title}.
Change the quantity of supply favorite {favoriteId} in clinic {clinicId} to {quantity}.
PUT /api/clinics/{clinicId}/prescriptionFavorites/compiledcompound/{favoriteId} Edit a clinic's compounded drug favorite · Edit Clinic Favorite Compiled Compound Prescription #
Ask an LLM
“How do I change the ingredients or directions on a compounded drug favorite?”
“Can I edit a compound prescription favorite?”
Tell an agent
Edit compound favorite {favoriteId} in clinic {clinicId} to {quantity} {dispenseUnitType} of {description} with ingredients {ingredients}, {refills} refills, directions {directions}, title {title}.
Change the ingredients of compound favorite {favoriteId} in clinic {clinicId} to {ingredients}.
POST /api/clinics/{clinicId}/prescriptionFavorites/coded Add a medication favorite to a clinic · Add Clinic Coded Medication Favorite Prescription #
Ask an LLM
“How do I add a medication to my clinic's prescription favorites?”
“Can I set refills and days supply when adding a drug favorite?”
Tell an agent
Add medication favorite {title} to clinic {clinicId}: drug {drugId}, {quantity} {dispenseUnitType}, {refills} refills, directions {directions}.
Favorite drug {drugId} as {title} in clinic {clinicId} with {refills} refills.
POST /api/clinics/{clinicId}/prescriptionFavorites/supply Add a supply to a clinic's favorites · Add Clinic Supply Favorite Prescription #
Ask an LLM
“How do I add a supply item to my clinic's favorites?”
“Can I add a free-text supply favorite?”
Tell an agent
Add supply favorite {title} to clinic {clinicId}: supply {supplyId}, {quantity} {dispenseUnitType}, {refills} refills, directions {directions}.
Favorite free-text supply {freeText} as {title} in clinic {clinicId} with {refills} refills.
POST /api/clinics/{clinicId}/prescriptionFavorites/compiledcompound Add a compounded drug to a clinic's favorites · Add Clinic Compiled Compound Favorite Prescription #
Ask an LLM
“How do I add a compounded drug to my clinic's favorites?”
“Can I list the ingredients of a compound favorite?”
Tell an agent
Add compound favorite {title} to clinic {clinicId}: {description} with ingredients {ingredients}, {quantity} {dispenseUnitType}, {refills} refills, directions {directions}.
Favorite compound {description} with ingredients {ingredients} as {title} in clinic {clinicId} with {refills} refills.

Specifications

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:dosespot-clinicfavorites-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

dosespot-clinicfavorites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: Full_EPCSV2
  title: 'DoseSpot REST API - Plan: Full + EPCS - V2 Clinic Favorites…'
servers:
- url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2
tags:
- name: ClinicFavorites
paths:
  /api/clinics/{clinicId}/prescriptionFavorites:
    get:
      tags:
      - ClinicFavorites
      summary: Search for clinic prescription favorites
      description: Looks for at least 2 letter name with either all favorite types, Medication, Supply, or CompiledCompound favorite type
      operationId: ClinicFavorites_GetClinicPrescriptionFavoritesV2
      parameters:
      - name: clinicId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      - name: favoriteType
        in: query
        required: false
        schema:
          type: string
          enum:
          - All
          - Medication
          - Supply
          - CompiledCompound
          maximum: 3
          minimum: 0
      - name: pageNumber
        in: query
        required: false
        schema:
          type: integer
          format: int32
          maximum: 2147483645
          minimum: 1
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
          maximum: 100
          minimum: 1
      - name: searchName
        in: query
        required: false
        schema:
          type: string
          pattern: ^.{2,}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedListResponse_ClinicFavoritePrescriptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PagedListResponse_ClinicFavoritePrescriptionResponse'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PagedListResponse_ClinicFavoritePrescriptionResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/PagedListResponse_ClinicFavoritePrescriptionResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/PagedListResponse_ClinicFavoritePrescriptionResponse'
  /api/clinics/{clinicId}/prescriptionFavorites/coded/{favoriteId}:
    put:
      tags:
      - ClinicFavorites
      summary: Edit Clinic Coded Medication Favorite Prescription
      description: Edits a favorite prescription defined by DoseSpot drug values to an existing clinic
      operationId: ClinicFavorites_EditClinicCodedMedicationFavoriteV2
      parameters:
      - name: clinicId
        in: path
        description: clinic Id
        required: true
        schema:
          type: integer
          format: int32
      - name: favoriteId
        in: path
        description: Clinic Favorite 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/ClinicPrescriptionFavoriteMedicationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
        description: Favorite medication prescription data
        required: true
  /api/clinics/{clinicId}/prescriptionFavorites/supply/{favoriteId}:
    put:
      tags:
      - ClinicFavorites
      summary: Edit Clinic Supply Favorite Prescription
      description: Edits a favorite supply prescription defined by DoseSpot supply values to an existing clinic
      operationId: ClinicFavorites_EditClinicSupplyFavoriteV2
      parameters:
      - name: clinicId
        in: path
        description: clinic Id
        required: true
        schema:
          type: integer
          format: int32
      - name: favoriteId
        in: path
        description: Clinic Favorite 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/ClinicPrescriptionFavoriteSupplyRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
        description: Favorite supply prescription data
        required: true
  /api/clinics/{clinicId}/prescriptionFavorites/compiledcompound/{favoriteId}:
    put:
      tags:
      - ClinicFavorites
      summary: Edit Clinic Favorite Compiled Compound Prescription
      description: Edit a favorite compiled compound prescription defined by DoseSpot drug values to an existing clinic
      operationId: ClinicFavorites_EditClinicCompiledCompoundFavoriteV2
      parameters:
      - name: clinicId
        in: path
        description: clinic Id
        required: true
        schema:
          type: integer
          format: int32
      - name: favoriteId
        in: path
        description: Clinic Favorite 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/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
        description: Favorite medication prescription data
        required: true
  /api/clinics/{clinicId}/prescriptionFavorites/coded:
    post:
      tags:
      - ClinicFavorites
      summary: Add Clinic Coded Medication Favorite Prescription
      description: Adds a favorite prescription defined by DoseSpot drug values to an existing clinic
      operationId: ClinicFavorites_AddClinicCodedMedicationFavoriteV2
      parameters:
      - name: clinicId
        in: path
        description: clinic 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/ClinicPrescriptionFavoriteMedicationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteMedicationRequest'
        description: Favorite medication prescription data
        required: true
  /api/clinics/{clinicId}/prescriptionFavorites/supply:
    post:
      tags:
      - ClinicFavorites
      summary: Add Clinic Supply Favorite Prescription
      description: Adds a favorite supply prescription defined by DoseSpot supply values to an existing clinic
      operationId: ClinicFavorites_AddClinicSupplyFavoriteV2
      parameters:
      - name: clinicId
        in: path
        description: clinic 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/ClinicPrescriptionFavoriteSupplyRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteSupplyRequest'
        description: Favorite supply prescription data
        required: true
  /api/clinics/{clinicId}/prescriptionFavorites/compiledcompound:
    post:
      tags:
      - ClinicFavorites
      summary: Add Clinic Compiled Compound Favorite Prescription
      description: Adds a favorite compiled compound prescription defined by DoseSpot drug values to an existing clinic
      operationId: ClinicFavorites_AddClinicCompiledCompoundFavoriteV2
      parameters:
      - name: clinicId
        in: path
        description: clinic 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/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          application/problem+json:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          text/xml:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClinicPrescriptionFavoriteCompiledCompoundRequest'
        description: Favorite medication prescription data
        required: true
components:
  schemas:
    CompoundIngredient:
      type: object
      required:
      - Quantity
      properties:
        DispensableDrugId:
          type: integer
          format: int32
        FreeText:
          type: string
        DispenseUnitId:
          type: integer
          format: int32
        Quantity:
          type: string
        IsFreeTextEPCS:
          type: boolean
    ClinicFavoritePrescriptionResponse:
      type: object
      properties:
        ClinicFavoritePrescriptionId:
          type: integer
          format: int32
        DispenseUnitTypeId:
          type: integer
          format: int32
        FirstDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosis'
        SecondDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosis'
        MedDisplayName:
          type: string
        MedFullName:
          type: string
        MedStrengthString:
          type: string
        Directions:
          type: string
        Quantity:
          type: string
        DispensableDrugId:
          type: integer
          format: int32
        Refills:
          type: integer
          format: int32
        DaysSupply:
          type: integer
          format: int32
        NoSubstitutions:
          type: boolean
        Notes:
          type: string
        Title:
          type: string
        SpecialtyType:
          type: string
          enum:
          - AllergyAndImmunology
          - Dermatology
          - Dentistry
          - BehavioralHealth
          - FamilyMedicine
          - InternalMedicine
          - ObstetricsAndGynecology
          - Orthopedics
          - Pediatrics
          - PhysicalMedicine
          - Psychiatry
          - Urology
        DateAdded:
          type: string
          format: date-time
        DateLastUsed:
          type: string
          format: date-time
        IsSupply:
          type: boolean
        CompoundId:
          type: integer
          format: int32
        IsCompound:
          type: boolean
        SourceClinicId:
          type: integer
          format: int32
        SupplyId:
          type: integer
          format: int32
        CompoundIngredients:
          type: array
          items:
            $ref: '#/components/schemas/CompoundIngredient'
    Result:
      type: object
      required:
      - ResultCode
      properties:
        ResultCode:
          type: string
          description: The result code of the operation.
        ResultDescription:
          type: string
          description: A description of the result, if there were errors.
      description: Represents the result of a service operation.
    PagedListResponse_ClinicFavoritePrescriptionResponse:
      type: object
      properties:
        Items:
          type: array
          description: The list of elements to return.
          readOnly: true
          items:
            $ref: '#/components/schemas/ClinicFavoritePrescriptionResponse'
        PageResult:
          $ref: '#/components/schemas/PageResult'
        Result:
          description: The result of the operation.
          $ref: '#/components/schemas/Result'
    PrescriptionDiagnosisIds:
      type: object
      properties:
        PrimaryDiagnosisId:
          type: integer
          format: int32
        SecondaryDiagnosisId:
          type: integer
          format: int32
    Diagnosis:
      type: object
      properties:
        DiagnosisId:
          type: integer
          format: int32
        DiagnosisCode:
          type: string
        DiagnosisDescription:
          type: string
    PrescriptionDiagnosis:
      type: object
      properties:
        PrimaryDiagnosis:
          $ref: '#/components/schemas/Diagnosis'
        SecondaryDiagnosis:
          $ref: '#/components/schemas/Diagnosis'
    IdentifierResponse:
      type: object
      properties:
        Id:
          type: integer
          format: int32
          description: The entity identifier.
        Result:
          description: The result of the operation.
          $ref: '#/components/schemas/Result'
      description: Represents a generic response containing an entity identifier.
    ClinicPrescriptionFavoriteCompiledCompoundRequest:
      type: object
      required:
      - CompoundDescription
      - CompoundIngredients
      - Directions
      - DispenseUnitTypeId
      - Quantity
      - Refills
      - Title
      properties:
        CompoundDescription:
          type: string
        CompoundIngredients:
          type: array
          items:
            $ref: '#/components/schemas/CompoundIngredient'
        SpecialtyType:
          type: integer
          format: int32
        Refills:
          type: integer
          format: int32
          minimum: 0
          maximum: 99
        DaysSupply:
          type: integer
          format: int32
          minimum: 0
          maximum: 365
        DispenseUnitTypeId:
          type: integer
          format: int32
        Quantity:
          type: string
        NoSubstitutions:
          type: boolean
        Notes:
          type: string
          minLength: 0
          maxLength: 1000
        Directions:
          type: string
          minLength: 0
          maxLength: 1000
        Title:
          type: string
          minLength: 0
          maxLength: 500
        FirstPrescriptionDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosisIds'
        SecondPrescriptionDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosisIds'
    ClinicPrescriptionFavoriteMedicationRequest:
      type: object
      required:
      - Directions
      - DispensableDrugId
      - DispenseUnitTypeId
      - Quantity
      - Refills
      - Title
      properties:
        DispensableDrugId:
          type: integer
          format: int32
        SpecialtyType:
          type: integer
          format: int32
        Refills:
          type: integer
          format: int32
          minimum: 0
          maximum: 99
        DaysSupply:
          type: integer
          format: int32
          minimum: 0
          maximum: 365
        DispenseUnitTypeId:
          type: integer
          format: int32
        Quantity:
          type: string
        NoSubstitutions:
          type: boolean
        Notes:
          type: string
          minLength: 0
          maxLength: 1000
        Directions:
          type: string
          minLength: 0
          maxLength: 1000
        Title:
          type: string
          minLength: 0
          maxLength: 500
        FirstPrescriptionDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosisIds'
        SecondPrescriptionDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosisIds'
    Response:
      type: object
      properties:
        Result:
          description: The result of the operation.
          $ref: '#/components/schemas/Result'
      description: The result of the operation.
    ClinicPrescriptionFavoriteSupplyRequest:
      type: object
      required:
      - Directions
      - DispenseUnitTypeId
      - Quantity
      - Refills
      - Title
      properties:
        SupplyId:
          type: integer
          format: int32
        FreeText:
          type: string
        SpecialtyType:
          type: integer
          format: int32
        Refills:
          type: integer
          format: int32
          minimum: 0
          maximum: 99
        DaysSupply:
          type: integer
          format: int32
          minimum: 0
          maximum: 365
        DispenseUnitTypeId:
          type: integer
          format: int32
        Quantity:
          type: string
        NoSubstitutions:
          type: boolean
        Notes:
          type: string
          minLength: 0
          maxLength: 1000
        Directions:
          type: string
          minLength: 0
          maxLength: 1000
        Title:
          type: string
          minLength: 0
          maxLength: 500
        FirstPrescriptionDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosisIds'
        SecondPrescriptionDiagnosis:
          $ref: '#/components/schemas/PrescriptionDiagnosisIds'
    PageResult:
      type: object
      properties:
        CurrentPage:
          type: integer
          format: int32
        TotalPages:
          type: integer
          format: int32
        PageSize:
          type: integer
          format: int32
        TotalCount:
          type: integer
          format: int32
        HasPrevious:
          type: boolean
          readOnly: true
        HasNext:
          type: boolean
          readOnly: true