[misc] Use default values for the CreatePatientRecord script
[misc] Check the CSRF token before attemting to create a new patient record
[cleanup] Use newer/better APIs
Issue #465: Allow to specify some patient data when creating a new patient
Done.
Issue #466: New service: opening a patient's record by internal/external identifier
Done.