Nelly-Barret / BETTER-fairificator

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

Sample and Patient references #48

Closed Nelly-Barret closed 2 weeks ago

Nelly-Barret commented 2 weeks ago
[
  {
    _id: ObjectId('666b105bdb796b91f9750db1'),
    basedOn: { reference: 'Sample/20LD042587', type: 'Sample' },
    instantiate: { reference: { value: 'Examination/6' }, type: 'Examination' },
    recordedBy: { reference: { value: 'Hospital/1' }, type: 'Hospital' },
    subject: { reference: 'Patient/4.2165648176126e+18', type: 'Patient' },
    identifier: { value: 'ExaminationRecord/99' },
    insertedAt: '06/16/2024, 17:29:31',
    resourceType: 'ExaminationRecord',
    value: 374
  }
]

It seems that both the Sample and Patient references are a bit too simple: it should rather be a dict with a value (being the actual sample id). To be fixed.

Nelly-Barret commented 2 weeks ago

This has been fixed while ffixing #41