Aller au contenu

← Tous les contrats

OHN-50 e-Prescribing and Dispensing

Version
1.3.0
OpenAPI
3.1.0
Source dans le dépôt
modules/OHN-50/api/openapi.yaml
Serveurs
https://opeshealthnetwork.com
Authentification
bearer: http bearer (JWT)

Télécharger le contrat (YAML)

Les contrats sont rédigés en anglais.

Bearer tokens issued by the platform gateway: ES256, iss ohn-platform-gateway, aud ohn-50; claims sub, role, jurisdiction, organization_id (uuids), purpose. The TypeScript baseline accepted HS256 tokens (iss ohn-50-erx, aud ohn-50-api) and had a synthetic POST .../auth/token route; the Java service has neither (see docs/program/java/ohn-50-contract-changes.md). Refusal order: 401 unauthenticated (no, invalid or expired token, unknown role, ids that are not uuids) -> 403 denied_by_policy (purpose not permitted for the role) -> 404 not_found (route outside the permission table) -> 403 denied_by_policy (role not listed on the route; a denied write is audited) -> rate limit 429 -> kill switch 503 not_configured -> idempotency. Every write needs an Idempotency-Key header (1-255 characters, not blank; 400 missing_idempotency_key; a different body under the same key is 409 idempotency_conflict; a replay answers the first response with Idempotent-Replay: true). Bodies are application/json up to 128 kB (415 unsupported_media_type, 413 payload_too_large, 400 malformed_json) and strict: an unknown field is refused 422. Errors use { error, message, details?, guard?, receipt?, setting?, dependency? }; validation errors are 422 domain_validation_failed with details = { field: [messages] }. Who may prescribe what (owner decision 2026-11-23, contract 1.2.0): create, sign and an amendment of medication_code ask OHN-06 for the prescriber's profession. A physiotherapist or other allied health professional (OHN-06 profession physiotherapist | allied_health) never prescribes: 403 profession_not_permitted_to_prescribe. A dentist prescribes only a medication_code on the jurisdiction's dental formulary (POST /admin/dental-formulary): 403 outside_dental_formulary otherwise. The formulary is empty by default, so a dentist prescribes nothing until the jurisdiction loads its list (fail closed). Each refusal is audited (decision refused, reason = the guard) and nothing is stored. The OHN-06 good-standing check at signing is unchanged. 503 not_configured / dependency_unavailable means nothing was recorded. Connected pharmacy systems (owner order 2026-11-29, contract 1.3.0, additive): role pharmacy_system, purpose dispensing, a platform service token from the external-token exchange (token_use service, client_id ohn-ext-..., organization_id = the pharmacy; any other token carrying the role is 401). It may read a prescription, look up by code, claim, release, dispense and record a FHIR MedicationDispense, nothing else. When it dispenses it names the accountable pharmacist (accountable_pharmacist_id), who must be registered and in good standing at that pharmacy in OHN-06 (422 pharmacist_not_in_good_standing). Dispensations carry recorded_via (staff | pharmacy_system), accountable_pharmacist_id, external_system / external_id (the MedicationDispense identifier) and handed_over_at. Prescriptions, their dispensations and medication-history items carry prescriber_display: the prescriber's registered name, resolved by OHN-50 from OHN-06 (null when it cannot be read; a label, never a decision).

Opérations

Autres opérations

GET/health/ohn-50Health: status, module, dependencies (OHN-03, 05, 06, 15, 23, 24, 30, 32, 59: live | unconfigured | test_fake), writes_enabled, export_signing_configured, auth_configured, synthetic_auth (always false on Java)

Réponses

CodeDescriptionType de média
200ok—
503database unavailable—
GET/api/ohn/v1/prescriptions/healthPublic liveness: status ok, service OHN-50, version 1.0.0

Réponses

CodeDescriptionType de média
200ok—
GET/api/ohn/v1/prescriptionsList in scope (prescriber own, patient own non-draft, admin jurisdiction)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
statequeryStatenon
patient_idquerystring (uuid)non
limitqueryintegernon
offsetqueryintegernon

Réponses

CodeDescriptionType de média
200{ data: Prescription[] }—
POST/api/ohn/v1/prescriptionsCreate draft (prescriber). Validates OHN-03 patient, OHN-23 code, OHN-05 nominated pharmacy; returns configured check warnings.

