Custom Drug Management Endpoints
Create custom drug
Creates a user-level custom drug for a user in Parchment
POST
cURL
Creates a user-level custom drug for the given user (stored againstDocumentation Index
Fetch the complete documentation index at: https://docs.parchmenthealth.io/llms.txt
Use this file to discover all available pages before exploring further.
USER#{user_id}).
Integration Notes
- Scope Requirement: Your API token must include the
create:custom_drugscope. - Level: This endpoint always creates user-level drugs. Use the bulk endpoint to manage the organization-level catalog.
- Response: Returns the created drug, including its
custom_drug_id(use it to update/delete the drug or to prefill the prescription form). - Validation:
item_generic_name,item_strength,item_form,route_of_administration,quantity,poison_class, andmax_repeatsare required.
Example Request
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization secret for authentication - provided by Parchment
Body
application/json
Custom drug to create
Custom drug fields supplied by a partner when creating a drug.
Maximum string length:
280Maximum string length:
100Maximum string length:
50Maximum string length:
50String or number; coerced to string
String or number; coerced to string
Maximum string length:
2Maximum string length:
280Maximum string length:
100Maximum string length:
50Maximum string length:
280Maximum string length:
250Maximum string length:
50cURL

