ClinicKit Mobile SDK / React Native

Clinic & Room API (React Native)

A Clinic represents a healthcare facility. A Room is an individual examination or treatment space within the clinic.

Load clinic information

The clinic setting returns all clinic configuration, including name, domain, code, logo, intake schema, and other details.

await VSeeClinicKit.getAccountSetting()

Example usage

const [clinicName, setClinicName] = useState(null);
useEffect(() => {
   _loadClinicSetting();
}, []);

const _loadClinicSetting = async () => {
   const account = VSeeClinicKit.getAccountSetting();
   setClinicName(account.name);
};

Load room information

To load room information, you need the room code.

await VSeeClinicKit.getRoom(code: string)
ParameterTypeDescription
codeStringThe room code the user entered.

Search a room

await VSeeClinicKit.searchRooms(params)
ParameterTypeDescription
domainStringSearch by clinic domain.
codeStringSearch by clinic code.
slugStringSearch by the room's slug.
nameStringSearch by the room's name.

Load a room's providers

Get the list of providers in a room, for example to show them on a room screen or in the appointment scheduling flow.

await VSeeClinicKit.getRoomProviders(code: string)
ParameterTypeDescription
codeStringThe room code provided by the provider.