original_docstring: 
          makes appointment using flag as prename, filename
          returns appointment id
          
docstring: makes appointment using flag as prename, filename
  returns appointment id
docstring_tokens: makes appointment using flag as prename filename returns appointment id
code: def make_appointment(self, prename, lastname, filename, date, time, file, doctor, pin, extra='info'):
          """
          makes appointment using flag as prename, filename
          returns appointment id
          """
          data = {
              'prename': prename,
              'lastname': lastname,
              'date': date,
              'time': time,
              'doctor': doctor,
              'extra': extra,
              'pin': pin
          }
          files = {'id_image': (filename, file, 'application/octet-stream')}
  
          kwargs = {
              'data': data,
              'files': files,
              'allow_redirects': True
          }
          res = self.http_post('/make_appointment', **kwargs)
          if res.status_code != 200 or res.text.find('Could not make appointment') > 0:
              raise BrokenServiceException("could not make appointment")
  
          result = re.search('Successfully made appointment &lt;(.*)&gt', res.text)
          if result:
              return result.group(1)
          else:
              raise BrokenServiceException('could not get appointment id')
code_tokens: def make_appointment ( self , prename , lastname , filename , date , time , file , doctor , pin , extra = 'info' ) : data = { 'prename' : prename , 'lastname' : lastname , 'date' : date , 'time' : time , 'doctor' : doctor , 'extra' : extra , 'pin' : pin } files = { 'id_image' : ( filename , file , 'application/octet-stream' ) } kwargs = { 'data' : data , 'files' : files , 'allow_redirects' : True } res = self . http_post ( '/make_appointment' , ** kwargs ) if res . status_code != 200 or res . text . find ( 'Could not make appointment' ) > 0 : raise BrokenServiceException ( "could not make appointment" ) result = re . search ( 'Successfully made appointment &lt;(.*)&gt' , res . text ) if result : return result . group ( 1 ) else : raise BrokenServiceException ( 'could not get appointment id' )
short_docstring: makes appointment using flag as prename, filename
  returns appointment id
short_docstring_tokens: makes appointment using flag as prename filename returns appointment id
comment: """
          makes appointment using flag as prename, filename
          returns appointment id
          """