# Author: Morgan Price # Date Modified: 20-Feb-2013 Feature: Encode a Query In order to translate an approved research question into something that can be utilized by the network A Network Question Manager should be able to Encode the specified question in the Hub so it can be stored and later executed on the network. Scenario: Valid and GUI Codable Population Question Given a well defined question And approval from Network Governance to encode the question When the Network Question Manager has the defined question Then the Network Question Manage will code the patient population (i.e. denominator) And code the measurement of the sub population of interest (i.e. the numerator). And the Hub will store the query as javascript. Scenario: Valid and Codable Question using Javascript Given a well defined question And support from Network Governance to encode the question But it cannot be described by GUI tools in the Hub When the Network Question Manager has the defined question Then the Network Question Manage will code the query using Javascript And validate the javascript query And store the query in the hub. Scenario: Uncodable Question Given a question that is approved by the Network Governance But it is not well enough defined to be encoded Then the Network Question Manager is unable to encode the question And will need to return the question to the questioner And flag the issues so future questions will be better structured.