Issue #461: Add a script service for accessing patient data
Implementation for creatPatient