Sheet 1 of 7 -
4a. Person Identification
- Date of birth / age
- Vehicle
- Appearance / clothing
prepare('SELECT FirstName,LastName FROM AdminAccounts WHERE AdminID=? AND RecordStatus=1'); $q->execute([(int)$Response['SESSION']['AdminID']]);$viewer=$q->fetch(PDO::FETCH_ASSOC); if (!$viewer) {http_response_code(403);exit('Access denied');} try {$reportProfile=PA_WEB_BRIEF_REPORT_PROFILE($_GET['report'] ?? '');} catch (DomainException $e) {http_response_code(400);exit('Invalid report designation.');} if (!$reportProfile) { $q=$db->prepare('SELECT DashID,CaseName,Status FROM PART_Dash WHERE DashID=? AND RecordStatus=0'); $q->execute([$dashID]);$menuCase=$q->fetch(PDO::FETCH_ASSOC); if (!$menuCase) throw new DomainException('Case not found.'); PA_WEB_BRIEF_REPORT_MENU($menuCase);exit; } $brief=PA_WEB_BRIEF_BUILD($db,(int)$dashID); $digest=hash('sha256',json_encode($brief,JSON_THROW_ON_ERROR|JSON_INVALID_UTF8_SUBSTITUTE)); $q=$db->prepare("INSERT INTO PART_Dash_Audit (DashID,DashStepID,Action,PerformedBy,PerformedByType,Details,OldValue,NewValue,Insert_DateTime,RecordStatus) VALUES (?,0,'INCIDENT_BRIEF_VIEWED',?,'PART Admin',?,'',?,NOW(),0)"); $q->execute([$dashID,(int)$Response['SESSION']['AdminID'], 'Incident Brief viewed by '.trim($viewer['FirstName'].' '.$viewer['LastName']).'. Read-only operational summary; no case action or notice.', json_encode(['briefVersion'=>7,'reportDesignation'=>$reportProfile['key'],'snapshotAtUTC'=>$brief['snapshot'],'snapshotSHA256'=>$digest,'humanReviewed'=>false,'noticesSent'=>false],JSON_THROW_ON_ERROR)]); $viewAuditID=(int)$db->lastInsertId(); } catch (DomainException $e) {http_response_code(404);exit('Case not found.');} catch (Throwable $e) {error_log('Incident Brief unavailable for case '.(int)$dashID);http_response_code(500);exit('The Incident Brief could not be prepared. Please try again.');} $case=$brief['case'];$person=$brief['person']; $reportSections=PA_WEB_BRIEF_REPORT_SECTIONS($reportProfile); $sheetNumbers=array_flip($reportProfile['order']);foreach ($sheetNumbers as &$ordinal) $ordinal++;unset($ordinal); $escape=static fn($value)=>htmlspecialchars((string)$value,ENT_QUOTES|ENT_SUBSTITUTE,'UTF-8'); $display=static fn($value)=>trim((string)$value)!=='' ? $value : 'Not recorded'; $name=$person ? trim($person['FirstName'].' '.$person['LastName']) : 'Tracker user not uniquely identified'; $viewerName=trim($viewer['FirstName'].' '.$viewer['LastName']); $logoURL=(string)($PASYSCONF['LOGO'] ?? ''); $logoHost=parse_url($logoURL,PHP_URL_HOST) ?: ''; if (parse_url($logoURL,PHP_URL_SCHEME)!=='https' || !preg_match('/(^|\.)amazonaws\.com$/i',$logoHost)) $logoURL=''; $teamPhone=trim((string)($PASYSCONF['DASH']['PA_CUSTOMER_SERVICE_PHONE'] ?? '')); $teamEmail=trim((string)($PASYSCONF['DASH']['PA_ALERT_EMAIL'] ?? '')); $phoneDisplay=static function($value) { $digits=preg_replace('/\D/','',(string)$value);$prefix=''; if (strlen($digits)===11 && $digits[0]==='1') {$digits=substr($digits,1);$prefix='+1 ';} return strlen($digits)===10 ? $prefix.substr($digits,0,3).'-'.substr($digits,3,3).'-'.substr($digits,6) : trim((string)$value); }; $label=function($text) use ($person) {return strtr((string)$text,['{{TRACKERUSERFIRST}}'=>$person['FirstName'] ?? 'Tracker user','{{TRACKERUSERLAST}}'=>$person['LastName'] ?? '']);}; $stepByID=[];foreach ($brief['steps'] as $step) $stepByID[(int)$step['DashStepID']]=$step; $pending=array_values(array_filter($brief['steps'],static fn($s)=>$s['Status']==='Not Completed')); usort($pending,static fn($a,$b)=>strcmp(PA_WEB_BRIEF_DATE($a['TimeoutAtDateTime']) ? $a['TimeoutAtDateTime'] : '9999',PA_WEB_BRIEF_DATE($b['TimeoutAtDateTime']) ? $b['TimeoutAtDateTime'] : '9999') ?: (int)$a['DashStepID']<=>(int)$b['DashStepID']); $overdueCount=count(array_filter($pending,static fn($s)=>PA_WEB_BRIEF_DATE($s['TimeoutAtDateTime']) && $s['TimeoutAtDateTime']<$brief['snapshot'])); $dangerKey=$brief['answers']['DANGER_INDICATORS']['AnswerKey'] ?? 'UNKNOWN'; $latest=$brief['positions'][0] ?? null; $photoURL='';$piPhotoURL=''; if ($brief['photo'] || $brief['piPhoto']) { require_once '/opt/SA/DEV/SERVICE/LIB/PACOMMONLIBRARY/php/AWSS3.php'; } if ($brief['photo']) { $photoURL=AWSS3Helper::getPresignedUrl($brief['photo']['S3BucketName'],$brief['photo']['S3ObjectKey'],900) ?: ''; } if ($brief['piPhoto']) $piPhotoURL=AWSS3Helper::getPresignedUrl($brief['piPhoto']['S3BucketName'],$brief['piPhoto']['S3ObjectKey'],900) ?: ''; $map=[]; if ($latest) { require_once '/opt/SA/DEV/SERVICE/LIB/PACOMMONLIBRARY/php/functions/HERE/PACommonHereAlertLocation.php'; try {$map=PACommonHereAlertLocation($latest['latitude'],$latest['longitude'],(string)($PASYSCONF['MAPS']['HERECOM']['APIKEY'] ?? ''));} catch (Throwable $e) {error_log('Incident Brief map unavailable for case '.(int)$dashID);} } [$birth,$age]=PA_WEB_BRIEF_BIRTH($person['BirthDate'] ?? '',$case['Insert_DateTime']); $relationships=[1=>'Direct family member',2=>'Friend',3=>'My Self',4=>'Relative',5=>'Other']; $answer=function($key) use ($brief,$display) {return $display($brief['answers'][$key]['AnswerText'] ?? '');}; $actorDisplay=function($type,$id) use ($brief) { return $type.' - '.($brief['actorNames'][$type][(int)$id] ?? ((int)$id>0 ? '#'.(int)$id : 'Recorder not captured')); }; $answerSource=function($key,$compact=false) use ($brief,$escape,$actorDisplay) { $r=$brief['answers'][$key] ?? null; if ($r) { echo 'Recorded '.$escape(PA_WEB_BRIEF_TIME($r['Insert_DateTime'])).' | Step #'.(int)$r['DashStepID']; if (!$compact) { $actor=$brief['answerActors'][(int)$r['DashStepID']] ?? null; echo ' | Recorder: '.$escape($actor ? $actorDisplay($actor['PerformedByType'],$actor['PerformedBy']) : 'Not captured'); } echo ''; } }; $findings=$brief['steps']; usort($findings,static fn($a,$b)=>strcmp($b['Update_DateTime'],$a['Update_DateTime']) ?: (int)$b['DashStepID']<=>(int)$a['DashStepID']); $findings=array_values(array_filter($findings,static fn($s)=>$s['Status']==='Completed' && in_array((int)$s['DashStepTemplateID'],[2,3,7,8,9,21,23,24,25,29],true) && trim((string)$s['Notes'])!=='')); $currentRequest=null; foreach ($brief['requests'] as $request) if ($request['current']) {$currentRequest=$request;break;} $requestLabels=['WAITING_FOR_RESPONSE'=>'Waiting for response','ACCEPTED'=>'Accepted','DECLINED'=>'Declined','EXPIRED'=>'Expired','ACCEPTED_BY_OTHER'=>'Another Detective accepted','CANCELLED'=>'Cancelled','CASE_CLOSED'=>'Case closed','UNAVAILABLE'=>'Response unavailable']; $incidentIdentifiers=function() use ($case,$brief,$name,$dashID,$display,$escape) { echo '
Sheet '.$sheetNumbers[$number].' of 7 - '.$escape($title).'
Sheet 1 of 7 -
Recorded answers are attributed reports, not an independent safety assessment. Unknown information does not establish safety.
Closure is recorded without a positive located answer in the latest structured findings. The case resolution above is the recorded basis; safety is not independently established here.
Based on the five optional information fields. Existing narrative notes may contain additional details; review the source accounts below before requesting information again.
All five optional information areas have recorded text. Completeness and accuracy still require human review.
Recorded accounts and their source steps. Reported or author-classified information is not independently verified by this briefing.
6) { ?>Latest 6 of completed accounts shown. Earlier accounts remain in the full case audit.
No completed findings or contact notes recorded.
Latest 12 supplemental accounts shown. Earlier accounts remain in the full case audit.
open actions | overdue
Recorded Pink Angels case actions, not police tasking or a law-enforcement response plan.
Receiving agency, jurisdiction, police case number, officer, receipt/dispatch acknowledgement, and NCIC reference: Not captured by this briefing.
Admin decision to notify police:
An Admin decision or private Detective acceptance is not confirmation that police received a report, dispatched a unit, or accepted jurisdiction.
| Action / source step | Responsible role | Recorded deadline / status |
|---|---|---|
| Step # | Overdue | |
| No pending case actions recorded. This alone does not establish that the person is safe. | ||
Chronological server-recorded events. Routine notice attempts are retained in the full audit, not repeated here.
| Time (UTC) | Event / originating step | Recorded actor |
|---|---|---|
| Audit # |
Recorded event detail | |
| No significant events recorded. | ||
repeat alerts linked to this case.
Server receipt times and device coordinates, not confirmed person sightings or a verified travel route.
| Received (UTC) | Recorded alert / source | Coordinates / accuracy |
|---|---|---|
| ClientDeviceEvent # | | Accuracy: | |
| No linked device-alert records. Initial alert information is retained in the source sheet when available. | ||
Pink Angels coordination contact, not a police department or public emergency number.
Professional license number is a registration record, not verification by the issuing authority. Jurisdiction and expiry are not recorded in the structured registration used here. Driver's-license identity documents are not proof of professional licensure and are not embedded in this briefing. Assignment is not proof of physical arrival.
| Role | Person | Contact | Recorded status |
|---|---|---|---|
| (reported) | Age: |
Provider submission counts are not evidence of receipt, reading, response, or arrival.