Maintain Local Nutrition Assessment Questions

Contents Show

The Maintain Local Nutrition Assessment Questions screen is used to add, edit, copy, delete, or view the local-level nutrition assessment questions.

Maintain Local Nutrition Assessment Questions screen

Screen Access

Screen Access

  • Display the System Administration screen > Double-click the Maintain Local Nutrition Assessment Questions list item.

Interface Initialization

Upon initial display of the screen, the following occurs:

  • The title bar text is set to "Maintain Local Nutrition Assessment Questions".

  • The Age Category drop-down list box is disabled and blank.

  • The Breastfeeding Amount drop-down list box is disabled and blank.

  • All other data controls are enabled and blank.

  • The Clear button is visible and enabled as the default.

  • The Search button is visible and enabled as the default.

  • The Move Up button is visible and disabled.

  • The Move Down button is visible and disabled.

  • The Add button is visible and enabled.

  • The Edit button is visible and disabled.

  • The Copy button is visible and disabled.

  • The Delete button is visible and disabled.

  • The OK button is visible and enabled as the default.

  • The Cancel button is visible and enabled as the default.

Screen Elements

Unless otherwise stated below, all controls on the Maintain Local Nutrition Assessment Questions screen are visible and disabled when:

If one or more special conditions exist that affect a control on the Maintain Local Nutrition Assessment Questions screen, the condition(s) are documented for that specific control below.

Questions group box

  Complete the information in the Questions group box.

The group box includes controls that allow you to perform a search or add, edit, copy, or delete a record. The title text of the group box is set to "Questions". The group box consists of the following control(s):

Selection Criteria group box

The group box includes controls that allow you to perform a search. The title text of the group box is set to "Selection Criteria". The group box consists of the following control(s):

Active Date group box

The group box includes controls that allow you to specify the active date(s) for which to search for questions. The title text of the group box is set to "Active Date".

The active dates are not inclusive. For example, if the Before calendar control has a value of 01/03/2012 and the After calendar control has a value of 01/01/2012, only questions with an active date of 01/02/2012 are found. If the After calendar control has a value of 01/02/2012 or 01/03/2012, only questions without an active date are found.

The group box consists of the following control(s):

Before calendar control

Select or enter the date on which to search for questions with an active date before the specified date in the Before calendar control.

The control is initially blank.

After calendar control

Select or enter the date on which to search for questions with an active date after the specified date in the After calendar control.

The control is initially blank.

Inactive Date group box

The group box includes controls that allow you to specify the inactive date(s) for which to search for questions. The title text of the group box is set to "Inactive Date".

The inactive dates are not inclusive. For example, if the Before calendar control has a value of 01/03/2012 and the After calendar control has a value of 01/01/2012, only questions with an Inactive Date of 01/02/2012 are found. If the After calendar control has a value of 01/02/2012 or 01/03/2012, only questions without an Inactive Date are found.

The group box consists of the following control(s):

Before calendar control

Select or enter the date on which to search for questions with an active date before the specified date in the Before calendar control.

The control is initially blank.

After calendar control

Select or enter the date on which to search for questions with an active date after the specified date in the After calendar control.

The control is initially blank.

Name text box

Enter the question name as search criteria in this text box. The text box allows the entry of alphabetic, numeric, and special characters. The maximum number of characters that can be entered in the text box is one hundred (100) characters.

Text text box

Enter the question text as search criteria in this text box. The text box allows the entry of alphabetic, numeric, and special characters. The maximum number of characters that can be entered in the text box is four thousand (4000) characters.

ID text box

Enter the question identification number as search criteria in this text box. The text box allows the entry of numeric characters only. The maximum number of characters that can be entered in the text box is ten (10) characters.

WIC Category drop-down list box

Select the WIC category as search criteria in the drop-down list box. The selection filters the results displayed in the data grid. The drop-down list box is filled with all WIC categories that currently exist in the WICStatus table of the database. The options in the drop-down list box are sorted alphabetically in ascending order. The drop-down list box is initially blank.

Age Category drop-down list box

Select the age category as search criteria in this drop-down list box.

The control is enabled when:

Breastfeeding Amount drop-down list box

Select the amount of breastfeeding as search criteria in this drop-down list box.

