openapi: 3.2.0 info: title: Dosespot Clinician Order Sets API version: '1.0' description: 'Operations tagged ClinicianOrderSets across 2 of this provider''s published API definitions: 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://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: ClinicianOrderSets paths: /api/clinicians/ordersets/{orderSetId}/details: get: tags: - ClinicianOrderSets summary: Get an order set details operationId: ClinicianOrderSets_GetClinicianOrderSetDetailsV2 parameters: - name: orderSetId in: path description: The order set to update required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/OrderSetDetailsResponse' text/json: schema: $ref: '#/components/schemas/OrderSetDetailsResponse' application/problem+json: schema: $ref: '#/components/schemas/OrderSetDetailsResponse' application/xml: schema: $ref: '#/components/schemas/OrderSetDetailsResponse' text/xml: schema: $ref: '#/components/schemas/OrderSetDetailsResponse' servers: - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2 /api/clinicians/ordersets: get: tags: - ClinicianOrderSets summary: Get clinician Order Sets operationId: ClinicianOrderSets_GetClinicianOrderSetsV2 parameters: - name: pageNumber in: query description: Gets or sets the page number for the request.Default value will be 1. required: false schema: type: integer format: int32 - name: pageSize in: query description: Gets or sets the page size for the request. Default value will be 20. required: false schema: type: integer format: int32 - name: sortOrder in: query description: Gets or sets the sort order for the request. Value will be Asc or Desc. Default value will be Asc. required: false schema: type: string enum: - Asc - Desc - name: searchString in: query description: Gets or sets the search string for the request. required: false schema: type: string responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/PagedListResponse_OrderSetResponse' text/json: schema: $ref: '#/components/schemas/PagedListResponse_OrderSetResponse' application/problem+json: schema: $ref: '#/components/schemas/PagedListResponse_OrderSetResponse' application/xml: schema: $ref: '#/components/schemas/PagedListResponse_OrderSetResponse' text/xml: schema: $ref: '#/components/schemas/PagedListResponse_OrderSetResponse' post: tags: - ClinicianOrderSets summary: Add an Order Set operationId: ClinicianOrderSets_AddClinicianOrderSetV2 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/OrderSetRequest' text/json: schema: $ref: '#/components/schemas/OrderSetRequest' application/problem+json: schema: $ref: '#/components/schemas/OrderSetRequest' application/xml: schema: $ref: '#/components/schemas/OrderSetRequest' text/xml: schema: $ref: '#/components/schemas/OrderSetRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OrderSetRequest' description: Order Set data required: true servers: - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2 /api/clinicians/ordersets/{orderSetId}: put: tags: - ClinicianOrderSets summary: Update an Order Set operationId: ClinicianOrderSets_UpdateClinicianOrderSetV2 parameters: - name: orderSetId in: path description: The order set to update 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/OrderSetRequest' text/json: schema: $ref: '#/components/schemas/OrderSetRequest' application/problem+json: schema: $ref: '#/components/schemas/OrderSetRequest' application/xml: schema: $ref: '#/components/schemas/OrderSetRequest' text/xml: schema: $ref: '#/components/schemas/OrderSetRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/OrderSetRequest' description: Order Set data required: true delete: tags: - ClinicianOrderSets summary: Delete an order set operationId: ClinicianOrderSets_DeleteClinicianOrderSetV2 parameters: - name: orderSetId in: path description: The order set to delete 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' servers: - url: https://virtserver.swaggerhub.com/DoseSpot/dosespot-staging-rest-api-v2/Full_EPCSV2 components: schemas: 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. OrderSetFavorite: type: object required: - Directions - DispenseUnitTypeId - Quantity - Refills properties: DispensableDrugId: type: integer format: int32 SupplyId: type: integer format: int32 minimum: 1 maximum: 2147483647 FreeText: type: string minLength: 3 maxLength: 300 CompoundDescription: type: string minLength: 3 maxLength: 2000 CompoundIngredients: type: array items: $ref: '#/components/schemas/CompoundIngredient' FavoriteId: 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 minimum: 1 maximum: 2147483647 Quantity: type: string NoSubstitutions: type: boolean Notes: type: string Directions: type: string FirstPrescriptionDiagnosis: $ref: '#/components/schemas/PrescriptionDiagnosisIds' SecondPrescriptionDiagnosis: $ref: '#/components/schemas/PrescriptionDiagnosisIds' Diagnosis: type: object properties: DiagnosisId: type: integer format: int32 DiagnosisCode: type: string DiagnosisDescription: type: string 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. OrderSetRequest: type: object required: - Title properties: Title: type: string minLength: 3 maxLength: 500 Favorites: type: array items: $ref: '#/components/schemas/OrderSetFavorite' 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 ClinicianFavoritePrescriptionResponse: type: object properties: ClinicianFavoritePrescriptionID: type: integer format: int32 ClinicianID: 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' PrescriptionDiagnosisIds: type: object properties: PrimaryDiagnosisId: type: integer format: int32 SecondaryDiagnosisId: type: integer format: int32 OrderSetDetailsResponse: type: object properties: OrderSetId: type: integer format: int32 Title: type: string Favorites: type: array items: $ref: '#/components/schemas/ClinicianFavoritePrescriptionResponse' Result: description: The result of the operation. $ref: '#/components/schemas/Result' PrescriptionDiagnosis: type: object properties: PrimaryDiagnosis: $ref: '#/components/schemas/Diagnosis' SecondaryDiagnosis: $ref: '#/components/schemas/Diagnosis' OrderSetResponse: type: object properties: OrderSetId: type: integer format: int32 Title: type: string Favorites: type: array items: $ref: '#/components/schemas/ClinicianFavoritePrescriptionResponse' Response: type: object properties: Result: description: The result of the operation. $ref: '#/components/schemas/Result' description: The result of the operation. PagedListResponse_OrderSetResponse: type: object properties: Items: type: array description: The list of elements to return. readOnly: true items: $ref: '#/components/schemas/OrderSetResponse' PageResult: $ref: '#/components/schemas/PageResult' Result: description: The result of the operation. $ref: '#/components/schemas/Result' 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 x-refined-from: - dosespot-rest-api-full-epcs-v2-swagger.json - dosespot-rest-api-jumpstart-epcs-v2-swagger.json