Practitioner data model

Updated:

View field support, webhooks, and list parameters for each integration on the Supported Integrations page.

FieldTypeRequiredDescription
idstringNoUnique identifier for the practitioner
created_atstring (date-time)NoWhen the practitioner record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atstring (date-time)NoWhen the practitioner record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestringNoFull name of the practitioner
first_namestringNoGiven name of the practitioner
last_namestringNoFamily name of the practitioner
titlestringNoProfessional title or prefix (e.g. Dr.)
genderenumNoAdministrative gender of the practitioner Values: MALE, FEMALE, OTHER, UNKNOWN
emailsHealthcareEmail[]NoEmail addresses of the practitioner
emails[].emailstringYesThe email address
emails[].typeenumNoThe kind of email address (work, home or other) Values: WORK, HOME, OTHER
telephonesHealthcareTelephone[]NoPhone numbers of the practitioner
telephones[].telephonestringYesThe telephone number
telephones[].typeenumNoThe kind of telephone number (work, home, mobile, fax or other) Values: WORK, HOME, MOBILE, FAX, OTHER
addressobjectNoWork address of the practitioner
address.address1stringNoFirst line of the street address
address.address2stringNoSecond line of the street address
address.citystringNoCity or locality
address.regionstringNoRegional area (e.g., state in the U.S., province in Canada)
address.postal_codestringNoPostal or ZIP code
address.countrystringNoCountry
image_urlstringNoPhoto of the practitioner
identifiersHealthcareIdentifier[]NoBusiness identifiers (e.g. NPI)
identifiers[].valuestringYesThe identifier value
identifiers[].typeenumNoThe kind of identifier Values: MRN, NPI, SSN, DRIVERS_LICENSE, PASSPORT, INSURANCE, OTHER
identifiers[].systemstringNoThe namespace/system URI that issued the identifier
specialtiesHealthcareCode[]NoCodings for the practitioner's specialties
specialties[].systemstringNoThe code system URI (e.g. http://loinc.org, http://snomed.info/sct)
specialties[].codestringNoThe code within the system
specialties[].displaystringNoHuman-readable display text for the code
qualificationsHealthcareCode[]NoCodings for certifications, licenses and degrees
qualifications[].systemstringNoThe code system URI (e.g. http://loinc.org, http://snomed.info/sct)
qualifications[].codestringNoThe code within the system
qualifications[].displaystringNoHuman-readable display text for the code
languagesstring[]NoLanguage codes the practitioner can communicate in
location_idsstring[]NoLocations where the practitioner provides care
is_activebooleanNoWhether the practitioner record is in active use
metadataHealthcareMetadata[]NoCustom field values
metadata[].idstringNoIdentifier of the custom field
metadata[].valueobjectNoThe custom field value
metadata[].namespacestringNoThe scope or origin of the custom field
metadata[].formatenumNoThe data type of the value Values: TEXT, NUMBER, DATE, BOOLEAN, ARRAY, OBJECT
metadata[].extra_dataobjectNoAdditional data about the custom field
metadata[].slugstringNoThe custom field key

TypeScript

TypeScript
export type HealthcarePractitioner = {
	id?: string; // Unique identifier for the practitioner
	created_at?: string-time; // When the practitioner record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // When the practitioner record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	name?: string; // Full name of the practitioner
	first_name?: string; // Given name of the practitioner
	last_name?: string; // Family name of the practitioner
	title?: string; // Professional title or prefix (e.g. Dr.)
	gender?: 'MALE' | 'FEMALE' | 'OTHER' | 'UNKNOWN'; // Administrative gender of the practitioner
	emails?: []; // Email addresses of the practitioner
	telephones?: []; // Phone numbers of the practitioner
	address?: {
		address1?: string; // First line of the street address 
		address2?: string; // Second line of the street address 
		city?: string; // City or locality 
		region?: string; // Regional area (e.g., state in the U.S., province in Canada) 
		postal_code?: string; // Postal or ZIP code 
		country?: string; // Country 
	}; // Work address of the practitioner
	image_url?: string; // Photo of the practitioner
	identifiers?: []; // Business identifiers (e.g. NPI)
	specialties?: []; // Codings for the practitioner's specialties
	qualifications?: []; // Codings for certifications, licenses and degrees
	languages?: string[]; // Language codes the practitioner can communicate in
	location_ids?: string[]; // Locations where the practitioner provides care
	is_active?: boolean; // Whether the practitioner record is in active use
	metadata?: []; // Custom field values
	raw?: any; // Raw data from integration
} 

Zod

Zod
import { z } from 'zod';

export const ZodHealthcarePractitioner = z.object({
	id: z.string().optional().describe("Unique identifier for the practitioner"),
	created_at: z.string-time().optional().describe("When the practitioner record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("When the practitioner record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	name: z.string().optional().describe("Full name of the practitioner"),
	first_name: z.string().optional().describe("Given name of the practitioner"),
	last_name: z.string().optional().describe("Family name of the practitioner"),
	title: z.string().optional().describe("Professional title or prefix (e.g. Dr.)"),
	gender: z.enum("MALE", "FEMALE", "OTHER", "UNKNOWN").optional().describe("Administrative gender of the practitioner"),
	emails: z.array().optional().describe("Email addresses of the practitioner"),
	telephones: z.array().optional().describe("Phone numbers of the practitioner"),
	address: z.object({
			address1: z.string().optional().describe("First line of the street address"),
			address2: z.string().optional().describe("Second line of the street address"),
			city: z.string().optional().describe("City or locality"),
			region: z.string().optional().describe("Regional area (e.g., state in the U.S., province in Canada)"),
			postal_code: z.string().optional().describe("Postal or ZIP code"),
			country: z.string().optional().describe("Country")
}).optional().describe("Work address of the practitioner"),
	image_url: z.string().optional().describe("Photo of the practitioner"),
	identifiers: z.array().optional().describe("Business identifiers (e.g. NPI)"),
	specialties: z.array().optional().describe("Codings for the practitioner's specialties"),
	qualifications: z.array().optional().describe("Codings for certifications, licenses and degrees"),
	languages: z.array().optional().describe("Language codes the practitioner can communicate in"),
	location_ids: z.array().optional().describe("Locations where the practitioner provides care"),
	is_active: z.boolean().optional().describe("Whether the practitioner record is in active use"),
	metadata: z.array().optional().describe("Custom field values"),

});

Python

Python
import dataclasses

@dataclasses.dataclass
class HealthcarePractitionerGender(str, Enum):
	MALE = 'MALE'
	FEMALE = 'FEMALE'
	OTHER = 'OTHER'
	UNKNOWN = 'UNKNOWN'

@dataclasses.dataclass
class PropertyHealthcarePractitionerAddress:
	"""First line of the street address"""
	address1: Optional[str]
	"""Second line of the street address"""
	address2: Optional[str]
	"""City or locality"""
	city: Optional[str]
	"""Regional area (e.g., state in the U.S., province in Canada)"""
	region: Optional[str]
	"""Postal or ZIP code"""
	postal_code: Optional[str]
	"""Country"""
	country: Optional[str]

@dataclasses.dataclass
class HealthcarePractitioner:
	"""Unique identifier for the practitioner"""
	id: Optional[str]
	"""When the practitioner record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""When the practitioner record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""Full name of the practitioner"""
	name: Optional[str]
	"""Given name of the practitioner"""
	first_name: Optional[str]
	"""Family name of the practitioner"""
	last_name: Optional[str]
	"""Professional title or prefix (e.g. Dr.)"""
	title: Optional[str]
	"""Administrative gender of the practitioner"""
	gender: Optional[HealthcarePractitionerGender]
	"""Email addresses of the practitioner"""
	emails: Optional[PropertyHealthcarePractitionerEmails]
	"""Phone numbers of the practitioner"""
	telephones: Optional[PropertyHealthcarePractitionerTelephones]
	"""Work address of the practitioner"""
	address: Optional[PropertyHealthcarePractitionerAddress]
	"""Photo of the practitioner"""
	image_url: Optional[str]
	"""Business identifiers (e.g. NPI)"""
	identifiers: Optional[PropertyHealthcarePractitionerIdentifiers]
	"""Codings for the practitioner's specialties"""
	specialties: Optional[PropertyHealthcarePractitionerSpecialties]
	"""Codings for certifications, licenses and degrees"""
	qualifications: Optional[PropertyHealthcarePractitionerQualifications]
	"""Language codes the practitioner can communicate in"""
	languages: Optional[List[List[str]]]
	"""Locations where the practitioner provides care"""
	location_ids: Optional[List[List[str]]]
	"""Whether the practitioner record is in active use"""
	is_active: Optional[bool]
	"""Custom field values"""
	metadata: Optional[PropertyHealthcarePractitionerMetadata]
Are we missing anything? Let us know
Was this page helpful?