Closed Nelly-Barret closed 1 week ago
Same applies for the Male/Female categorical value:
{
_id: ObjectId('66743d8f7e8b160f7618ceab'),
recordedBy: { reference: { value: 'Hospital/1' }, type: 'Hospital' },
instantiate: { reference: { value: 'Examination/73' }, type: 'Examination' },
basedOn: { reference: 'Sample/20LD811192', type: 'Sample' },
subject: { reference: 'Patient/6.73808832627831e+18', type: 'Patient' },
createdAt: ISODate('2024-06-20T16:32:47.000Z'),
identifier: { value: 'ExaminationRecord/568' },
resourceType: 'ExaminationRecord',
value: 'M'
}
The problem has been introdued since #73 : I accidentally gave self.metadata
instead of self.mapped_values
to the Transform class. PyCharm auto-correct... 🙄
I fixed it through https://github.com/Nelly-Barret/BETTER-fairificator/pull/78
Birth method is a categorical Examination, so its value should be a codeableconcept (the one for natural birth)