ANC Pregnancy Create

API URL

{{url}}/spice-service/medical-review/anc-pregnancy/create

Method

POST

Description

Creation of ANC Pregnancy in Medical Review

Input:

Field Name

Type

Mandatory

Example

assessmentType

String

Yes

ANC_REVIEW

clinicalNotes

String

Yes

Clinical Notes for the medical review

encounter

String

Yes

Encounter details of the patient

latitude

Long

Yes

Location of the registration

longitude

Long

Yes

Location of the registration

memberId

Bigint

Yes

Household member ID

patientId

Bigint

Yes

Patient id

provenance

String

Yes

Provenance details of the organization

referred

Boolean

Yes

Patient referred status

visitNumber

Bigint

Yes

Visit Number of patient

pregnancyDetails

String

Yes

Pregnancy Details of Patient

bmi

Long

Yes

BMI of patient

estimatedDeliveryDate

Date

yes

Estimated Delivery Date

gestationalAge

Bigint

Yes

Gestational Age

height

Long

Yes

Height of patient

lastMenstrualPeriod

Date

Yes

LastMenstrual Period

provenance

String

Yes

Provenance details of the organization

weight

Long

Yes

Patient Weight

pregnancyHistory

String

Yes

Pregnancy History

Authorization (Header)

String

Yes

Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6

client

String

Yes

mob

Sample Input:

{ "assessmentType": "ANC_REVIEW", "clinicalNotes": "Chv", "encounter": { "endTime": "2025-01-20T17:39:30+05:30", "latitude": 13.0145986, "longitude": 80.2098964, "memberId": "800", "patientId": "1", "provenance": { "modifiedDate": "2025-01-20T12:09:30.344Z", "organizationId": "9", "spiceUserId": 11, "userId": "2" }, "referred": true, "startTime": "2025-01-20T17:39:30+05:30", "visitNumber": 1 }, "obstetricExaminationNotes": "", "obstetricExaminations": [], "pregnancyDetails": { "bmi": 148.76, "estimatedDeliveryDate": "2025-10-20", "gestationalAge": 1, "height": 55, "lastMenstrualPeriod": "2025-01-13", "provenance": { "modifiedDate": "2025-01-20T12:07:20.733Z", "organizationId": "9", "spiceUserId": 22, "userId": "2" }, "weight": 45 }, "pregnancyHistory": [], "presentingComplaints": [], "presentingComplaintsNotes": "" }

Output:

Field Name

Type

Comments

message

String

MedicalReview created successfully

patientReference

BigInt

Patinet reference id

encounterId

BigInt

Encounter Id

status

Boolean

Response status

Sample Output:

{
  "message": "MedicalReview created successfully.",
  "entity": {
    "patientReference": "802",
    "encounterId": "805"
  },
  "status": true,
  "entityList": null,
  "responseCode": 200,
  "totalCount": null
}