Talent.com
Registered Nurse

Registered Nurse

vTech SolutionPotsdam, NY, United States
job_description.job_card.variable_days_ago
serp_jobs.job_preview.job_type
  • serp_jobs.job_card.full_time
  • serp_jobs.filters_job_card.quick_apply
job_description.job_card.job_description

Job Summary : 'use client';

  • import React, { useRef, useState } from 'react';
  • import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '. / ui / card';
  • import { Button } from '. / ui / button';
  • import { Paperclip, Plus, Trash2, FileText, File, FileCode, Loader2 } from 'lucide-react';
  • import { nanoid } from 'nanoid';
  • import { useToast } from '@ / hooks / use-toast';
  • import type { AttachedDocument } from '@ / types';

import { useRouter } from 'next / navigation';

/ / Loading dialog while AI re-analyzes

import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@ / components / ui / dialog';

interface AnalysisLoadingDialogProps {

  • readonly open : boolean;
  • function AnalysisLoadingDialog({ open } : AnalysisLoadingDialogProps) {

    return (

    Analyzing documents

    Our AI is updating the proposal analysis. This may take a moment.

  • );
  • interface AttachedDocumentsProps {

  • readonly docs : AttachedDocument[];
  • readonly setDocs : React.Dispatch;
  • readonly proposalId : string;
  • readonly onRefresh? : () =>

  • Promise;
  • readonly readOnly? : boolean;
  • export function AttachedDocuments({

    docs,

    setDocs,

    proposalId,

    onRefresh,

    readOnly,

    } : AttachedDocumentsProps) {

  • const fileInputRef = useRef(null);
  • const { toast } = useToast();
  • const router = useRouter();
  • const [isAnalyzing, setIsAnalyzing] = useState(false);

    const getFileIcon = (filename : string) =>

  • const ext = filename.split('.').pop()?.toLowerCase();
  • if (!ext) return ;
  • if (['doc', 'docx', 'pdf', 'txt', 'rtf'].includes(ext)) {

  • return ;
  • if (['js', 'ts', 'tsx', 'json', 'py', 'java', 'c', 'cpp', 'cs'].includes(ext)) {

  • return ;
  • return ;
  • };

    const handleFileAdd = async (event : React.ChangeEvent) =>

  • const files = event.target.files;
  • if (!files || files.length === 0) return;

  • const apiUrl = process.env.NEXT_PUBLIC_API_URL;
  • const formData = new FormData();
  • Array.from(files).forEach(file =>

    formData.append('files', file));

    try {

    setIsAnalyzing(true);

    const res = await fetch(`${apiUrl} / api / proposals / ${proposalId} / files`, {

    method : 'POST',

    body : formData,

    });

  • const data = await res.json();
  • if (!res.ok) throw new Error(data.error ?? 'Failed to upload files');

    / / Handle duplicate

    if (data.status === 'duplicate' || data.skippedFiles?.length) {

  • const skippedList = data.skippedFiles?.join(', ') ?? 'Some files';
  • toast({

    title : 'Duplicate file(s) skipped',

    description : `${skippedList} already exist based on first 100 words.`,

    variant : 'destructive',

  • });
  • return;
  • / / Normal upload success

  • const { newFiles, analysis } = data;
  • if (newFiles && newFiles.length >

    0) {

    setDocs(prev =>

  • [...prev, ...newFiles]);
  • document.dispatchEvent(new CustomEvent('analysisUpdated', { detail : analysis }));

    toast({ title : `${newFiles.length} document(s) added and analysis updated.` });

    / / Refresh proposal data dynamically instead of full reload

  • if (onRefresh) await onRefresh();
  • } else {

    toast({

    title : 'No new documents added',

    description : 'File Already Exists.',

    variant : 'destructive',

  • });
  • } catch (err : any) {

    toast({

    variant : 'destructive',

    title : 'Upload Failed',

    description : err.message ?? 'Could not upload files',

  • });
  • } finally {

  • setIsAnalyzing(false);
  • if (fileInputRef.current) fileInputRef.current.value = '';
  • };

    const handleFileDelete = async (docId : string) =>

    try {

    setIsAnalyzing(true);

    const res = await fetch(

    `${process.env.NEXT_PUBLIC_API_URL} / api / proposals / ${proposalId} / files / ${encodeURIComponent(docId)}`,

    { method : 'DELETE' }

    );

  • const data = await res.json();
  • if (!res.ok) throw new Error(data.error ?? 'Failed to delete file');

    / / Update local state

    const newDocs = docs.filter(d =>

  • d.id !== docId);
  • setDocs(newDocs);

    / / If last file deleted delete proposal redirect dashboard

    if (newDocs.length === 0) {

    toast({ title : 'All files removed', description : 'Deleting proposal...' });

    const delRes = await fetch(`${process.env.NEXT_PUBLIC_API_URL} / api / proposals / ${proposalId}`, {

    method : 'DELETE',

    });

    if (!delRes.ok) {

  • const errData = await delRes.json();
  • throw new Error(errData.error ?? 'Failed to delete proposal');
  • toast({

    title : 'Proposal deleted',

    description : 'Redirecting to dashboard...',

    });

    / / Wait a bit, then redirect and reload

    setTimeout(() =>

  • router.push(' / ');
  • window.location.reload();
  • }, 1200);
  • return;
  • / / Notify analysis update

  • document.dispatchEvent(new CustomEvent('analysisUpdated', { detail : data.analysis }));
  • toast({ title : 'File deleted', description : 'Analysis will update shortly.' });

    / /

    serp_jobs.job_alerts.create_a_job

    Registered Nurse • Potsdam, NY, United States

    Job_description.internal_linking.related_jobs
    • serp_jobs.job_card.promoted
    Local Contract Nurse RN - Acute Care - $59-61 per hour

    Local Contract Nurse RN - Acute Care - $59-61 per hour

    WCS Healthcare PartnersOgdensburg, NY, United States
    serp_jobs.job_card.full_time
    WCS Healthcare Partners is seeking a local contract nurse RN Acute Care for a local contract nursing job in Ogdensburg, New York. Job Description & Requirements.WCS Healthcare is currently seeking a...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Certified Nurse Aide

    Certified Nurse Aide

    St. Lawrence Health SystemCanton, NY, US
    serp_jobs.job_card.full_time
    Certified Nurse Aide (1199 CPH) Observation Canton - Potsdam Hospital.The Certified Nurse Aide works under the direct supervision of licensed nursing staff to provide direct patient care in accorda...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_30
    • serp_jobs.job_card.promoted
    • serp_jobs.job_card.new
    Nursing Assistant - Full time - Massena Hospital

    Nursing Assistant - Full time - Massena Hospital

    St. Lawrence Health SystemMassena, NY, US
    serp_jobs.job_card.full_time
    A Nursing Assistant supports patient care by assisting with hygiene, mobility, and basic needs while maintaining a clean, safe environment. They perform tasks like recording vital signs, collecting ...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_hours
    • serp_jobs.job_card.promoted
    Certified Nurse Aide / Part time / Canton-Potsdam Hospital

    Certified Nurse Aide / Part time / Canton-Potsdam Hospital

    St. Lawrence Health SystemCanton, NY, US
    serp_jobs.job_card.full_time +1
    Certified Nurse Aide (1199 CPH).Location : Canton-Potsdam Hospital.Schedule : 7a-3p, every other weekend.Summary : The Certified Nurse Aid works under the direct supervision of licensed nursing staff ...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Certified Nurse Aide / Full-time / Canton-Potsdam Hospital

    Certified Nurse Aide / Full-time / Canton-Potsdam Hospital

    St. Lawrence Health SystemCanton, NY, US
    serp_jobs.job_card.full_time
    Location : Canton-Potsdam Hospital.Schedule : 11p-7a / 8-hour night shift / every other weekend rotation.The Certified Nurse Aid works under the direct supervision of licensed nursing staff to provid...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Nurse Aide - Part time - Canton-Potsdam Hospital

    Nurse Aide - Part time - Canton-Potsdam Hospital

    St. Lawrence Health SystemCanton, NY, US
    serp_jobs.job_card.full_time +1
    Location : Canton-Potsdam Hospital.Schedule : 3p-11p, 8-hour work shifts, every other weekend rotation.Summary : The nurse aid works under the direct supervision of licensed nursing staff to provide d...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Physician Assistant

    Physician Assistant

    Planned Parenthood of the North Country New York, Inc.Canton, NY, United States
    serp_jobs.job_card.full_time +1
    Are you a compassionate and dedicated Physician Assistant seeking a fulfilling career where you can make a meaningful impact on the health and well-being of individuals in our community? Look no fu...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Certified Nurse Aide - Gouverneur Hospital

    Certified Nurse Aide - Gouverneur Hospital

    St. Lawrence Health SystemGouverneur, NY, US
    serp_jobs.job_card.full_time
    Schedule : 12-hour work shift, every other weekend, 8 : 45a - 9 : 15p; and variable.Summary : The Certified Nurse Aide works under the direct supervision of licensed nursing staff to provide direct patie...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_30
    • serp_jobs.job_card.promoted
    Nurse Aide - Gouverneur Hospital

    Nurse Aide - Gouverneur Hospital

    St. Lawrence Health SystemGouverneur, NY, US
    serp_jobs.job_card.full_time
    Schedule : 12-hour work shift; variable as needed, 6 : 45a-7 : 15p, 10 : 45p-11 : 15p, 6 : 45p-7 : 15a.Summary : The Certified Nurse Aid works under the direct supervision of licensed nursing staff to provide di...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_30
    • serp_jobs.job_card.promoted
    Certified Nursing Assistant - Full time - Massena Hospital

    Certified Nursing Assistant - Full time - Massena Hospital

    St. Lawrence Health SystemMassena, NY, US
    serp_jobs.job_card.full_time
    Certified Nursing Assistant (CSEA).Schedule : 7 : 30a-3 : 30p, 8-hour work shifts, every other weekend is required.The Certified Nurse Aid works under the direct supervision of licensed nursing staff to...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Patient Care Technician (PCT)

    Patient Care Technician (PCT)

    WellNow Urgent CareOgdensburg, NY, US
    serp_jobs.job_card.full_time
    WellNow Urgent Care Opportunity.WellNow Urgent Care takes pride in creating an environment filled with meaningful work and opportunities by investing in our colleagues. We offer competitive salaries...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_30
    • serp_jobs.job_card.promoted
    Medical Assistant - Massena, NY

    Medical Assistant - Massena, NY

    St. Lawrence Health SystemMassena, NY, US
    serp_jobs.job_card.full_time
    The Medical Assistant performs a mixture of both clerical administrative medical assisting, as well as clinical medical office assisting in Primary and / or Specialty care settings.The Certified Medi...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Registered Nurse - Step Down

    Registered Nurse - Step Down

    Compunnel IncPotsdam, NY, US
    serp_jobs.job_card.full_time
    Job Summary The Registered Nurse - Step Down is responsible for providing high-quality patient care in a step-down unit, with a focus on patients requiring cardiac monitoring and specialized care.T...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    • serp_jobs.job_card.new
    Nurse Aide - Canton-Potsdam Hospital / West 2 (Full Time-Days)

    Nurse Aide - Canton-Potsdam Hospital / West 2 (Full Time-Days)

    USA JobsPotsdam, NY, US
    serp_jobs.job_card.full_time
    The nurse aide works under the direct supervision of licensed nursing staff to provide direct patient care in accordance with established hospital policies, procedures, and protocols.Performs and d...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_hours
    • serp_jobs.job_card.promoted
    Nurse Aide / Full-time / Canton-Potsdam Hospital

    Nurse Aide / Full-time / Canton-Potsdam Hospital

    St. Lawrence Health SystemCanton, NY, US
    serp_jobs.job_card.full_time
    Location : Canton-Potsdam Hospital.Schedule : 11p-7a, every other weekend.Summary : The Nurse Aide works under the direct supervision of licensed nursing staff to provide direct patient care in accord...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Registered Nurse - Intensive Care Unit

    Registered Nurse - Intensive Care Unit

    Compunnel IncPotsdam, NY, US
    serp_jobs.job_card.full_time
    Job Summary We are seeking an experienced and compassionate Registered Nurse (RN) to join our Intensive Care Unit (ICU) team. The ICU RN is responsible for providing high-quality, critical care to p...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_1_day
    • serp_jobs.job_card.promoted
    Nursing Assistant (CSEA) - Massena Hospital

    Nursing Assistant (CSEA) - Massena Hospital

    St. Lawrence Health SystemMassena, NY, US
    serp_jobs.job_card.full_time
    A Nursing Assistant supports patient care by assisting with hygiene, mobility, and basic needs while maintaining a clean, safe environment. They perform tasks like recording vital signs, collecting ...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Nurse Aide

    Nurse Aide

    St. Lawrence Health SystemCanton, NY, US
    serp_jobs.job_card.full_time
    Location : Canton-Potsdam Hospital.Schedule : 8-hour night shift, 11p-7a, every other weekend rotation.Summary : The nurse aide works under the direct supervision of licensed nursing staff to provide ...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_30
    CHMC-Medical Assistant

    CHMC-Medical Assistant

    Claxton-Hepburn Medical CenterOgdensburg, New York, United States, 13669
    serp_jobs.job_card.full_time
    CHMC – Podiatry Clinic -Medical Assistant (Float) – Full-time- Day Shift – 7 : 30a-4 : 00p -Requisition 8996.The Medical Assistant will be part of the team concept in the Center’s health delivery syste...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days
    • serp_jobs.job_card.promoted
    Certified Surgical Technician - LMH OR •Sign-on Bonus up to $10,000 •

    Certified Surgical Technician - LMH OR •Sign-on Bonus up to $10,000 •

    Yale New Haven HealthClifton, NY, US
    serp_jobs.job_card.full_time
    To be part of our organization, every employee should understand and share in the YNHHS Vision, support our Mission, and live our Values. These values - integrity, patient-centered, respect, account...serp_jobs.internal_linking.show_moreserp_jobs.last_updated.last_updated_variable_days