Nicholas Chia Wei Chu, 28, admitted taking covert photos and videos of 11 patients, including a 14-year-old, at Orange Health Service, in central west NSW.
He also took videos of a number of colleagues by secretly positioning his mobile phone in a hospital change room between January 2022 and February 2023.
Chu was on Thursday sentenced to at least six months' jail for a charge of producing child sexual abuse material related to the young patient.
NSW District Court Judge Penny Musgrave set a maximum term of one year, but backdated Chu's non-parole period to when he was taken into custody in August 2024.
Judge Musgrave also handed Chu a two-year intensive corrections order with 480 hours of community service for the remainder of the charges related to other patients, friends and colleagues.
The sentence did not lose sight of the need to punish Chu, who had good prospects of rehabilitation, Judge Musgrave said.
"Mr Chu will carry the stain of multiple convictions on his record," she said.
"He can no longer claim to be a person of good character - he is not.
"He will never work as a doctor again."
The court was told Chu had assisted police, shown remorse and had sought treatment, including from a psychiatrist who diagnosed him with voyeurism.
A worried mother was the first person to raise suspicions about Chu after he asked to take a photo of a 16-year-old patient's genitals during an assessment for appendicitis.
The woman reported him to hospital management in early 2023, leading police to Chu's devices filled with intimate photos of patients and the secret recordings of co-workers.
Detectives also found hundreds of videos Chu had secretly filmed of several friends naked in their bathrooms and bedrooms at houses in Orange and Sydney.
Chu pleaded guilty to a string of charges, including the count of producing child abuse material, related to 21 intimate photographs of the 14-year-old.
During an earlier court hearing the disgraced junior doctor - who has been working as a cleaner at Junee prison - tearfully acknowledged he violated the child and breached an oath to do no harm.
Chu took photos of several patients' genitals when they were in severe pain or unconscious, including a person who was undergoing bowel imaging in late 2022, the court was told.
In several instances, Chu told patients he was taking photos for training purposes to show senior doctors.
But the head of emergency told police he never asked Chu to take photographs and was not shown any images.
Judge Musgrave placed several conditions on Chu's intensive corrections order, including that he not enter the Orange region, nor work in a job where he has unsupervised access to anyone.
He was also ordered to continue medical and psychological treatment.
Chu was eligible for parole on February 21.
1800 RESPECT (1800 737 732)
National Sexual Abuse and Redress Support Service 1800 211 028