const { data: doc } = await clinik.practitioners.create({
firstName: 'Sarah',
lastName: 'Chen',
prefix: ['Dr.'],
suffix: ['MD', 'FACC'],
email: '[email protected]',
phone: '+1-555-0100',
gender: 'female',
npi: '1234567890',
specialty: 'Cardiology',
qualifications: [
{
name: 'Doctor of Medicine',
issuer: 'Johns Hopkins University',
period: { start: '2010-05-15' },
},
{
name: 'Board Certified - Cardiovascular Disease',
issuer: 'American Board of Internal Medicine',
identifier: 'ABIM-12345',
period: { start: '2015-06-01', end: '2025-06-01' },
},
],
languages: ['en', 'zh'],
address: {
line: ['100 Medical Center Blvd'],
city: 'Austin',
state: 'TX',
postalCode: '78701',
},
photo: {
url: 'https://cdn.austinheart.com/staff/dr-chen.jpg',
contentType: 'image/jpeg',
},
});