Health Facility Create

API URL

{{url}}/admin-service/organization/create-healthfacility

Method

POST

Description

Create health facility

Sample Input

Field Name

Type

Mandatory

Example

appTypes

String

Yes

COMMUNITY

name

String

Yes

Health facility Name

type

String

Yes

Community Health Post

phuFocalPersonName

String

Yes

Phu Focal Person Name

phuFocalPersonNumber

String

Yes

Phu Focal Person Number

address

String

Yes

Health facility address

chiefdom

String

Yes

List of chiefdom details

district

String

Yes

List of district details

cityName

String

Yes

City Name

latitude

Double

Yes

Location details

longitude

Double

Yes

longitude details

postalCode

Bigint

Yes

Postal Code of Health facility

countryId

Bigint

Yes

Country id

language

String

Yes

“English“

linkedVillages

String

Yes

List of linked Villages

parentTenantId

Bigint

Yes

ParentTenant Id

linkedSupervisorIds

String

Yes

Linked Supervisor Ids

linkedVillages

String

Yes

List of linked Villages

clinicalWorkflows

String

Yes

ClinicalWorkflows

customizedWorkflows

String

Yes

CustomizedWorkflows

User

String

Yes

User details

Authorization (Header)

String

Yes

Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6

client

String

Yes

web

{
  "appTypes": [
    "COMMUNITY"
  ],
  "name": "HH onw",
  "type": "Community Health Centre",
  "phuFocalPersonName": "HH person",
  "phuFocalPersonNumber": "9977887766",
  "address": "Guindy",
  "district": {},
  "chiefdom": {},
  "cityName": "alleppey",
  "latitude": "77",
  "longitude": "88",
  "postalCode": "776767677",
  "country": {
    "id": 1
  },
  "language": "English",
  "parentTenantId": 334,
  "linkedSupervisorIds": [],
  "linkedVillageIds": [
    128
  ],
  "customizedWorkflowIds": [],
  "clinicalWorkflowIds": [],
  "users": []
}

Sample Output

Field Name

Type

Comments

message

String

Health Facility Created Successfully.

status

String

Entity status

{
  "message": "Health Facility Created Successfully.",
  "entity": null,
  "status": true,
  "entityList": null,
  "responseCode": 201,
  "totalCount": null
}