Creating a Sample for Patient in Senaite Health using JSONAPI

Hi,

I am trying to create a sample for a patient using the JSONAPI but I have not had any success with it. I am able to create the sample using the example provided in the JSONAPI documentation but unable to attach a patient to the sample create or even the analysis service to be provided.

I will be grateful for any advice how to achieve this.

Trying to do the same. Any luck with this?

senaite.health add-on is not supported since a long time ago, is not compatible with SENAITE LIMS 2.x. Install senaite.patient + senaite.diagnosis products for similar functionality.

Patient objects can be created via JSONAPI the same way as other content types. See CRUD — senaite.jsonapi 1.2.5 documentation

Related/duplicated: https://community.senaite.org/t/senaite-json-api-create-patient-with-api