← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Tracker - Identification number

 

Hi,

No, that format is not supported out of the box.

With a custom report or a small app you could do it though, as all the
parts of that composite ID should be available through the Web-API.

Ola
------

----------------------------------
Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps
link<https://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norge&hl=en&ie=UTF8&sll=59.893855,10.785116&sspn=0.222842,0.585709&oq=eftas%C3%A5sen+68,+0687+Oslo,+&t=h&hnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norway&z=16>


On 19 May 2014 17:57, sumudu weerasinghe <sumuduw00@xxxxxxxxx> wrote:

> Thanks Emma and  Ola Hodne for your reply.
> Both answers well explained and satisfactory.
> I want to get printed out put of clinic number to apply on patient clinic
> books, that including org unit and program eg: "CP/GA/RA/PSY/2014/002" .
> Is there any way of getting printed out put in a this format ?
> Is it available in current version?
>
>
>
>
> On Mon, May 19, 2014 at 1:30 PM, Ola Hodne Titlestad <olati@xxxxxxxxxx>wrote:
>
>> Hi Sumudu,
>>
>> Thanks Emma for the response. Just to add a bit more detail on the
>> identifier issue.
>>
>> There is no way at the moment to automatically generate IDs on the format
>> you suggest.
>> What is possible, as Emma writes, is to define what we call "uniqueness
>> scope" for attributes.
>>
>> So in your case I would create an attribute "Clinic Number" (the last
>> part of your ID) with value type "Number", then tick "unique" and select in
>> "program within organisation unit".
>>
>> This means that the users only deal with the Clinic Number, but "in the
>> back-end" the system makes sure that there are no duplicate Clinic Numbers
>> for any combination of program+organisation unit.
>>
>> So when you search for Clinic Number you might get multiple hits/persons,
>> but not for the same organisation unit + program combination. You can then
>> narrow the search by searching in only one organisation unit and one
>> program, which will give you maximum 1 person for a full clinic number
>> search. A typical clinician at a local clinic will only have access to one
>> or a few programs and typically only one organisation unit, so the "search
>> scope" is by default same or similar to the uniqueness scope, which makes
>> it easier to quickly identify persons using the local Clinic Number (found
>> at the "patient/mother/child card or similar").
>>
>> We are planning to support period as part of this uniqueness scope as
>> well, but that is not supported yet in 2.15. That will allow you to support
>> the typical local practice of restarting the Clinic Number count in the
>> paper registers at the beginning of every year (or financial year), so that
>> duplicates will also be allowed for the same program+organisation unit as
>> long as they are in separate periods (e.g. years) of your selected period
>> type for uniqueness scope.
>>
>> On "tracked entity", if your programs are about persons then add a
>> tracked entity called "Person" and make sure to select that one when
>> creating a new program. That's all.
>>
>> Ola
>> -------
>>
>>
>> ----------------------------------
>> Ola Hodne Titlestad (Mr)
>> HISP
>> Department of Informatics
>> University of Oslo
>>
>> Mobile: +47 48069736
>> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link<https://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norge&hl=en&ie=UTF8&sll=59.893855,10.785116&sspn=0.222842,0.585709&oq=eftas%C3%A5sen+68,+0687+Oslo,+&t=h&hnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norway&z=16>
>>
>>
>> On 19 May 2014 09:11, Emma Kassy <ekassy29@xxxxxxxxx> wrote:
>>
>>>  Hi Sumudu,
>>>
>>> For version 2.15,
>>> There is a person Identifier, Go to  Program & Attributes select
>>> Attributes;
>>> You can make an ID unique by checking UNIQUE which will give you options
>>> like unique with in 1.whole system, 2. org unit, 3. program, or 4. program
>>> and orgunit. This means that you get to enter the clinic number on
>>> registration. (At some point IDs were automatically generated am not sure
>>> if that is still the case may be some one can provide more Information on
>>> this). Also it will be possible to see the orgunit and period as an output
>>> such as on Search Results.
>>>
>>> Tracked Entity: Helps to define the different objects that you would
>>> like to track with in your system (no longer limited to persons). This can
>>> be Persons for TB, HIV and ANC programs or ITEMS if one is interested in
>>> tracking drugs or any other Logistic Items.
>>>
>>> I hope this helps....
>>>
>>>
>>> On Sun, May 18, 2014 at 4:01 PM, sumudu weerasinghe <sumuduw00@xxxxxxxxx
>>> > wrote:
>>>
>>>> Dear All,
>>>> I want to create a psychiatric patient identification number as
>>>>
>>>>    - it should contain initial code indicating org unit , program, and
>>>>    year
>>>>    - number need to be generate by system without manual entering
>>>>
>>>>
>>>>
>>>>
>>>>    1. Is it possible in DHIS2 2.15  tracker ?
>>>>    2. Is there Person Identifier in New version 2.15?
>>>>    3. What is mean by "Tracked entity " in new version 2.15?
>>>>
>>>> Regards
>>>> Sumudu
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Thank you and Kind Regards
>>> *Immarcqulate. A (Emma Kassy) *
>>>
>>> *"You miss 100% of the shots you don't take."*
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

JPEG image


References