const note = await client.notes.create({
transcript: "Patient reports persistent headache for 3 days...",
noteType: { type: 'soap' },
date: '2024-01-15',
patientInfo: {
name: 'Jane Doe',
dateOfBirth: '1985-03-22',
gender: 'female',
},
medicationList: [
'Lisinopril 10mg daily',
'Metformin 500mg twice daily',
],
instructions: 'Focus on neurological symptoms and include differential diagnosis',
context: 'Follow-up visit for chronic migraine management',
});