Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2311

Add patient.person_id attribute to data model

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Design
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Model
    • Labels:
    • Complexity:
      Medium

      Description

      We need to evolve toward breaking the assumption that patient_id == person_id. Initially, we can add patient.person_id as a copy of patient.patient_id and the API can auto-populate person_id for new patients. In parallel, implementing TRUNK-2310 and encouraging developers to use Patient.getPerson() will ease the transition. Ultimately, patient creation will no longer enforce that patient_id == person_id.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                burke Burke Mamlin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated: