Pregnancy Create

API URL

{{url}}/spice-service/patient/pregnancy-details/create

Method

POST

Description

Patient Pregnancy details create

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Input

Field Name

Type

Mandatory

Example

diagnosis

String

Yes

Eclampsia

gravida

Integer

No

1

isOnTreatment

Boolean

No

Yes

parity

Integer

No

1

temperature

Integer

No

37

pregnancyFetusesNumber

Integer

No

2

lastMenstrualPeriodDate

Timestamp

No

2023-01-16T00:00:00+00:00

estimatedDeliveryDate

Timestamp

No

2023-03-13T00:00:00+00:00

Sample Input:

Request :

{

"diagnosis": [

"Eclampsia",

"Pre-Eclampsia",

"Gestational Diabetes"

],

"diagnosisTime": "2023-05-08T00:00:00+00:00",

"estimatedDeliveryDate": "2023-03-13T00:00:00+00:00",

"gravida": 2,

"isOnTreatment": true,

"lastMenstrualPeriodDate": "2023-01-16T00:00:00+00:00",

"parity": 2,

"patientTrackId": 25,

"pregnancyFetusesNumber": 3,

"temperature": 72,

"tenantId": 4,

"unitMeasurement": "metric"

}

Output

Field Name

Type

Comments

diagnosis

String

Confirm Diagnosis

estimatedDeliveryDate

String

Pregnancy Details

gravida

Number

Pregnancy Details

isOnTreatment

Boolean

Pregnancy Details

parity

Number

Pregnancy Details

lastMenstrualPeriodDate

String

Pregnancy Details

temperature

Number

Pregnancy Details

pregnancyFetusesNumber

Number

Pregnancy Details

Sample Output:

  {
  "message": "Patient Pregnancy details saved successfully.",
  "entity": {
    "id": 3,
    "diagnosis": [
      "Eclampsia",
      "Pre-Eclampsia",
      "Gestational Diabetes"
    ],
    "diagnosisTime": "2023-05-08T05:30:00+05:30",
    "estimatedDeliveryDate": "2023-03-13T05:30:00+05:30",
    "gravida": 2,
    "isOnTreatment": true,
    "lastMenstrualPeriodDate": "2023-01-16T05:30:00+05:30",
    "parity": 2,
    "patientTrackId": 25,
    "pregnancyFetusesNumber": 3,
    "temperature": 72,
    "tenantId": 4,
    "unitMeasurement": "metric",
    "patientPregnancyId": 25
  },
  "status": true,
  "entityList": null,
  "responseCode": 201,
  "totalCount": null
}

@2024 Medtronic LABS