{
"id": 1,
"workflowId": 101,
"status": "IN_PROGRESS",
"startTime": "2023-01-01T00:00:00Z",
"endTime": "2023-01-01T01:00:00Z",
"attributes": {
"key": "value"
},
"surveyResponseId": 202,
"errors": {
"error": "Some error"
},
"workflow": {
"id": 1,
"name": "text",
"version": "text",
"description": "text",
"createdBy": "text",
"attributes": {},
"consentId": 1,
"workflowType": "text",
"workflowTask": [
{
"id": 1,
"order": 1,
"priority": 1,
"name": "text",
"linkId": "text",
"description": "text",
"taskType": "SURVEY",
"attributes": {},
"workflowId": 1,
"workflowTaskActions": [
{
"action": "text",
"workflowActionTaskId": 1,
"id": 1,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"workflowTaskId": 1,
"attributes": {}
}
]
}
],
"WorkflowTask": [
{
"id": 1,
"order": 1,
"priority": 1,
"name": "text",
"linkId": "text",
"description": "text",
"taskType": "SURVEY",
"attributes": {},
"workflowId": 1,
"workflowTaskActions": [
{
"action": "text",
"workflowActionTaskId": 1,
"id": 1,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"workflowTaskId": 1,
"attributes": {}
}
]
}
]
},
"serviceProvider": {
"id": 1,
"internalId": 1,
"email": "text",
"firstName": "text",
"lastName": "text",
"mobileNumber": "text",
"active": true,
"roles": [
{
"role": "text",
"subRoles": [
"text"
]
}
],
"license": [
{
"stateOfIssuance": "text",
"country": "text"
}
],
"timeZone": "text",
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"organization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": "[Circular Reference]",
"childOrganizations": "[Circular Reference]",
"organizationSettings": [],
"language": "[Circular Reference]",
"ehrIntegrations": "[Circular Reference]",
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": "[Circular Reference]",
"surveys": "[Circular Reference]",
"observationGroup": "[Circular Reference]",
"healthRecordAttribute": [],
"wearablesApiSync": "[Circular Reference]",
"aiInferenceUseCases": "[Circular Reference]",
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"organizationVerified": null,
"partnerId": 1,
"partner": {
"id": 1,
"organizationId": 1,
"name": "text",
"addressGroup": {
"id": 12,
"name": "Name",
"description": "Lab",
"region": "New York",
"type": "LAB",
"organizationId": 1,
"active": true,
"addressGroupMapping": [],
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-01T00:00:00.000Z",
"addressMappingCount": 1
},
"addressGroupId": 1,
"partnerTypeId": 1,
"attributes": {},
"partnerType": {
"name": "Test Partner Type Name",
"description": "Test Partner Type Description",
"partnerType": "CUSTOM",
"organizationId": 1,
"active": true,
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
"active": true,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13"
},
"serviceableRadius": 1,
"organizationId": 1,
"careTeamMemberType": [
"PCP"
],
"populationTags": [],
"schedule": {
"providerId": 1,
"defaultScheduleId": 1,
"isAvailable": true,
"availability": [
{
"startDateTime": "2025-12-13",
"endDateTime": "2025-12-13"
}
],
"defaultSchedule": {
"id": 1,
"name": "text",
"default": true,
"type": "DATE_WISE",
"disabled": true,
"serviceProviderId": 1,
"attributes": {},
"periods": [
{
"dayOfWeek": 1,
"startTime": "text",
"endTime": "text",
"belongsToDayOfWeek": 1
}
],
"overrides": [
{
"date": "2025-06-15",
"startTime": "08:00:00",
"endTime": "17:00:00",
"unavailable": true,
"startDateTime": "2025-06-15T08:00:00",
"endDateTime": "2025-06-15T17:00:00",
"externalId": "1234567890"
}
]
}
}
},
"consumer": {
"id": 1,
"organizationId": 123,
"externalId": "ext-12345",
"consumerUuid": "550e8400-e29b-41d4-a716-446655440000",
"authenticationId": "auth-12345",
"firstName": "John",
"lastName": "Doe",
"timeZone": "GMT",
"birthDate": "1990-01-01",
"createdAt": "2023-01-01",
"gender": "Male",
"email": "[email protected]",
"mobileNumber": "+1234567890",
"guardianId": 2,
"guardian": [],
"addressLine1": "123 Main St",
"addressLine2": "Apt 4B",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"currency": "USD",
"country": "USA",
"isPrimary": true,
"isPatient": true,
"relationship": [],
"relationshipType": "SELF",
"dependants": [],
"idProof": {},
"insuranceDetails": {},
"attributes": {},
"addresses": [],
"externalConsumer": [],
"lastLoginAt": "2023-01-01",
"active": true,
"profilePicFileId": 3,
"profilePictureCloudId": "cloud-12345",
"profilePicture": "http://example.com/profile.jpg",
"isWelcomeEmailSent": true,
"forwardRelationship": [],
"referrals": {},
"recordSource": "INTERNAL",
"populationTagIds": [],
"populationTags": [],
"tagsToAdd": [],
"tagsToRemove": [],
"wallets": {},
"careTeams": [],
"relatedConsumerId": 2
},
"surveyResponse": {
"id": 1,
"surveyId": 101,
"appointmentId": 1,
"surveyName": "Health Survey",
"surveyTitle": "Patient Health Questionnaire",
"personId": 200,
"updatedAt": "2023-01-01T00:00:00Z",
"createdAt": "2023-01-01T00:00:00Z",
"text": "{}",
"meta": "{}",
"contained": [],
"extension": [],
"identifier": "{}",
"basedOn": [],
"partOf": [],
"subject": "{}",
"encounter": "{}",
"author": "{}",
"source": "{}",
"implicitRules": "some-rules",
"language": "en",
"questionnaire": "Q12345",
"authored": "2023-01-01T00:00:00Z",
"status": "in_progress",
"attributes": "{}",
"assessmentResponse": "{}",
"files": {},
"workflowExecutionLog": {
"id": 1,
"workflowId": 101,
"status": "IN_PROGRESS",
"startTime": "2023-01-01T00:00:00Z",
"endTime": "2023-01-01T01:00:00Z",
"attributes": {
"key": "value"
},
"surveyResponseId": 202,
"errors": {
"error": "Some error"
},
"workflow": {
"id": 1,
"name": "text",
"version": "text",
"description": "text",
"createdBy": "text",
"attributes": {},
"consentId": 1,
"workflowType": "text",
"workflowTask": [
{
"id": 1,
"order": 1,
"priority": 1,
"name": "text",
"linkId": "text",
"description": "text",
"taskType": "SURVEY",
"attributes": {},
"workflowId": 1,
"workflowTaskActions": [
{
"action": "text",
"workflowActionTaskId": 1,
"id": 1,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"workflowTaskId": 1,
"attributes": {}
}
]
}
],
"WorkflowTask": [
{
"id": 1,
"order": 1,
"priority": 1,
"name": "text",
"linkId": "text",
"description": "text",
"taskType": "SURVEY",
"attributes": {},
"workflowId": 1,
"workflowTaskActions": [
{
"action": "text",
"workflowActionTaskId": 1,
"id": 1,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"workflowTaskId": 1,
"attributes": {}
}
]
}
]
},
"serviceProvider": {
"id": 1,
"internalId": 1,
"email": "text",
"firstName": "text",
"lastName": "text",
"mobileNumber": "text",
"active": true,
"roles": [
{
"role": "text",
"subRoles": [
"text"
]
}
],
"license": [
{
"stateOfIssuance": "text",
"country": "text"
}
],
"timeZone": "text",
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"organization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": "[Circular Reference]",
"childOrganizations": "[Circular Reference]",
"organizationSettings": [],
"language": "[Circular Reference]",
"ehrIntegrations": "[Circular Reference]",
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": "[Circular Reference]",
"surveys": "[Circular Reference]",
"observationGroup": "[Circular Reference]",
"healthRecordAttribute": [],
"wearablesApiSync": "[Circular Reference]",
"aiInferenceUseCases": "[Circular Reference]",
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"organizationVerified": null,
"partnerId": 1,
"partner": {
"id": 1,
"organizationId": 1,
"name": "text",
"addressGroup": {
"id": 12,
"name": "Name",
"description": "Lab",
"region": "New York",
"type": "LAB",
"organizationId": 1,
"active": true,
"addressGroupMapping": [],
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-01T00:00:00.000Z",
"addressMappingCount": 1
},
"addressGroupId": 1,
"partnerTypeId": 1,
"attributes": {},
"partnerType": {
"name": "Test Partner Type Name",
"description": "Test Partner Type Description",
"partnerType": "CUSTOM",
"organizationId": 1,
"active": true,
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
"active": true,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13"
},
"serviceableRadius": 1,
"organizationId": 1,
"careTeamMemberType": [
"PCP"
],
"populationTags": [],
"schedule": {
"providerId": 1,
"defaultScheduleId": 1,
"isAvailable": true,
"availability": [
{
"startDateTime": "2025-12-13",
"endDateTime": "2025-12-13"
}
],
"defaultSchedule": {
"id": 1,
"name": "text",
"default": true,
"type": "DATE_WISE",
"disabled": true,
"serviceProviderId": 1,
"attributes": {},
"periods": [
{
"dayOfWeek": 1,
"startTime": "text",
"endTime": "text",
"belongsToDayOfWeek": 1
}
],
"overrides": [
{
"date": "2025-06-15",
"startTime": "08:00:00",
"endTime": "17:00:00",
"unavailable": true,
"startDateTime": "2025-06-15T08:00:00",
"endDateTime": "2025-06-15T17:00:00",
"externalId": "1234567890"
}
]
}
}
},
"consumer": {
"id": 1,
"organizationId": 123,
"externalId": "ext-12345",
"consumerUuid": "550e8400-e29b-41d4-a716-446655440000",
"authenticationId": "auth-12345",
"firstName": "John",
"lastName": "Doe",
"timeZone": "GMT",
"birthDate": "1990-01-01",
"createdAt": "2023-01-01",
"gender": "Male",
"email": "[email protected]",
"mobileNumber": "+1234567890",
"guardianId": 2,
"guardian": [],
"addressLine1": "123 Main St",
"addressLine2": "Apt 4B",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"currency": "USD",
"country": "USA",
"isPrimary": true,
"isPatient": true,
"relationship": [],
"relationshipType": "SELF",
"dependants": [],
"idProof": {},
"insuranceDetails": {},
"attributes": {},
"addresses": [],
"externalConsumer": [],
"lastLoginAt": "2023-01-01",
"active": true,
"profilePicFileId": 3,
"profilePictureCloudId": "cloud-12345",
"profilePicture": "http://example.com/profile.jpg",
"isWelcomeEmailSent": true,
"forwardRelationship": [],
"referrals": {},
"recordSource": "INTERNAL",
"populationTagIds": [],
"populationTags": [],
"tagsToAdd": [],
"tagsToRemove": [],
"wallets": {},
"careTeams": [],
"relatedConsumerId": 2
},
"surveyResponse": {
"id": 1,
"surveyId": 101,
"appointmentId": 1,
"surveyName": "Health Survey",
"surveyTitle": "Patient Health Questionnaire",
"personId": 200,
"updatedAt": "2023-01-01T00:00:00Z",
"createdAt": "2023-01-01T00:00:00Z",
"text": "{}",
"meta": "{}",
"contained": [],
"extension": [],
"identifier": "{}",
"basedOn": [],
"partOf": [],
"subject": "{}",
"encounter": "{}",
"author": "{}",
"source": "{}",
"implicitRules": "some-rules",
"language": "en",
"questionnaire": "Q12345",
"authored": "2023-01-01T00:00:00Z",
"status": "in_progress",
"attributes": "{}",
"assessmentResponse": "{}",
"files": {},
"workflowExecutionLog": {
"id": 1,
"workflowId": 101,
"status": "IN_PROGRESS",
"startTime": "2023-01-01T00:00:00Z",
"endTime": "2023-01-01T01:00:00Z",
"attributes": {
"key": "value"
},
"surveyResponseId": 202,
"errors": {
"error": "Some error"
},
"workflow": {
"id": 1,
"name": "text",
"version": "text",
"description": "text",
"createdBy": "text",
"attributes": {},
"consentId": 1,
"workflowType": "text",
"workflowTask": [
{
"id": 1,
"order": 1,
"priority": 1,
"name": "text",
"linkId": "text",
"description": "text",
"taskType": "SURVEY",
"attributes": {},
"workflowId": 1,
"workflowTaskActions": [
{
"action": "text",
"workflowActionTaskId": 1,
"id": 1,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"workflowTaskId": 1,
"attributes": {}
}
]
}
],
"WorkflowTask": [
{
"id": 1,
"order": 1,
"priority": 1,
"name": "text",
"linkId": "text",
"description": "text",
"taskType": "SURVEY",
"attributes": {},
"workflowId": 1,
"workflowTaskActions": [
{
"action": "text",
"workflowActionTaskId": 1,
"id": 1,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"workflowTaskId": 1,
"attributes": {}
}
]
}
]
},
"serviceProvider": {
"id": 1,
"internalId": 1,
"email": "text",
"firstName": "text",
"lastName": "text",
"mobileNumber": "text",
"active": true,
"roles": [
{
"role": "text",
"subRoles": [
"text"
]
}
],
"license": [
{
"stateOfIssuance": "text",
"country": "text"
}
],
"timeZone": "text",
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13",
"organization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": {
"id": 12,
"name": "Azodha",
"urlCode": "dev-azodha",
"apiKey": "1v23-v456-a987",
"accessCode": "asfdg23",
"addresses": [],
"logoId": "118/c7b85a46-0208-4b6b-bb65-476d89d600f01712829554268",
"logoUrl": null,
"description": "This is a test organization",
"attributes": {},
"parentOrganizationId": 23,
"parentOrganization": "[Circular Reference]",
"childOrganizations": "[Circular Reference]",
"organizationSettings": [],
"language": "[Circular Reference]",
"ehrIntegrations": "[Circular Reference]",
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": "[Circular Reference]",
"surveys": "[Circular Reference]",
"observationGroup": "[Circular Reference]",
"healthRecordAttribute": [],
"wearablesApiSync": "[Circular Reference]",
"aiInferenceUseCases": "[Circular Reference]",
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"childOrganizations": [],
"organizationSettings": [],
"language": [],
"ehrIntegrations": [],
"webhookConfiguration": [],
"attributeSchema": [],
"emailTemplate": [],
"organizationResourceIntegration": [],
"surveys": [],
"observationGroup": [],
"healthRecordAttribute": [],
"wearablesApiSync": [],
"aiInferenceUseCases": [],
"workflow": [],
"organizationModuleMapping": []
},
"organizationVerified": null,
"partnerId": 1,
"partner": {
"id": 1,
"organizationId": 1,
"name": "text",
"addressGroup": {
"id": 12,
"name": "Name",
"description": "Lab",
"region": "New York",
"type": "LAB",
"organizationId": 1,
"active": true,
"addressGroupMapping": [],
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-01T00:00:00.000Z",
"addressMappingCount": 1
},
"addressGroupId": 1,
"partnerTypeId": 1,
"attributes": {},
"partnerType": {
"name": "Test Partner Type Name",
"description": "Test Partner Type Description",
"partnerType": "CUSTOM",
"organizationId": 1,
"active": true,
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
"active": true,
"createdAt": "2025-12-13",
"updatedAt": "2025-12-13"
},
"serviceableRadius": 1,
"organizationId": 1,
"careTeamMemberType": [
"PCP"
],
"populationTags": [],
"schedule": {
"providerId": 1,
"defaultScheduleId": 1,
"isAvailable": true,
"availability": [
{
"startDateTime": "2025-12-13",
"endDateTime": "2025-12-13"
}
],
"defaultSchedule": {
"id": 1,
"name": "text",
"default": true,
"type": "DATE_WISE",
"disabled": true,
"serviceProviderId": 1,
"attributes": {},
"periods": [
{
"dayOfWeek": 1,
"startTime": "text",
"endTime": "text",
"belongsToDayOfWeek": 1
}
],
"overrides": [
{
"date": "2025-06-15",
"startTime": "08:00:00",
"endTime": "17:00:00",
"unavailable": true,
"startDateTime": "2025-06-15T08:00:00",
"endDateTime": "2025-06-15T17:00:00",
"externalId": "1234567890"
}
]
}
}
},
"consumer": {
"id": 1,
"organizationId": 123,
"externalId": "ext-12345",
"consumerUuid": "550e8400-e29b-41d4-a716-446655440000",
"authenticationId": "auth-12345",
"firstName": "John",
"lastName": "Doe",
"timeZone": "GMT",
"birthDate": "1990-01-01",
"createdAt": "2023-01-01",
"gender": "Male",
"email": "[email protected]",
"mobileNumber": "+1234567890",
"guardianId": 2,
"guardian": [],
"addressLine1": "123 Main St",
"addressLine2": "Apt 4B",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"currency": "USD",
"country": "USA",
"isPrimary": true,
"isPatient": true,
"relationship": [],
"relationshipType": "SELF",
"dependants": [],
"idProof": {},
"insuranceDetails": {},
"attributes": {},
"addresses": [],
"externalConsumer": [],
"lastLoginAt": "2023-01-01",
"active": true,
"profilePicFileId": 3,
"profilePictureCloudId": "cloud-12345",
"profilePicture": "http://example.com/profile.jpg",
"isWelcomeEmailSent": true,
"forwardRelationship": [],
"referrals": {},
"recordSource": "INTERNAL",
"populationTagIds": [],
"populationTags": [],
"tagsToAdd": [],
"tagsToRemove": [],
"wallets": {},
"careTeams": [],
"relatedConsumerId": 2
},
"surveyResponse": {
"id": 1,
"surveyId": 101,
"appointmentId": 1,
"surveyName": "Health Survey",
"surveyTitle": "Patient Health Questionnaire",
"personId": 200,
"updatedAt": "2023-01-01T00:00:00Z",
"createdAt": "2023-01-01T00:00:00Z",
"text": "{}",
"meta": "{}",
"contained": [],
"extension": [],
"identifier": "{}",
"basedOn": [],
"partOf": [],
"subject": "{}",
"encounter": "{}",
"author": "{}",
"source": "{}",
"implicitRules": "some-rules",
"language": "en",
"questionnaire": "Q12345",
"authored": "2023-01-01T00:00:00Z",
"status": "in_progress",
"attributes": "{}",
"assessmentResponse": "{}",
"files": {},
"workflowExecutionLog": "[Circular Reference]",
"assignedServiceProviders": "[Circular Reference]",
"item": "[Circular Reference]",
"survey": "[Circular Reference]",
"person": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"birthDate": "1990-01-01",
"gender": "MALE",
"mobile": "+1234567890",
"email": "[email protected]",
"uuid": "uuid-1234",
"externalId": "external-1234",
"currency": "USD",
"consumer": "{}",
"serviceProvider": "{}"
},
"workflowAutomationTaskExecutionId": 1,
"financialEntryId": 1
},
"workflowExecutionTaskLog": [],
"active": true
},
"assignedServiceProviders": [],
"item": [],
"survey": {
"id": 12,
"isConsent": true,
"resourceType": "Survey",
"userType": "CONSUMER",
"organizationId": 123,
"url": "http://example.com/survey",
"version": "1.0",
"name": "Customer Satisfaction Survey",
"title": "Customer Satisfaction Survey 2023",
"status": "active",
"experimental": true,
"subjectType": [
"Patient",
"Practitioner"
],
"date": "2023-01-01T00:00:00Z",
"publisher": "Health Organization",
"description": "This survey is intended to gather feedback on customer satisfaction.",
"purpose": "To improve customer service",
"copyRight": "© 2023 Health Organization",
"approvalDate": "2023-01-01T00:00:00Z",
"lastReviewDate": "2023-01-01T00:00:00Z",
"effectivePeriod": {
"start": "2023-01-01T00:00:00Z",
"end": "2023-12-31T23:59:59Z"
},
"item": [
{
"question": "How satisfied are you with our service?"
}
],
"text": "Please answer the following questions.",
"meta": {
"versionId": "1",
"lastUpdated": "2023-01-01T00:00:00Z"
},
"contained": [],
"implicitRules": "http://example.com/rules",
"language": "en",
"identifier": [
{
"system": "http://example.com",
"value": "12345"
}
],
"derivedFrom": [
"http://example.com/source1",
"http://example.com/source2"
],
"contact": [
{
"name": "John Doe",
"email": "[email protected]"
}
],
"useContext": [
{
"code": "context1",
"display": "Context 1"
}
],
"jurisdiction": [
{
"code": "US",
"display": "United States"
}
],
"code": [
{
"code": "code1",
"display": "Code 1"
}
],
"extension": [
{
"url": "http://example.com/extension",
"value": "extensionValue"
}
],
"attributes": {
"attribute1": "value1",
"attribute2": "value2"
},
"contentHtml": "<h1>Survey Content</h1>",
"rewardAmount": null
},
"person": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"birthDate": "1990-01-01",
"gender": "MALE",
"mobile": "+1234567890",
"email": "[email protected]",
"uuid": "uuid-1234",
"externalId": "external-1234",
"currency": "USD",
"consumer": "{}",
"serviceProvider": "{}"
},
"workflowAutomationTaskExecutionId": 1,
"financialEntryId": 1
},
"workflowExecutionTaskLog": [],
"active": true
},
"assignedServiceProviders": [],
"item": [],
"survey": {
"id": 12,
"isConsent": true,
"resourceType": "Survey",
"userType": "CONSUMER",
"organizationId": 123,
"url": "http://example.com/survey",
"version": "1.0",
"name": "Customer Satisfaction Survey",
"title": "Customer Satisfaction Survey 2023",
"status": "active",
"experimental": true,
"subjectType": [
"Patient",
"Practitioner"
],
"date": "2023-01-01T00:00:00Z",
"publisher": "Health Organization",
"description": "This survey is intended to gather feedback on customer satisfaction.",
"purpose": "To improve customer service",
"copyRight": "© 2023 Health Organization",
"approvalDate": "2023-01-01T00:00:00Z",
"lastReviewDate": "2023-01-01T00:00:00Z",
"effectivePeriod": {
"start": "2023-01-01T00:00:00Z",
"end": "2023-12-31T23:59:59Z"
},
"item": [
{
"question": "How satisfied are you with our service?"
}
],
"text": "Please answer the following questions.",
"meta": {
"versionId": "1",
"lastUpdated": "2023-01-01T00:00:00Z"
},
"contained": [],
"implicitRules": "http://example.com/rules",
"language": "en",
"identifier": [
{
"system": "http://example.com",
"value": "12345"
}
],
"derivedFrom": [
"http://example.com/source1",
"http://example.com/source2"
],
"contact": [
{
"name": "John Doe",
"email": "[email protected]"
}
],
"useContext": [
{
"code": "context1",
"display": "Context 1"
}
],
"jurisdiction": [
{
"code": "US",
"display": "United States"
}
],
"code": [
{
"code": "code1",
"display": "Code 1"
}
],
"extension": [
{
"url": "http://example.com/extension",
"value": "extensionValue"
}
],
"attributes": {
"attribute1": "value1",
"attribute2": "value2"
},
"contentHtml": "<h1>Survey Content</h1>",
"rewardAmount": null
},
"person": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"birthDate": "1990-01-01",
"gender": "MALE",
"mobile": "+1234567890",
"email": "[email protected]",
"uuid": "uuid-1234",
"externalId": "external-1234",
"currency": "USD",
"consumer": "{}",
"serviceProvider": "{}"
},
"workflowAutomationTaskExecutionId": 1,
"financialEntryId": 1
},
"workflowExecutionTaskLog": [],
"active": true
}