Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sandbox/ModelFork/DevEntity/PatientModel: Difference between revisions

From OHC Network Wiki
Content deleted Content added
Automated edit (via update-page on MediaWiki MCP Server)
Automated edit (via update-page on MediaWiki MCP Server)
 
Line 1: Line 1:
{{Doc header
{{Doc header
|type=guide
|type=guide
|domain=platform
|title=DevEntity PatientModel
|title=DevEntity PatientModel
|order=999
|order=999

Latest revision as of 10:50, 6 July 2026

guideCARE 2.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