# Register a Patient Create or update a patient based on the data sent. If a patient with matching NHS number and DOB exists for the practice group, it will be updated. Otherwise, a new patient record is created. Endpoint: POST /v1/patients/register Version: 1.0.0 Security: apiKeyAuth, practiceGroupId ## Response 200 fields (application/json): - `patient_id` (string, required) ## Response 400 fields (application/json): - `error` (boolean, required) - `statusCode` (number, required) - `message` (array, required) - `message.code` (string, required) - `message.expected` (string, required) - `message.path` (array, required) ## Response 401 fields ## Response 500 fields