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

Copy patient specific attributes on Patient() constructor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Won't Fix
    • Affects Version/s: Core 2.1.0
    • Fix Version/s: Core 2.1.0
    • Component/s: Data Model
    • Labels:
    • Complexity:
      Low

      Description

      Issues from TODOs

      Lines 43-52 of Patient.java contain the following comment:

      /**

      • This constructor creates a new Patient object from the given {@link Person}

        object. All

      • attributes are copied over to the new object. NOTE! All child collection objects are copied
      • as pointers, each individual element is not copied. <br>
      • <br>
      • TODO Should the patient specific attributes be copied? (like identifiers)
      • @param person the person object to copy onto a new Patient
      • @see Person#Person(Person)
        */

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darius Darius Jazayeri
                Reporter:
                mitchellbot James Mitchell [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h