GET api/Village/{village}/CarePlans/Current?withInactive={withInactive}
Get Care Plan instances for the current date
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
withInactive |
If provided, specifies whether to include inactive care plans. Defaults to true. |
boolean |
Default value is True |
village | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CarePlanInstanceModelName | Description | Type | Additional information |
---|---|---|---|
CarePlanInstanceId |
Unique ID of this care plan instance |
globally unique identifier |
None. |
Title |
Care Plan title |
string |
None. |
Frequency |
Frequency the plan should be filled out (Daily = 0, Weekly = 1, Monthly = 2, Annual = 3) |
CarePlanFrequency |
None. |
FrequencyText |
Frequency as text |
string |
None. |
Start |
UTC date for the start of the Care Plan instance period (e.g. 7/12/2016 12:00:00.000 am) |
date |
None. |
End |
UTC date for the end of the Care Plan instance period (e.g. 7/11/2016 11:59:59.999 pm) |
date |
None. |
Updated |
Date/Time the care plan instance was last updated - null if the care plan for the selected period does not exist yet |
date |
None. |
UpdatedById |
Unique ID of the user who updated the care plan instance - null if the care plan for the selected period does not exist yet |
globally unique identifier |
None. |
UpdatedBy |
Name (First L.) of the user who updated the care plan instance - null if the care plan for the selected period does not exist yet |
string |
None. |
VersionId |
Unique ID of the version of the care plan this instance is based on |
globally unique identifier |
None. |
CarePlanId |
Unique ID of the care plan this instance is based on |
globally unique identifier |
None. |
VillageId |
Unique ID of the village |
globally unique identifier |
None. |
ActiveVersion |
Whether or not the care plan version this instance is based on is the currently active care plan version |
boolean |
None. |
Items |
Ordered list of questions w/ responses for this care plan |
Collection of CarePlanItemModel |
None. |
Response Formats
application/json, text/json
[ { "CarePlanInstanceId": "e3f62e33-cf67-4334-93d7-37f9e4a32344", "Title": "sample string 2", "Frequency": 0, "FrequencyText": "Daily", "Start": "2025-06-03T05:35:38.791+00:00", "End": "2025-06-03T05:35:38.791+00:00", "Updated": "2025-06-03T05:35:38.791+00:00", "UpdatedById": "9fc95c6e-4b2f-4a33-83bb-9a95af90305b", "UpdatedBy": "sample string 5", "VersionId": "d4ab44bc-eafc-41a0-86e9-e96f167352ad", "CarePlanId": "fca3193c-d422-43c9-9c4d-4119102077ef", "VillageId": "988d62fa-2a5b-4c96-b3e3-6b5f559898c6", "ActiveVersion": true, "Items": [ { "CarePlanItemId": "38f2fc9e-5f5f-4798-8010-16536549ea00", "CarePlanInstanceId": "767f0690-4b60-432c-85e7-420dbd668f3a", "CarePlanQuestionId": "6ad767e9-8c5c-4ffb-a227-45fc972a610e", "QuestionId": "0b6a388e-6cfd-4a78-8be7-f068ee27052b", "VillageId": "b5912d34-4acf-463b-ba15-ae5b06c98b16", "Question": "sample string 6", "Sequence": 7, "Status": 0, "Updated": "2025-06-03T05:35:38.791+00:00", "UpdatedById": "f6bfeb15-17db-4c8d-a10d-671e1168c502", "UpdatedBy": "sample string 8" }, { "CarePlanItemId": "38f2fc9e-5f5f-4798-8010-16536549ea00", "CarePlanInstanceId": "767f0690-4b60-432c-85e7-420dbd668f3a", "CarePlanQuestionId": "6ad767e9-8c5c-4ffb-a227-45fc972a610e", "QuestionId": "0b6a388e-6cfd-4a78-8be7-f068ee27052b", "VillageId": "b5912d34-4acf-463b-ba15-ae5b06c98b16", "Question": "sample string 6", "Sequence": 7, "Status": 0, "Updated": "2025-06-03T05:35:38.791+00:00", "UpdatedById": "f6bfeb15-17db-4c8d-a10d-671e1168c502", "UpdatedBy": "sample string 8" } ] }, { "CarePlanInstanceId": "e3f62e33-cf67-4334-93d7-37f9e4a32344", "Title": "sample string 2", "Frequency": 0, "FrequencyText": "Daily", "Start": "2025-06-03T05:35:38.791+00:00", "End": "2025-06-03T05:35:38.791+00:00", "Updated": "2025-06-03T05:35:38.791+00:00", "UpdatedById": "9fc95c6e-4b2f-4a33-83bb-9a95af90305b", "UpdatedBy": "sample string 5", "VersionId": "d4ab44bc-eafc-41a0-86e9-e96f167352ad", "CarePlanId": "fca3193c-d422-43c9-9c4d-4119102077ef", "VillageId": "988d62fa-2a5b-4c96-b3e3-6b5f559898c6", "ActiveVersion": true, "Items": [ { "CarePlanItemId": "38f2fc9e-5f5f-4798-8010-16536549ea00", "CarePlanInstanceId": "767f0690-4b60-432c-85e7-420dbd668f3a", "CarePlanQuestionId": "6ad767e9-8c5c-4ffb-a227-45fc972a610e", "QuestionId": "0b6a388e-6cfd-4a78-8be7-f068ee27052b", "VillageId": "b5912d34-4acf-463b-ba15-ae5b06c98b16", "Question": "sample string 6", "Sequence": 7, "Status": 0, "Updated": "2025-06-03T05:35:38.791+00:00", "UpdatedById": "f6bfeb15-17db-4c8d-a10d-671e1168c502", "UpdatedBy": "sample string 8" }, { "CarePlanItemId": "38f2fc9e-5f5f-4798-8010-16536549ea00", "CarePlanInstanceId": "767f0690-4b60-432c-85e7-420dbd668f3a", "CarePlanQuestionId": "6ad767e9-8c5c-4ffb-a227-45fc972a610e", "QuestionId": "0b6a388e-6cfd-4a78-8be7-f068ee27052b", "VillageId": "b5912d34-4acf-463b-ba15-ae5b06c98b16", "Question": "sample string 6", "Sequence": 7, "Status": 0, "Updated": "2025-06-03T05:35:38.791+00:00", "UpdatedById": "f6bfeb15-17db-4c8d-a10d-671e1168c502", "UpdatedBy": "sample string 8" } ] } ]
application/xml, text/xml
<ArrayOfCarePlanInstanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <CarePlanInstanceModel> <ActiveVersion>true</ActiveVersion> <CarePlanId>fca3193c-d422-43c9-9c4d-4119102077ef</CarePlanId> <CarePlanInstanceId>e3f62e33-cf67-4334-93d7-37f9e4a32344</CarePlanInstanceId> <End>2025-06-03T05:35:38.7911029+00:00</End> <Frequency>Daily</Frequency> <Items> <CarePlanItemModel> <CarePlanInstanceId>767f0690-4b60-432c-85e7-420dbd668f3a</CarePlanInstanceId> <CarePlanItemId>38f2fc9e-5f5f-4798-8010-16536549ea00</CarePlanItemId> <CarePlanQuestionId>6ad767e9-8c5c-4ffb-a227-45fc972a610e</CarePlanQuestionId> <Question>sample string 6</Question> <QuestionId>0b6a388e-6cfd-4a78-8be7-f068ee27052b</QuestionId> <Sequence>7</Sequence> <Status>NA</Status> <Updated>2025-06-03T05:35:38.7911029+00:00</Updated> <UpdatedBy>sample string 8</UpdatedBy> <UpdatedById>f6bfeb15-17db-4c8d-a10d-671e1168c502</UpdatedById> <VillageId>b5912d34-4acf-463b-ba15-ae5b06c98b16</VillageId> </CarePlanItemModel> <CarePlanItemModel> <CarePlanInstanceId>767f0690-4b60-432c-85e7-420dbd668f3a</CarePlanInstanceId> <CarePlanItemId>38f2fc9e-5f5f-4798-8010-16536549ea00</CarePlanItemId> <CarePlanQuestionId>6ad767e9-8c5c-4ffb-a227-45fc972a610e</CarePlanQuestionId> <Question>sample string 6</Question> <QuestionId>0b6a388e-6cfd-4a78-8be7-f068ee27052b</QuestionId> <Sequence>7</Sequence> <Status>NA</Status> <Updated>2025-06-03T05:35:38.7911029+00:00</Updated> <UpdatedBy>sample string 8</UpdatedBy> <UpdatedById>f6bfeb15-17db-4c8d-a10d-671e1168c502</UpdatedById> <VillageId>b5912d34-4acf-463b-ba15-ae5b06c98b16</VillageId> </CarePlanItemModel> </Items> <Start>2025-06-03T05:35:38.7911029+00:00</Start> <Title>sample string 2</Title> <Updated>2025-06-03T05:35:38.7911029+00:00</Updated> <UpdatedBy>sample string 5</UpdatedBy> <UpdatedById>9fc95c6e-4b2f-4a33-83bb-9a95af90305b</UpdatedById> <VersionId>d4ab44bc-eafc-41a0-86e9-e96f167352ad</VersionId> <VillageId>988d62fa-2a5b-4c96-b3e3-6b5f559898c6</VillageId> </CarePlanInstanceModel> <CarePlanInstanceModel> <ActiveVersion>true</ActiveVersion> <CarePlanId>fca3193c-d422-43c9-9c4d-4119102077ef</CarePlanId> <CarePlanInstanceId>e3f62e33-cf67-4334-93d7-37f9e4a32344</CarePlanInstanceId> <End>2025-06-03T05:35:38.7911029+00:00</End> <Frequency>Daily</Frequency> <Items> <CarePlanItemModel> <CarePlanInstanceId>767f0690-4b60-432c-85e7-420dbd668f3a</CarePlanInstanceId> <CarePlanItemId>38f2fc9e-5f5f-4798-8010-16536549ea00</CarePlanItemId> <CarePlanQuestionId>6ad767e9-8c5c-4ffb-a227-45fc972a610e</CarePlanQuestionId> <Question>sample string 6</Question> <QuestionId>0b6a388e-6cfd-4a78-8be7-f068ee27052b</QuestionId> <Sequence>7</Sequence> <Status>NA</Status> <Updated>2025-06-03T05:35:38.7911029+00:00</Updated> <UpdatedBy>sample string 8</UpdatedBy> <UpdatedById>f6bfeb15-17db-4c8d-a10d-671e1168c502</UpdatedById> <VillageId>b5912d34-4acf-463b-ba15-ae5b06c98b16</VillageId> </CarePlanItemModel> <CarePlanItemModel> <CarePlanInstanceId>767f0690-4b60-432c-85e7-420dbd668f3a</CarePlanInstanceId> <CarePlanItemId>38f2fc9e-5f5f-4798-8010-16536549ea00</CarePlanItemId> <CarePlanQuestionId>6ad767e9-8c5c-4ffb-a227-45fc972a610e</CarePlanQuestionId> <Question>sample string 6</Question> <QuestionId>0b6a388e-6cfd-4a78-8be7-f068ee27052b</QuestionId> <Sequence>7</Sequence> <Status>NA</Status> <Updated>2025-06-03T05:35:38.7911029+00:00</Updated> <UpdatedBy>sample string 8</UpdatedBy> <UpdatedById>f6bfeb15-17db-4c8d-a10d-671e1168c502</UpdatedById> <VillageId>b5912d34-4acf-463b-ba15-ae5b06c98b16</VillageId> </CarePlanItemModel> </Items> <Start>2025-06-03T05:35:38.7911029+00:00</Start> <Title>sample string 2</Title> <Updated>2025-06-03T05:35:38.7911029+00:00</Updated> <UpdatedBy>sample string 5</UpdatedBy> <UpdatedById>9fc95c6e-4b2f-4a33-83bb-9a95af90305b</UpdatedById> <VersionId>d4ab44bc-eafc-41a0-86e9-e96f167352ad</VersionId> <VillageId>988d62fa-2a5b-4c96-b3e3-6b5f559898c6</VillageId> </CarePlanInstanceModel> </ArrayOfCarePlanInstanceModel>