Skip to main content

Nurse Profile Information

info

Always refer to the sandbox graphql endpoint for the most up-to-date information on the nurse profile.

Nurse Profile

Field NameTypeNullableDescription
addressStringYesThe address of the nurse.
emailStringNoThe email address of the nurse.
firstNameStringNoThe first name of the nurse.
fullNameStringNoThe full name of the nurse.
genderStringYesThe gender of the nurse.
globalIdStringNoThe global ID of the nurse.
idStringNoThe unique ID of the nurse.
insertedAtStringYesThe date and time when the nurse was created.
lastNameStringNoThe last name of the nurse.
metaObjectYesAdditional metadata about the nurse.
nameStringNoThe name of the nurse.
phoneStringYesThe phone number of the nurse.
pictureStringYesThe profile picture of the nurse.
profilePictureUrlStringYesThe URL of the nurse's profile picture.
residenceStringYesThe residence of the nurse.
totalCarePlanMedicationsNumberYesThe total number of medications in the nurse's care plan.
totalCarePlanTasksNumberYesThe total number of tasks in the nurse's care plan.
totalCarePlansNumberYesThe total number of care plans associated with the nurse.
updatedAtStringYesThe date and time when the nurse's profile was last updated.
createdHealthFacilityHealthFacilityYesThe health facility where the nurse was created.

Getting Nurse Profile Information

To get the nurse profile information, you can use the following GraphQL query:

info

The nurse must be logged in to access their profile information. The request must include the nurse's token in the authorization header. See Request Authorization for more information.

query NurseProfile($id: ID!) {
nurseProfile(id: $id) {
address
email
firstName
fullName
gender
globalId
id
insertedAt
lastName
meta
name
phone
picture
profilePictureUrl
residence
totalCarePlanMedications
totalCarePlanTasks
totalCarePlans
updatedAt
createdHealthFacility {
id
}
}
}

Variables:

{
"id": "nurse_id"
}

Response

{
"data": {
"nurseProfile": {
"address": "nurse_address",
"email": "nurse_email",
"firstName": "nurse_first_name",
"fullName": "nurse_full_name",
"gender": "nurse_gender",
"globalId": "nurse_global_id",
"id": "nurse_id",
"insertedAt": "nurse_inserted_at",
...

}
}
}