The control is enabled when:

Type list box

Select one or more types of questions as search criteria in this list box. This is a multi-select list box.

The list box is populated with nutrition assessment question types from the Reference Dictionary table.

Clear button

Click this button to clear and reset the search information.

It has a mnemonic of "C".

Search button

Click this button to perform a search and filter the results displayed in the data grid based on the filter criteria specified.

When Search is clicked, the data grid refreshes and displays results that match the specified filter criteria.

It has a mnemonic of "S".

If no records can be found to match the specified search criteria, a standard error message (E0050) displays when the button is clicked..

If no information was specified as search criteria, a standard error message (E0328) displays when the button is clicked..

Questions data grid

This data grid contains all the questions defined by the state for all clinics. The data grid contains a row for each question as defined by the search criteria. The records in the data grid cannot be re-sorted. The records are sorted first by question set, which is defined by WIC category and age category (AgeCategory.SortValue) and breastfeeding amount (ReferenceDictionary.SortValue where category = "BFAmount"), and second by the display order specified for each question within the set (InterviewQuestion.SortValue). The initial sort order for a question is the order it is added within its question set. A new question is displayed below all other questions in its set.

Rows for active questions with a jump are displayed with a yellow background if the jump targets a question that is inactive or scheduled to become inactive before the targeting question. The yellow background is also displayed if the jump targets a question that is prior to the targeting question in the sort order.

The data grid consists of the following control(s):

Active Date column

This column displays the active date for each record displayed within the data grid.

The title of the column is set to "Active Date". The information displayed within the column is read-only.

A date in the future indicates the question is scheduled to become active on that date. If this column is blank, it indicates the question is not active and is not scheduled to become active.

Inactive Date column

This column displays the inactive date for each record displayed within the data grid.

The title of the column is set to "Inactive Date". The information displayed within the column is read-only.

A date in the future indicates the question is scheduled to become inactive on that date. If this column is blank, it indicates the question is not inactive and is not scheduled to become active.

WIC Category column

This column displays the WIC category (i.e., Pregnant, Breastfeeding, Non-breastfeeding, Infant, Child) for each record displayed within the data grid.

The title of the column is set to "WIC Category". The information displayed within the column is read-only. The value is taken from the WICSTATUS column of the MEMBER table.

Age Category column

This column displays the age category for each record displayed within the data grid.

The title of the column is set to "Age Category". The information displayed within the column is read-only.

Breastfeeding Amount column

This column displays the breastfeeding amount (i.e., Fully Breastfeeding, Partially BF <= Max, Partially BF > Max, Not Applicable) for each record displayed within the data grid.

The title of the column is set to "Breastfeeding Amount". The information displayed within the column is read-only.

Type column

This column displays the type for each record displayed within the data grid.

The title of the column is set to "Type". The information displayed within the column is read-only.

Name column

This column displays the name of each record displayed within the data grid.

The title of the column is set to "Name". The information displayed within the column is read-only.

Text column

This column displays the text of the question for each record displayed within the data grid.

The title of the column is set to "Text". The information displayed within the column is read-only.

ID column

This column displays the identification number for each record displayed within the data grid.

The title of the column is set to "ID". The information displayed within the column is read-only.

Move Up button

Click the Move Up button (pictured below) to change the sort order of the records in the data grid.

The control is enabled when:

The control is disabled when:

Move Down button

Click the Move Down button (pictured below) to change the sort order of the records in the data grid.

The control is enabled when:

The control is disabled when:

Add button

Click the Add button to add a record to the data grid.

It has a mnemonic of "A".

The Local Nutrition Assessment Question (Page 1) screen displays in Add mode when the button is clicked.

Edit button

Click the Edit button to edit the record currently selected in the data grid.

The control is enabled when:

It has a mnemonic of "E".

Clicking this button saves an edit point.

The Local Nutrition Assessment Question (Page 1) screen displays in Edit mode when the button is clicked.

Copy button

Click the Copy button to copy the record currently selected in the data grid.

The control is enabled when:

It has a mnemonic of "O".

Clicking this button saves an edit point.

The Local Nutrition Assessment Question (Page 1) screen displays in Copy mode when the button is clicked.

Delete button

