Files
clinicpro/graphify-out/cache/ast/v0.8.44/c445fbf45f6eb65c5fd5c3f0704e1c972f0a9d9297a80d0dc879165fc57666c9.json
T
hamed c2c6ae4d02 feat(migrations): add national_code_verified flag to users and normalize bank_account representation
- Added a new column `national_code_verified` to the `users` table.
- Normalized the `bank_account` field in the `representations` table from a single object to an array of IBANs with a default `verified` status of false.

feat(ApiIrService): implement identity verification client for api.ir

- Created `ApiIrService` to handle identity verification via api.ir.
- Implemented methods for matching national code with mobile and IBAN with national code and birth date.
- Added error handling and logging for external API requests.
2026-06-25 19:38:47 +03:30

1 line
21 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientrecordrepository_php", "label": "PatientRecordRepository.php", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L1"}, {"id": "repository_patientrecordrepository_patientrecordrepository", "label": "PatientRecordRepository", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L10"}, {"id": "serviceentityrepository", "label": "ServiceEntityRepository", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "repository_patientrecordrepository_patientrecordrepository_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L12"}, {"id": "managerregistry", "label": "ManagerRegistry", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L12"}, {"id": "repository_patientrecordrepository_patientrecordrepository_findbyuuid", "label": ".findByUuid()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L17"}, {"id": "patientrecord", "label": "PatientRecord", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L17"}, {"id": "repository_patientrecordrepository_patientrecordrepository_findbyentityanduser", "label": ".findByEntityAndUser()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L22"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L22"}, {"id": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "label": ".findByEntity()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L31"}, {"id": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "label": ".countByEntity()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L51"}, {"id": "repository_patientrecordrepository_patientrecordrepository_countunique", "label": ".countUnique()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L69"}, {"id": "repository_patientrecordrepository_patientrecordrepository_save", "label": ".save()", "file_type": "code", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L85"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientrecordrepository_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientrecordrepository_php", "target": "patientrecord", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientrecordrepository_php", "target": "serviceentityrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientrecordrepository_php", "target": "managerregistry", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientrecordrepository_php", "target": "repository_patientrecordrepository_patientrecordrepository", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L10", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "serviceentityrepository", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L10", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L12", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository_construct", "target": "managerregistry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L12", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_findbyuuid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L17", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository_findbyuuid", "target": "patientrecord", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L17", "weight": 1.0, "context": "return_type"}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_findbyentityanduser", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L22", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository_findbyentityanduser", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L22", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientrecordrepository_patientrecordrepository_findbyentityanduser", "target": "patientrecord", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L22", "weight": 1.0, "context": "return_type"}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L31", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L51", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_countunique", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L69", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository", "target": "repository_patientrecordrepository_patientrecordrepository_save", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L85", "weight": 1.0}, {"source": "repository_patientrecordrepository_patientrecordrepository_save", "target": "patientrecord", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L85", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientrecordrepository_patientrecordrepository_construct", "target": "patientrecord", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "src/Patient/Repository/PatientRecordRepository.php", "source_location": "L14", "weight": 1.0}], "raw_calls": [{"caller_nid": "repository_patientrecordrepository_patientrecordrepository_construct", "callee": "parent", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L14", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyuuid", "callee": "findOneBy", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L19", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentityanduser", "callee": "findOneBy", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "setMaxResults", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "setFirstResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "orderBy", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "join", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L33", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L44", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L44", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "getResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L48", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_findbyentity", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L48", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "join", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "select", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L53", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L62", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L62", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "getSingleScalarResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L66", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countbyentity", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L66", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "getSingleScalarResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "join", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "select", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_countunique", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L71", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_save", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L87", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_save", "callee": "getEntityManager", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L87", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_save", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L88", "receiver": null}, {"caller_nid": "repository_patientrecordrepository_patientrecordrepository_save", "callee": "getEntityManager", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientRecordRepository.php", "source_location": "L88", "receiver": null}]}