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

Allow different auto-generation options for the same patent identifier but different locations

    Details

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

      Description

      Patient Identifiers have a "location" property. A implementation may want to specify a identifier source to use based on not just the patient identifier type, but also the location.

      As an example, say an implementation as two archives rooms, and a patient could have a dossier in one or both of the archives rooms. For each room we may want to have a (separate) sequential identifier source.

      To implementation this we want to:

      1) Add a "location" as a property of AutoGenerationOption
      2) Create a new getAutoGenerationOption(PatientIdentifierType, Location) that fetches an autogeneration option by both patient identifier type and location
      3) Create a new generateIdentifier(PatientIdentifierType,Location)
      4) Update the UI to allow the selection of a location when configuring an auto-generation option

      Note the location property of auto generation option should be optional. The existing functionality should continue to work--you shouldn't have to assign a location to an auto-generation option.

        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: