← 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
| Code | Description | Type de média |
|---|
200 | ok | — |
503 | database unavailable | — |
GET/api/ohn/v1/prescriptions/healthPublic liveness: status ok, service OHN-50, version 1.0.0
Réponses
| Code | Description | Type de média |
|---|
200 | ok | — |
GET/api/ohn/v1/prescriptionsList in scope (prescriber own, patient own non-draft, admin jurisdiction)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
state | query | State | non | |
patient_id | query | string (uuid) | non | |
limit | query | integer | non | |
offset | query | integer | non | |
Réponses
| Code | Description | Type 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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | Draft created with warnings | — |
401 | Error | |
403 | Error | |
422 | Error | |
503 | Error | |
GET/api/ohn/v1/prescriptions/{id}Detail with timeline
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | detail | — |
404 | 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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête
Réponses
| Code | Description | Type de média |
|---|
200 | Committed | |
403 | Error | |
409 | Error | |
422 | Error | |
503 | 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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête
Réponses
| Code | Description | Type de média |
|---|
200 | Committed | |
409 | Error | |
422 | Error | |
POST/api/ohn/v1/prescriptions/{id}/cancelCancel with reason (prescriber own or erx_admin)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête
Réponses
| Code | Description | Type de média |
|---|
200 | Committed | |
409 | 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
| Code | Description | Type de média |
|---|
200 | data: [{ 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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
patientId | path | string (uuid) | oui | |
access_request_id | query | string (uuid) | non | OHN-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
| Code | Description | Type de média |
|---|
200 | history | — |
403 | Error | |
404 | 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
| Code | Description | Type de média |
|---|
200 | config | — |
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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | saved | — |
409 | Error | |
POST/api/ohn/v1/prescriptions/admin/check-rulesUpsert configured check rule
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
201 | saved | — |
POST/api/ohn/v1/prescriptions/admin/controlled-codesUpsert/remove controlled medication code
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
201 | saved | — |
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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | { dental_formulary: { active, requested, changed, total }, receipt } | — |
403 | Error | |
422 | Error | |
POST/api/ohn/v1/prescriptions/admin/expire-sweepExpire open prescriptions past valid_until
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | { examined, expired, receipt } | — |
POST/api/ohn/v1/prescriptions/admin/outbox/relayRelay pending events to OHN-24
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | { delivered, failed, pending_after, pending_total } | — |
GET/api/ohn/v1/prescriptions/reportsReport catalog
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | catalog | — |
GET/api/ohn/v1/prescriptions/reports/{reportId}Run R001/R002/R003 (from
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | "OHN-50-R001" | "OHN-50-R002" | "OHN-50-R003" | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | report | — |
GET/api/ohn/v1/prescriptions/reports/{reportId}/exportSigned CSV (X-OHN50-Signature hmac-sha256=...)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | CSV | text/csv
|
503 | Error | |
GET/api/ohn/v1/dispensing/queuePharmacy queue (claimed by us
Authentification: bearer
Réponses
| Code | Description | Type 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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
code | query | string | non | |
patient_id | query | string (uuid) | non | |
access_request_id | query | string (uuid) | non | OHN-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
| Code | Description | Type de média |
|---|
200 | matches | — |
403 | Error | |
404 | Error | |
GET/api/ohn/v1/dispensing/historyDispensations by the caller's pharmacy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
from | query | string (date) | non | |
to | query | string (date) | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | history | — |
POST/api/ohn/v1/dispensing/{id}/claimClaim for the caller's pharmacy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Committed | |
403 | Error | |
409 | Error | |
POST/api/ohn/v1/dispensing/{id}/releaseRelease claim with reason
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Committed | |
409 | Error | |
POST/api/ohn/v1/dispensing/{id}/coverage-checkAdvisory OHN-30 coverage check
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | { coverage, receipt } | — |
503 | Error | |
POST/api/ohn/v1/dispensing/{id}/dispenseDispense (pharmacist, or 1.3.0 a pharmacy_system naming accountable_pharmacist_id)
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | { prescription, dispensation, label, coverage, receipt, events } | — |
409 | Error | |
422 | 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
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
200 | A resend of the same resource: the stored MedicationDispense | — |
201 | The stored dispensation as a MedicationDispense (id = dispensation id) | — |
404 | Error | |
409 | Error | |
422 | Error | |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | oui | |
message | string | non | |
details | object | non | |
guard | string | non | |
setting | string | non | |
dependency | string | non | |
receipt | Receipt | non | |
warnings | array of Warning | non | |
Receipt
| Nom | Type | Obligatoire | Description |
|---|
receipt_id | string (uuid) | non | |
committed_at | string (date-time) | non | |
aggregate_id | string | null | non | |
aggregate_type | string | non | |
version | integer | non | |
status | "committed" | "denied" | "refused" | non | |
EventRef
| Nom | Type | Obligatoire | Description |
|---|
event_id | string (uuid) | non | |
event_type | string | non | |
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.
| Nom | Type | Obligatoire | Description |
|---|
warning_id | string | non | |
rule_id | string | non | |
kind | string | non | local 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_code | string | non | |
other_code | string | non | |
message_en | string | non | |
message_fr | string | non | |
check | string | non | |
management_en | string | null | non | |
management_fr | string | null | non | |
other_display | string | null | non | |
reason | string | non | |
Override
| Nom | Type | Obligatoire | Description |
|---|
warning_id | string | oui | |
reason | string | oui | |
State
"draft" | "available" | "routed" | "claimed" | "partially_dispensed" | "completed" | "expired" | "cancelled"
Prescription
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
jurisdiction_id | string (uuid) | non | |
prescriber_id | string (uuid) | non | |
prescriber_org | string (uuid) | non | |
prescriber_display | string | null | non | 1.3.0: the prescriber's registered name (OHN-06), resolved by OHN-50; also on each dispensation and medication-history item |
patient_id | string (uuid) | non | |
pickup_code | string | non | |
state | State | non | |
routing | "any_pharmacy" | "nominated" | non | |
nominated_pharmacy_id | string | null (uuid) | non | |
claimed_by_pharmacy_id | string | null (uuid) | non | |
medication_system | string | non | |
medication_code | string | non | |
medication_display | string | non | |
controlled_schedule | string | null | non | |
dose | string | non | |
dose_unit | string | non | |
route | string | non | |
frequency | string | non | Human-readable direction: free text, or the English label of frequency_code |
frequency_code | FrequencyCode | null | non | null for free-text frequency |
times_per_day | integer | null | non | Computed 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_days | integer | non | |
quantity | integer | non | |
quantity_unit | string | non | |
repeats_allowed | integer | non | |
fills_completed | integer | non | |
current_fill_dispensed | integer | non | |
total_fills | integer | non | |
remaining_in_fill | integer | non | |
repeats_remaining | integer | non | |
check_warnings | array of Warning | non | omitted for patients |
overrides | array of any | non | omitted for patients |
last_coverage | object | null | non | |
last_check | CheckRecord | null | non | omitted for patients |
safety_context | SafetyContext | non | Optional context forwarded to OHN-59 (medication_safety_source ohn59) so fewer checks are not checked. Stored on the prescription; amendable. |
valid_until | string | null (date-time) | non | |
signed_at | string | null (date-time) | non | |
version | integer | non | |
controlled | boolean | non | |
is_expired | boolean | non | |
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).
| Nom | Type | Obligatoire | Description |
|---|
patient_id | string (uuid) | oui | |
medication_code | string | oui | |
dose | string | oui | |
dose_unit | string | oui | |
route | string | oui | |
frequency | string | non | Free text; required when frequency_code is absent or null |
frequency_code | FrequencyCode | null | non | |
times_per_day | number | null | non | Optional; only compared with the value computed from frequency_code (never trusted) |
duration_days | integer | oui | |
quantity | integer | oui | |
quantity_unit | string | oui | |
repeats | integer | oui | |
notes | string | non | |
routing | "any_pharmacy" | "nominated" | oui | |
nominated_pharmacy_id | string (uuid) | non | required exactly when routing is nominated |
known_allergy_codes | array of string | non | |
safety_context | SafetyContext | non | Optional 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.
| Nom | Type | Obligatoire | Description |
|---|
weight_kg | number | non | |
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.
| Nom | Type | Obligatoire | Description |
|---|
source | "local_rules" | "ohn59" | oui | |
checked_at | string (date-time) | oui | |
ruleset_version | string | oui | local: ohn50_settings.check_ruleset_version; ohn59: ohn59:v<knowledge version> |
evaluation_id | string (uuid) | non | OHN-59 evaluation (ohn59 only) |
knowledge | object | non | OHN-59 knowledge version: version_id, version, label, synthetic_demo, notice |
complete | boolean | non | |
not_checked | integer | non | |
Dispense
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
quantity | integer | oui | |
identity_verification | Dispense.identity_verification | oui | |
substitution | Dispense.substitution | non | |
counsel_note | string | non | |
accountable_pharmacist_id | string (uuid) | non | 1.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.
| Nom | Type | Obligatoire | Description |
|---|
resourceType | "MedicationDispense" | oui | |
status | "completed" | oui | |
post-api-ohn-v1-prescriptions-id-sign.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
overrides | array of Override | non | |
post-api-ohn-v1-prescriptions-id-sign.response-200 défini sur place
post-api-ohn-v1-prescriptions-id-amend.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
reason | string | oui | |
changes | object | oui | |
overrides | array of Override | non | |
post-api-ohn-v1-prescriptions-id-amend.response-200 défini sur place
post-api-ohn-v1-prescriptions-id-cancel.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
reason | string | oui | |
post-api-ohn-v1-prescriptions-id-cancel.response-200 défini sur place
post-api-ohn-v1-prescriptions-admin-dental-formulary.request défini sur place
| Nom | Type | Obligatoire | Description |
|---|
medication_codes | array of string | oui | |
active | boolean | non | |
post-api-ohn-v1-dispensing-id-claim.response-200 défini sur place
post-api-ohn-v1-dispensing-id-release.response-200 défini sur place
Dispense.identity_verification défini sur place
| Nom | Type | Obligatoire | Description |
|---|
method | "photo_id" | "pickup_code_and_birth_date" | "known_to_pharmacy" | "representative_with_id" | oui | |
pickup_code | string | non | |
birth_date | string (date) | non | |
Dispense.substitution défini sur place
| Nom | Type | Obligatoire | Description |
|---|
medication_code | string | oui | |
reason | string | oui | |