Primary care

Retrieve prescriptions visible to primary care

Requires GP scope. Returns GP-visible prescriptions in your team's world, in storage order, with medication details, status, version and provenance. Issue through POST /api/sites/gp/actions using draft_prescription and patientId. Review using review, then approve using accept; send resourceId and the latest expectedVersion with both actions. GP approval is limited to prescriptions originally drafted by GP. Approval changes reviewed to approved. Pharmacy retains ownership and dispensing permissions. Use the actions endpoint's prescription, prescriptionReview and prescriptionApproval examples.

get/api/sites/gp/prescriptions

Request

  • Base URL
    https://sim.animahealth.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or API key in cookie sim_session

Query parameters

patientstring
Example:SIM-000001

Exact synthetic patient ID; unknown patients return an empty page.

offsetinteger

Matching prescriptions to skip.

limitinteger

Maximum prescriptions in this page.

worldstring

Operator only: world to inspect or mutate. Team keys always use their own world.

Response

Success

totalinteger required
offsetinteger required
limitinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.