Medical Card Lookup
Looks up a New Mexico medical cannabis card and calculates the patient's remaining 90-day medical-unit allowance.
Authentication requires a signed JWT in the
Authorization: Bearer <token> header.Medical
GET
/v1/medical/{medicalCannabisCardId}/cardLookup
Look up a medical cannabis card
The endpoint accepts GET and POST. The card ID is always supplied as a path parameter.
Parameters
| Name | In | Description |
|---|---|---|
medicalCannabisCardIdrequired |
path string |
Medical cannabis patient or caregiver card identifier. |
Authorizationrequired |
header Bearer JWT |
API authorization token. |
Try it out
Request URL
—
Server response
Response model
All application responses use the envelope { status, message, data }. On success, data contains:
Property
Type
Description
firstName, lastNamestring | null
Patient name.
cardTypestring
Patient or Caregiver.expirationDatedate-time | null
Card expiration date.
submittedMedicalCannabisCardIdstring
Card ID submitted in the request.
patientMedicalIdentifierIdstring
Resolved patient medical identifier.
unitsLimitnumber
Configured 90-day unit limit.
unitsUsedLast90Daysnumber
Units used during the previous 90 days.
unitsRemainingnumber
Units still available.
applicationId, customerId, dobmixed
DOH patient identifiers and date of birth.
caregiverobject | null
Caregiver details when the submitted card belongs to a caregiver.
rawDOHResponseobject
Unmodified patient data returned by the DOH service.