Uploaded image for project: 'ID Generation'
  1. ID Generation
  2. IDGEN-40

getAutogenerationOptions(PatientIdentifierType, Location) should return options with Location = null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      As part of IDGEN-36, we added the ability to specify different identifier sources for the same patient identifier based on the location.

      The paper record module has started to use this new functionality, and when generating a patient identifier, passes in a both the patient identifier type and the location.

      However, for backwards compatibility, for implementations that don't choose to specify a location as part of an auto generation option, a call to getAutogenerationOptions(PatientIdentifierType, Location) should return a AutoGenerationOption if it matches the PatientIdentifier but has Location = null. (We can still keep the uniqueResult restriction, and throw an exception if this isn't for some reason).

        Attachments

          Activity

            People

            • Assignee:
              mogoodrich Mark Goodrich
              Reporter:
              mogoodrich Mark Goodrich
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: