Nelly-Barret / BETTER-fairificator

The fairification tools for BETTER project.
https://www.better-health-project.eu/
0 stars 0 forks source link

Hospital id is 2 instead of 1 #52

Closed Nelly-Barret closed 2 weeks ago

Nelly-Barret commented 2 weeks ago

For instance:

{
    _id: ObjectId('666c4857cf94003d0a36de03'),
    subject: { reference: 'Patient/4.2165648176126e+18', type: 'Patient' },
    recordedBy: { reference: { value: 'Hospital/2' }, type: 'Hospital' },
    instantiate: { reference: { value: 'Examination/8' }, type: 'Examination' },
    basedOn: { reference: 'Sample/20LD042587', type: 'Sample' },
    identifier: { value: 'ExaminationRecord/101' },
    insertedAt: '06/22/2024, 15:40:39',
    resourceType: 'ExaminationRecord',
    value: 212
  }
Nelly-Barret commented 2 weeks ago

There was a discrepency between the initial value in the Counter class and the initial max value in the Transform. I have let only the default value in the Counter to avoid having the default value in different places.

Merged at https://github.com/Nelly-Barret/BETTER-fairificator/commit/d8f75cb071a64570c53d61eb7dc0778b313e9667