Click the Delete button to delete the record currently selected in the data grid.

The control is enabled when:

The control is disabled when:

It has a mnemonic of "D".

A question or answer that has been used in a nutrition assessment cannot be deleted. When the button is clicked, a standard error message (E0403) displays if the question is in use.

A standard confirmation message displays when the button is clicked.

When the button is clicked, a standard confirmation message (C0004) displays. The options of Yes and No are available. If Yes is clicked, the record is deleted  from the database, an edit point is saved., and the Maintain Local Nutrition Assessment Questions screen (the current screen) refreshes. If No is clicked, the process cancels and the Maintain Local Nutrition Assessment Questions screen (the current screen) displays.

OK button

  Click the OK button to process the screen.

It is the default button for the screen, unless otherwise noted.

It does not have a mnemonic. Its keyboard shortcut is the Enter key.

Clicking this button saves an edit point.

The System Administration screen displays when the button is clicked.

Cancel button

Click the Cancel button to close the screen without processing or saving data.

It does not have a mnemonic. Its keyboard shortcut is the Esc (escape) key.

If there are unsaved changes on the screen and an attempt to navigate away from the screen occurs, a standard confirmation message (C0002) displays. The options of Yes and No are available. In certain instances, Cancel is also available.

The System Administration screen displays when the button is clicked.

Processing

If data can be validated and saved on the screen, the following processes occur when the screen is processed:

If no data can be validated and saved on the screen:

Data Map

The Data Map defines the values saved for all controls on the screen. If available, any additional notes or comments are displayed in the Notes column.

When an edit point exists, the data displayed on each of the screens included in the Maintain Local Nutrition Assessment Questions function is loaded from the edit point as indicated in the data map below.

Control Label

Control Type

Table. Column

Notes

·

·

InterviewAgencyEditPoint.EditData

Base64 encoded character string that stores information about all data related to the maintenance of state nutrition assessment questions and answers.

When an edit point does not exist, the data displayed on each of the screens included in the Maintain Local Nutrition Assessment Questions function is loaded from the appropriate table as listed below. Additionally, the data map below displays the tables where data is saved.

Control Label

Control Type

Table. Column

Notes

Active Date

group box

·

·

Before

calendar control

·

·

After

calendar control

·

·

Inactive Date

group box

·

·

Before

calendar control

·

·

After

calendar control

·

·

Name

text box

·

·

Text

text box

·

·

ID

text box

·

·

WIC Category

drop-down list box

·

·

Age Category

drop-down list box

·

·

Breastfeeding Amount

drop-down list box

·

·

Type

list box

·

·

Questions

data grid

·

·

Active Date

column

InterviewQuestion.EffectiveDate

·

Inactive Date

column

InterviewQuestion.EndDate

·

WIC Category

column

InterviewAgency.WICStatus

The value displayed is populated from the value in the Description column of the WICStatus table.

Age Category

column

InterviewAgency.AgeCategoryID

The value displayed is populated from the value in the Description column of the AgeCategory table.

Breastfeeding Amount

column

InterviewAgency.AmountBreastfeeding

The value displayed is populated from the value in the Description column of the Reference Dictionary table where category = "BFAmount".

Type

column

InteviewQuestion.QuestionType

The value displayed is populated from the value in the Description column of the Reference Dictionary table where category = "QuestionType".

Name

column

InterviewQuestion.InterviewNameID

The value displayed is populated from the value in the Description column of the InterviewName table.

Text

column

InterviewQuestion.InterviewTextID

The value displayed is populated from the value in the Description column of the InterviewText table.

ID

column

InterviewQuestion.InterviewQuestionID

·

The following data map defines the value saved when the Add, Edit, Copy, or OK button is clicked or when the Yes button is clicked on the confmsg displayed when the Delete button is clicked (the value saved includes all values for all screens included in the Maintain Local Nutrition Assessment Questions function):

Control Label

Control Type

Table. Column

Notes

·

·

InterviewAgencyEditPoint.EditData

Base64 encoded character string that stores information about all data related to the maintenance of state nutrition assessment questions and answers.

The following data map defines the value saved for the controls on the screen:

Control Label

Control Type

Table. Column

Notes

·

·

InterviewQuestion.SortValue

·

|

System Administration