Sandbox/ModelFork/DevEntity/PatientModel
From OHC Network Wiki
More languages
More actions
Older versions: Sandbox/ModelFork/DevEntity/PatientModel/1.0.0
ℹ️ Source of truth
This is the canonical Patient data model maintained by the development entity. It evolves rapidly. Downstream forks sync from this model on their own schedule.
The DevEntity PatientModel is the single source of truth for patient data. It is under active development — fields are added, modified, and removed as the model matures.
Ownership
- Entity: DevEntity
- Type: Development (upstream)
- Latest version: 2.0.0
- Status: Active
Fields (v2.0.0)
| Field | Type | Notes |
|---|---|---|
patient_id |
UUID |
Required — system identifier, auto-generated |
first_name |
String(100) |
Required — patient's given name |
last_name |
String(100) |
Required — patient's family name |
date_of_birth |
Date |
Required — ISO 8601 format (YYYY-MM-DD) |
phone |
String(20) |
Required (was optional in v1.0.0) |
email |
String(254) |
Optional |
address |
Text |
Optional — free-text address |
blood_type |
String(5) |
Optional — NEW in v2.0.0; A+, A-, B+, B-, AB+, AB-, O+, O- |
preferred_language |
String(50) |
Optional — NEW in v2.0.0; ISO 639-1 code |
Changes from v1.0.0
| Change | Detail |
|---|---|
| Removed | gender — deprecated, no longer tracked at model level
|
| Upgraded | phone → now required (was optional)
|
| Added | blood_type — for transfusion preparedness
|
| Added | preferred_language — for i18n in patient communications
|
Frozen snapshot
The previous version is preserved as a copy-on-write fork: Sandbox/ModelFork/DevEntity/PatientModel/1.0.0