403 profession_not_permitted_to_prescribe (physiotherapist, allied_health) or outside_dental_formulary (dentist, code not on the jurisdiction's dental formulary; the formulary is empty by default).

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Draft created with warnings—
401Error
application/json: Error
403Error
application/json: Error
422Error
application/json: Error
503Error
application/json: Error
GET/api/ohn/v1/prescriptions/{id}Detail with timeline

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui

Réponses

CodeDescriptionType de média
200detail—
404Error
application/json: Error
POST/api/ohn/v1/prescriptions/{id}/signSign draft (OHN-06 standing; the checks run again; an override reason of at least 10 characters for every warning, including kind not_checked). With medication_safety_source ohn59, 503 not_configured (setting "OHN-59 active knowledge version") or 503 dependency_unavailable (dependency OHN-59) when OHN-59 has no active version or does not answer; nothing is signed. After a sign the outcome is reported to OHN-59 (best effort).

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête

Réponses

CodeDescriptionType de média
200Committed
403Error
application/json: Error
409Error
application/json: Error
422Error
application/json: Error
503Error
application/json: Error
POST/api/ohn/v1/prescriptions/{id}/amendAmend with reason (unclaimed, nothing dispensed)

changes may include frequency_code (a code, or null together with frequency text), frequency (text alone switches to free text and clears frequency_code and times_per_day) and times_per_day (compared only). Same 422 errors as create.

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête

Réponses

CodeDescriptionType de média
200Committed
409Error
application/json: Error
422Error
application/json: Error
POST/api/ohn/v1/prescriptions/{id}/cancelCancel with reason (prescriber own or erx_admin)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête

Réponses

CodeDescriptionType de média
200Committed
409Error
application/json: Error
GET/api/ohn/v1/prescriptions/frequency-codesStructured frequency vocabulary (code, times_per_day, label_en, label_fr, note); any OHN-50 role

Authentification: bearer

Réponses

CodeDescriptionType de média
200data: [{ code, times_per_day, label_en, label_fr, note }], free_text_allowed: true—
GET/api/ohn/v1/prescriptions/medication-history/{patientId}Medication-dispensed history (patient self; clinicians with OHN-15 consent when configured; 1.1.0: a pharmacist with an active OHN-32 patient-approved dispensing grant, see access_request_id)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
patientIdpathstring (uuid)oui
access_request_idquerystring (uuid)nonOHN-32 patient-approved access request id (pharmacist only). OHN-50 verifies it with OHN-32 (POST /clinician/patient-access/requests/{id}/use as the caller) and serves the read only for an active grant, purpose dispensing, sections incl. medications, for this patient at this facility. Otherwise 403 patient_access_grant_{invalid|not_permitted|not_found|other_facility|not_active|disabled|out_of_scope|other_patient} (audited); OHN-32 unavailable: 503. Each served read is audited per record with reason patient:<id>;grant:<grant id>.

Réponses

CodeDescriptionType de média
200history—
403Error
application/json: Error
404Error
application/json: Error
GET/api/ohn/v1/prescriptions/admin/configSettings, rules, controlled codes, dental_formulary (codes a dentist may prescribe; empty by default), readiness and missing configuration

Authentification: bearer

Réponses

CodeDescriptionType de média
200config—
POST/api/ohn/v1/prescriptions/admin/settingsCreate (expected_version 0) or update jurisdiction settings. Optional medication_safety_source (local_rules | ohn59; omitted keeps the stored value, default local_rules)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200saved—
409Error
application/json: Error
POST/api/ohn/v1/prescriptions/admin/check-rulesUpsert configured check rule

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
201saved—
POST/api/ohn/v1/prescriptions/admin/controlled-codesUpsert/remove controlled medication code

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
201saved—
POST/api/ohn/v1/prescriptions/admin/dental-formularyLoad (active true, the default) or remove (active false) codes of the jurisdiction's dental formulary (erx_admin)

The medicines a dentist may prescribe in this jurisdiction. OHN ships the list empty and invents no clinical list: the jurisdiction loads the list its regulator approved (runbook "Dental formulary"). One transaction; duplicates in the request count once; one audit record per code (config.dental_formulary.add | config.dental_formulary.remove, reason = the code) and one for the request (config.dental_formulary).

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200{ dental_formulary: { active, requested, changed, total }, receipt }—
403Error
application/json: Error
422Error
application/json: Error
POST/api/ohn/v1/prescriptions/admin/expire-sweepExpire open prescriptions past valid_until

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200{ examined, expired, receipt }—
POST/api/ohn/v1/prescriptions/admin/outbox/relayRelay pending events to OHN-24

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200{ delivered, failed, pending_after, pending_total }—
GET/api/ohn/v1/prescriptions/reportsReport catalog

Authentification: bearer

Réponses

CodeDescriptionType de média
200catalog—
GET/api/ohn/v1/prescriptions/reports/{reportId}Run R001/R002/R003 (from

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
reportIdpath"OHN-50-R001" | "OHN-50-R002" | "OHN-50-R003"oui

Réponses

CodeDescriptionType de média
200report—
GET/api/ohn/v1/prescriptions/reports/{reportId}/exportSigned CSV (X-OHN50-Signature hmac-sha256=...)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
reportIdpathstringoui

Réponses

CodeDescriptionType de média
200CSV
text/csv
503Error
application/json: Error
GET/api/ohn/v1/dispensing/queuePharmacy queue (claimed by us

Authentification: bearer

Réponses

CodeDescriptionType de média
200{ data, counts }—
GET/api/ohn/v1/dispensing/lookupLookup by code or patient_id (OHN-15 consent). 1.1.0: patient_id + access_request_id = the patient's open prescriptions under an active OHN-32 dispensing grant (answer adds access and per item dispensing { allowed, reason }; items not dispensable here are read-only and carry the medicine only)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
codequerystringnon
patient_idquerystring (uuid)non
access_request_idquerystring (uuid)nonOHN-32 patient-approved access request id (pharmacist only). OHN-50 verifies it with OHN-32 (POST /clinician/patient-access/requests/{id}/use as the caller) and serves the read only for an active grant, purpose dispensing, sections incl. medications, for this patient at this facility. Otherwise 403 patient_access_grant_{invalid|not_permitted|not_found|other_facility|not_active|disabled|out_of_scope|other_patient} (audited); OHN-32 unavailable: 503. Each served read is audited per record with reason patient:<id>;grant:<grant id>.

Réponses

CodeDescriptionType de média
200matches—
403Error
application/json: Error
404Error
application/json: Error
GET/api/ohn/v1/dispensing/historyDispensations by the caller's pharmacy

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
fromquerystring (date)non
toquerystring (date)non

Réponses

CodeDescriptionType de média
200history—
POST/api/ohn/v1/dispensing/{id}/claimClaim for the caller's pharmacy

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200Committed
403Error
application/json: Error
409Error
application/json: Error
POST/api/ohn/v1/dispensing/{id}/releaseRelease claim with reason

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200Committed
409Error
application/json: Error
POST/api/ohn/v1/dispensing/{id}/coverage-checkAdvisory OHN-30 coverage check

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Réponses

CodeDescriptionType de média
200{ coverage, receipt }—
503Error
application/json: Error
POST/api/ohn/v1/dispensing/{id}/dispenseDispense (pharmacist, or 1.3.0 a pharmacy_system naming accountable_pharmacist_id)

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstring (uuid)oui
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201{ prescription, dispensation, label, coverage, receipt, events }—
409Error
application/json: Error
422Error
application/json: Error
POST/api/ohn/v1/dispensing/fhir/MedicationDispense1.3.0: a connected pharmacy system records a dispensation (FHIR R4 MedicationDispense; pharmacy_system only)

Checked against the prescription (patient, product or declared substitution, unit), then recorded through the dispense action: the same dispensation row, history, audit record and events (medication.dispensed; prescription.completed when the last fill is done) as a pharmacist's. A prescription open to the pharmacy and not yet claimed is claimed first, and released again if the dispensation is refused. Idempotent on (pharmacy, identifier[0]): the same resource (the whole JSON body, compared key-sorted: sha256 of its canonical form, every element counts) again answers 200 with the stored one; any other body under the same identifier is 409 identifier_conflict. Refusals after the prescription is found are audited (action dx.fhir_dispense or dx.dispense). Errors use the Error shape, not OperationOutcome.

Authentification: bearer

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200A resend of the same resource: the stored MedicationDispense—
201The stored dispensation as a MedicationDispense (id = dispensation id)—
404Error
application/json: Error
409Error
application/json: Error
422Error
application/json: Error

Schémas

Error

NomTypeObligatoireDescription
errorstringoui
messagestringnon
detailsobjectnon
guardstringnon
settingstringnon
dependencystringnon
receiptReceiptnon
warningsarray of Warningnon

Receipt

NomTypeObligatoireDescription
receipt_idstring (uuid)non
committed_atstring (date-time)non
aggregate_idstring | nullnon
aggregate_typestringnon
versionintegernon
status"committed" | "denied" | "refused"non

EventRef

NomTypeObligatoireDescription
event_idstring (uuid)non
event_typestringnon
delivery"pending_downstream_confirmation"non

Warning

OHN-59 warnings have warning_id ohn59:<OHN-59 warning id>; items OHN-59 could not check have kind not_checked and warning_id ohn59-not-checked:<check>:<rule>:<medication>. Optional fields from OHN-59: check, management_en, management_fr, other_display, reason.

NomTypeObligatoireDescription
warning_idstringnon
rule_idstringnon
kindstringnonlocal rules: interaction | allergy | duplicate_therapy; OHN-59: its check (allergy, interaction, dose, pregnancy, breastfeeding, duplicate_therapy, lab_contraindication) or not_checked
severity"info" | "warning" | "serious" | "high" | "contraindicated"non
medication_codestringnon
other_codestringnon
message_enstringnon
message_frstringnon
checkstringnon
management_enstring | nullnon
management_frstring | nullnon
other_displaystring | nullnon
reasonstringnon

Override

NomTypeObligatoireDescription
warning_idstringoui
reasonstringoui

State

"draft" | "available" | "routed" | "claimed" | "partially_dispensed" | "completed" | "expired" | "cancelled"

Prescription

NomTypeObligatoireDescription
idstring (uuid)non
jurisdiction_idstring (uuid)non
prescriber_idstring (uuid)non
prescriber_orgstring (uuid)non
prescriber_displaystring | nullnon1.3.0: the prescriber's registered name (OHN-06), resolved by OHN-50; also on each dispensation and medication-history item
patient_idstring (uuid)non
pickup_codestringnon
stateStatenon
routing"any_pharmacy" | "nominated"non
nominated_pharmacy_idstring | null (uuid)non
claimed_by_pharmacy_idstring | null (uuid)non
medication_systemstringnon
medication_codestringnon
medication_displaystringnon
controlled_schedulestring | nullnon
dosestringnon
dose_unitstringnon
routestringnon
frequencystringnonHuman-readable direction: free text, or the English label of frequency_code
frequency_codeFrequencyCode | nullnonnull for free-text frequency
times_per_dayinteger | nullnonComputed by the server from frequency_code (every N hours = 24/N); null for free text, as_needed and once_weekly. Sent to OHN-59 as proposed[].frequency.times_per_day for the daily-dose check.
duration_daysintegernon
quantityintegernon
quantity_unitstringnon
repeats_allowedintegernon
fills_completedintegernon
current_fill_dispensedintegernon
total_fillsintegernon
remaining_in_fillintegernon
repeats_remainingintegernon
check_warningsarray of Warningnonomitted for patients
overridesarray of anynonomitted for patients
last_coverageobject | nullnon
last_checkCheckRecord | nullnonomitted for patients
safety_contextSafetyContextnonOptional context forwarded to OHN-59 (medication_safety_source ohn59) so fewer checks are not checked. Stored on the prescription; amendable.
valid_untilstring | null (date-time)non
signed_atstring | null (date-time)non
versionintegernon
controlledbooleannon
is_expiredbooleannon

CreatePrescription

Frequency: send frequency_code (structured; the server stores its English label as frequency and computes times_per_day) or frequency (free text; times_per_day stays null and OHN-59 reports the daily-dose check as not checked unless it can read the text). 422 errors: unknown_frequency_code; times_per_day_mismatch (client times_per_day differs from the code's value); times_per_day_without_code; frequency_conflict (text that is not the code's EN/FR label); domain_validation_failed (neither sent).

NomTypeObligatoireDescription
patient_idstring (uuid)oui
medication_codestringoui
dosestringoui
dose_unitstringoui
routestringoui
frequencystringnonFree text; required when frequency_code is absent or null
frequency_codeFrequencyCode | nullnon
times_per_daynumber | nullnonOptional; only compared with the value computed from frequency_code (never trusted)
duration_daysintegeroui
quantityintegeroui
quantity_unitstringoui
repeatsintegeroui
notesstringnon
routing"any_pharmacy" | "nominated"oui
nominated_pharmacy_idstring (uuid)nonrequired exactly when routing is nominated
known_allergy_codesarray of stringnon
safety_contextSafetyContextnonOptional context forwarded to OHN-59 (medication_safety_source ohn59) so fewer checks are not checked. Stored on the prescription; amendable.

FrequencyCode

Structured schedule (backend/modules/ohn-50/domain/frequency.ts). times_per_day: 1x_daily 1, 2x_daily 2, 3x_daily 3, 4x_daily 4, every_4h 6, every_6h 4, every_8h 3, every_12h 2, once 1 (single dose), as_needed null, once_weekly null (no daily averaging).

"1x_daily" | "2x_daily" | "3x_daily" | "4x_daily" | "every_4h" | "every_6h" | "every_8h" | "every_12h" | "once_weekly" | "as_needed" | "once"

SafetyContext

Optional context forwarded to OHN-59 (medication_safety_source ohn59) so fewer checks are not checked. Stored on the prescription; amendable.

NomTypeObligatoireDescription
weight_kgnumbernon
pregnancy_status"pregnant" | "not_pregnant" | "unknown"non
breastfeeding"yes" | "no" | "unknown"non

CheckRecord

Last medication safety check, kept on the prescription as last_check and returned as medication_safety by create, amend, sign and a refused sign.

NomTypeObligatoireDescription
source"local_rules" | "ohn59"oui
checked_atstring (date-time)oui
ruleset_versionstringouilocal: ohn50_settings.check_ruleset_version; ohn59: ohn59:v<knowledge version>
evaluation_idstring (uuid)nonOHN-59 evaluation (ohn59 only)
knowledgeobjectnonOHN-59 knowledge version: version_id, version, label, synthetic_demo, notice
completebooleannon
not_checkedintegernon

Dispense

NomTypeObligatoireDescription
expected_versionintegeroui
quantityintegeroui
identity_verificationDispense.identity_verificationoui
substitutionDispense.substitutionnon
counsel_notestringnon
accountable_pharmacist_idstring (uuid)non1.3.0: required when a pharmacy_system dispenses (the pharmacist accountable for the hand-over); refused for a pharmacist

MedicationDispense

1.3.0: FHIR R4 MedicationDispense from a connected pharmacy system. Read strictly (fail closed): status completed; identifier[0] {system (absolute URI), value} = the dispensation's id in the pharmacy system; authorizingPrescription = exactly one MedicationRequest/{prescription id}; subject = Patient/{the prescription's patient}; medicationCodeableConcept.coding with the prescription's medication_system (another code than prescribed needs substitution.wasSubstituted = true and substitution.reason[0].text, 10-2000); quantity.value (integer 1-100000) with the prescription's quantity_unit as unit; whenHandedOver (dateTime with zone, not in the future); performer with a Practitioner/{id} actor = the accountable pharmacist; extension https://opeshealthnetwork.com/fhir/StructureDefinition/ohn-identity-verification with sub-extensions method (valueCode, as identity_verification.method), pickupCode (valueString), birthDate (valueDate); at most one note (counsel note). Any modifierExtension or element OHN-50 does not know is 422 fhir_invalid.

NomTypeObligatoireDescription
resourceType"MedicationDispense"oui
status"completed"oui

post-api-ohn-v1-prescriptions-id-sign.request défini sur place

NomTypeObligatoireDescription
expected_versionintegeroui
overridesarray of Overridenon

post-api-ohn-v1-prescriptions-id-sign.response-200 défini sur place

NomTypeObligatoireDescription
prescriptionPrescriptionnon
receiptReceiptnon
eventsarray of EventRefnon

post-api-ohn-v1-prescriptions-id-amend.request défini sur place

NomTypeObligatoireDescription
expected_versionintegeroui
reasonstringoui
changesobjectoui
overridesarray of Overridenon

post-api-ohn-v1-prescriptions-id-amend.response-200 défini sur place

NomTypeObligatoireDescription
prescriptionPrescriptionnon
receiptReceiptnon
eventsarray of EventRefnon

post-api-ohn-v1-prescriptions-id-cancel.request défini sur place

NomTypeObligatoireDescription
expected_versionintegeroui
reasonstringoui

post-api-ohn-v1-prescriptions-id-cancel.response-200 défini sur place

NomTypeObligatoireDescription
prescriptionPrescriptionnon
receiptReceiptnon
eventsarray of EventRefnon

post-api-ohn-v1-prescriptions-admin-dental-formulary.request défini sur place

NomTypeObligatoireDescription
medication_codesarray of stringoui
activebooleannon

post-api-ohn-v1-dispensing-id-claim.response-200 défini sur place

NomTypeObligatoireDescription
prescriptionPrescriptionnon
receiptReceiptnon
eventsarray of EventRefnon

post-api-ohn-v1-dispensing-id-release.response-200 défini sur place

NomTypeObligatoireDescription
prescriptionPrescriptionnon
receiptReceiptnon
eventsarray of EventRefnon

Dispense.identity_verification défini sur place

NomTypeObligatoireDescription
method"photo_id" | "pickup_code_and_birth_date" | "known_to_pharmacy" | "representative_with_id"oui
pickup_codestringnon
birth_datestring (date)non

Dispense.substitution défini sur place

NomTypeObligatoireDescription
medication_codestringoui
reasonstringoui