# PNC Create

| **API URL**     | {{url}}/spice-service/medical-review/pnc/create |
| --------------- | ----------------------------------------------- |
| **Method**      | POST                                            |
| **Description** | Creation of PNC in medical review               |

#### **Input:** <a href="#pnccreate-v2-input" id="pnccreate-v2-input"></a>

| **Field Name**         | **Type** | **Mandatory** | **Example**                                                                                                                             |
| ---------------------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| pncMother              | String   | Yes           | PNC Mother details                                                                                                                      |
| patientStatus          | Boolean  | No            | Patient Status                                                                                                                          |
| isMotherAlive          | Boolean  | Yes           | Mother Alive                                                                                                                            |
| clinicalNotes          | String   | Yes           | Clinical Notes                                                                                                                          |
| encounter              | String   | Yes           | Encounter details of the patient                                                                                                        |
| referred               | Boolean  | Yes           | Patient referred status                                                                                                                 |
| patientId              | Bigint   | Yes           | Patient id                                                                                                                              |
| memberId               | Bigint   | Yes           | Household member ID                                                                                                                     |
| startTime              | Date     | Yes           | Start Time                                                                                                                              |
| endTime                | Date     | Yes           | End Time                                                                                                                                |
| provenance             | String   | Yes           | Provenance details of the organization                                                                                                  |
| latitude               | Long     | Yes           | Location of the registration                                                                                                            |
| longitude              | Long     | Yes           | Location of the registration                                                                                                            |
| visitNumber            | Bigint   | Yes           | Visit Number of patient                                                                                                                 |
| prescriptions          | String   | No            | Patient Prescriptions                                                                                                                   |
| Authorization (Header) | String   | Yes           | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
| client                 | String   | Yes           | mob                                                                                                                                     |

#### **Sample Input:** <a href="#pnccreate-v2-sampleinput" id="pnccreate-v2-sampleinput"></a>

{\
"pncChild": null,\
"pncMother": {\
"id": null,\
"visitNumber": 0,\
"patientReference": null,\
"patientStatus": null,\
"diagnosis": null,\
"isMotherAlive": false,\
"breastCondition": null,\
"breastConditionNotes": null,\
"involutionsOfTheUterus": null,\
"involutionsOfTheUterusNotes": null,\
"presentingComplaints": \[],\
"presentingComplaintsNotes": "",\
"systemicExaminations": \[],\
"systemicExaminationsNotes": "",\
"clinicalNotes": "",\
"encounter": {\
"id": null,\
"patientVisitId": null,\
"patientReference": null,\
"referred": true,\
"patientId": "1",\
"patientStatus": null,\
"memberId": "22",\
"startTime": "2025-01-20T12:22:28+00:00",\
"endTime": "2025-01-20T12:22:28+00:00",\
"householdId": null,\
"provenance": {\
"userId": "1",\
"spiceUserId": 22,\
"organizationId": "9",\
"modifiedDate": "2025-01-20T12:22:28+00:00"\
},\
"latitude": 13.01459,\
"longitude": 80.2099198,\
"visitNumber": 1,\
"visitId": null\
},\
"prescriptions": null,\
"summaryStatus": null,\
"investigations": null,\
"labourDTO": null,\
"neonateOutcome": null\
},\
"child": null\
}

#### **Output:** <a href="#pnccreate-v2-output" id="pnccreate-v2-output"></a>

| **Field Name**   | **Type** | **Comments**                       |
| ---------------- | -------- | ---------------------------------- |
| message          | String   | MedicalReview created successfully |
| patientReference | BigInt   | Patient reference id               |
| encounteriId     | BigInt   | Encounter ID                       |
| status           | Boolean  | Response status                    |

#### **Sample Output:** <a href="#pnccreate-v2-sampleoutput" id="pnccreate-v2-sampleoutput"></a>

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