def __init__(self, Token, URL, get_all_field=False):
    '\n        Create a project using PyCap\n        :param Token:\n        :param URL:\n        :return:\n        '
    self.project = Project(URL, Token)
    fields_keyid = ['patientID', 'cf_p_cnnpatientui']
    self.data = self.get_fields(fields_keyid)
    if get_all_field:
        self.data = self.project.export_records()
Create a project using PyCap
:param Token:
:param URL:
:return:
def __init__(self, Token, URL, get_all_field=False):
    '\n        Create a project using PyCap\n        :param Token:\n        :param URL:\n        :return:\n        '
    self.project = Project(URL, Token)
    fields_keyid = ['patientID', 'cf_p_cnnpatientui']
    self.data = self.get_fields(fields_keyid)
    if get_all_field:
        self.data = self.project.export_records()