Update Sample

Endpoint: /v1/lab-orders/samples/update

Method: PUT

POST Body

Param

Type

Description

ID

String

Required. Sample ID

LabOrderID

String

Required. Unique ID of the lab order.

AccountID

String

Required. Unique ID of the account (clinic).

EmbryoID

String

Optional. Unique ID of the embryo (e.g., "E12345").

TubeBarcode

String

Optional. Barcode on the tube for the sample (e.g., "TB123456").

SampleType

String

Optional. Type of cells removed for testing (e.g., "Blastomere", "Trophectoderm").

ContainerType

String

Optional. Type of container used (e.g., "Cryotube").

DayBiopsied

String

Required. Specifies the day post-fertilization when the biopsy was performed (e.g., "Day 5", "Day 6").

CellsBiopsied

Integer

Required. Number of cells removed during the biopsy (e.g., 5).

CellsVisualizedInTube

Boolean

Optional. Indicates if cells are visible in the tube (true/false).

EmbryoGrade

String

Optional. Reflects embryo quality based on criteria like inner cell mass and trophectoderm quality (e.g., "AA").

DateCollected

Date

Required. Date when the sample was collected (e.g., "2024-01-15").

Stage

String

Optional. Indicates the developmental stage of the embryo during the biopsy (e.g., "Blastocyst").

RebiopsyStatus

Boolean

Optional. Indicates if this is a rebiopsy (true/false).

BufferLotNumber

String

Optional. Tracks the medium used to store or transport biopsied samples (e.g., "Buffer Lot #123").

Comments

String

Optional. Includes any special observations or remarks (e.g., "Testing requested for both PGT-A and PGT-SR.").

Request Body (JSON)

Responses:

Param

Type

Description

message

String

Response message indicating the success of the operation.

Sample

Object

Contains details of the added sample.

Sample.ID

String

Unique identifier for the sample.

Sample.AccountID

String

Unique identifier for the associated account.

Sample.PatientID

String

Unique identifier for the associated patient.

Sample.LabOrderID

String

Unique identifier for the associated lab order.

Sample.EmbryoID

String

Unique identifier for the embryo associated with the sample.

Sample.TubeBarcode

String

Barcode of the tube containing the sample.

Sample.SampleType

String

Type of sample (e.g., Blastomere).

Sample.ContainerType

String

Type of container used for the sample (e.g., Cryotube).

Sample.DayBiopsied

String

Day on which the biopsy was performed (e.g., Day 5).

Sample.CellsBiopsied

Number

Number of cells biopsied from the sample.

Sample.CellsVisualizedInTube

Boolean

Indicates if cells were visualized in the tube.

Sample.EmbryoGrade

String

Grade assigned to the embryo (e.g., AA).

Sample.DateCollected

String (Date)

Date the sample was collected.

Sample.Stage

String

Development stage of the embryo (e.g., Blastocyst).

Sample.RebiopsyStatus

Boolean

Indicates if the sample was re-biopsied.

Sample.Comments

String

Additional comments about the sample.

Sample.IsDeleted

Boolean

Indicates if the sample is marked as deleted.

Sample.CreatedBy

String

ID of the user who created the sample record.

Sample.UpdatedBy

String

ID of the user who last updated the sample record.

Sample.CreatedAt

String (DateTime)

Timestamp when the sample record was created.

Sample.UpdatedAt

String (DateTime)

Timestamp when the sample record was last updated.

Success Response (200)

Last updated