To create a new patient please use the following API :
POST/v1/patients (Creates a new patient) available on Swagger.
Please note: The location ID in the model is the organization location that the patient is assigned to. You must setup these organization locations in your environment and you can retrieve the location ids by using the GET/vi1/organization/locations API.