- Created JSON files for the patient API documentation and its endpoints, including methods for managing patient records and sessions. - Added test cases for PatientRecordFields and PatientRecordTags, detailing their structure and relationships. - Included raw call data for method invocations within the test cases to enhance traceability and debugging.
1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_patient_patientrecordtagsapitest_php", "label": "PatientRecordTagsApiTest.php", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L1"}, {"id": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "label": "PatientRecordTagsApiTest", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L12"}, {"id": "apitestcase", "label": "ApiTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "label": ".doctor()", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L14"}, {"id": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "label": ".tag()", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L23"}, {"id": "tenanttag", "label": "TenantTag", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L23"}, {"id": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "label": ".testCreateAndUpdateWithRecordNumberAndTags()", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L31"}, {"id": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "label": ".testRejectsForeignTag()", "file_type": "code", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L59"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_patient_patientrecordtagsapitest_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_patient_patientrecordtagsapitest_php", "target": "tenanttag", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_patient_patientrecordtagsapitest_php", "target": "apitestcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_patient_patientrecordtagsapitest_php", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L12", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "target": "apitestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L12", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L14", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L23", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "target": "tenanttag", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L23", "weight": 1.0, "context": "return_type"}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L31", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L59", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L33", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L34", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L61", "weight": 1.0}, {"source": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "target": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L67", "weight": 1.0}], "raw_calls": [{"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L16", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L18", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_doctor", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L19", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L26", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_tag", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L27", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L34", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L35", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "str_pad", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L37", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "random_int", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L37", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L38", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L42", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L42", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L44", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L44", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L45", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L46", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L50", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L52", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L54", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L54", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L55", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testcreateandupdatewithrecordnumberandtags", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L56", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "str_pad", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L62", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "random_int", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L62", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L63", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L67", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L69", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L69", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L70", "receiver": null}, {"caller_nid": "patient_patientrecordtagsapitest_patientrecordtagsapitest_testrejectsforeigntag", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Patient/PatientRecordTagsApiTest.php", "source_location": "L70", "receiver": null}]} |