Register a Patient

Create a patient based on the data sent.

SecurityapiKeyAuth and practiceGroupId
Request
Request Body schema: application/json
required
One of:
ehr_partner_id
string
nhs_number
string non-empty
dob
required
string non-empty
first_name
required
string non-empty
last_name
required
string non-empty
sex
string
Enum: "Not known" "Not specified" "Male" "Female" "Other"
title
string
Enum: "Baron" "Baroness" "Brigadier" "Count" "Colonel" "Countess" "Captain" "Dame" "The Dowager Viscountess" "Dr" "Duchess" "Duke" "Earl" "His Excellency" "Father" "H.E. Ambassador Mr" "H.E. Mr" "H.E. Mrs" "Her Grace" "His Grace" "The Hon" "The Hon Mr" "The Hon Mrs" "HRH" "HRH Prince" "HRH Princess" "Insurance" "HM King" "Lady" "Lord" "Major" "Master" "Miss" "Mr" "Mrs" "Ms" "Mss" "Mx" "Pr" "Professor" "HM Queen" "Rabbi" "Reverend" "Sheikh" "Sheikha" "Sir" "The" "Viscount" "Viscountess"
landline
string
address_line_1
string
address_line_2
string
address_line_3
string
country
string
postcode
string
county
string
data_source
string
mobile
required
string non-empty
email
string
Responses
200

Ok

400

Validation error

401

Unauthorised

404

No patient found

500

Unknown error

post/v1/patients/register
Request samples
application/json
{
  • "ehr_partner_id": "string",
  • "nhs_number": "string",
  • "dob": "string",
  • "first_name": "string",
  • "last_name": "string",
  • "sex": "Not known",
  • "title": "Baron",
  • "landline": "string",
  • "address_line_1": "string",
  • "address_line_2": "string",
  • "address_line_3": "string",
  • "country": "string",
  • "postcode": "string",
  • "county": "string",
  • "data_source": "string",
  • "mobile": "string",
  • "email": "string"
}
Response samples
application/json
{
  • "patient_id": "string"
}