I opened the declaration of data_value.value_UInt16 to find more information about the type since the issue was the types it accepted wasn't the type I set it equal to. Turns out it only accepts data types that were been predefined in another header file.
To fix it, I simply looked at the types that it would accept and inserted one of those as seen below;
typedef enum
{
UA_TYPE_Invalid = 0, /**< Invalid type */
UA_TYPE_Boolean = 1, /**< Boolean */
UA_TYPE_SByte = 2, /**< signed byte */
UA_TYPE_Byte = 3, /**< unsigned byte */
UA_TYPE_Int16 = 4, /**< signed 16 bit integer */
UA_TYPE_UInt16 = 5, /**< unsigned 16 bit integer */
UA_TYPE_Int32 = 6, /**< signed 32 bit integer */
UA_TYPE_UInt32 = 7, /**< unsigned 32 bit integer */
UA_TYPE_Int64 = 8, /**< signed 64 bit integer */
UA_TYPE_UInt64 = 9, /**< unsigned 64 bit integer */
UA_TYPE_Float = 10, /**< 32 bit single precision floating point */
UA_TYPE_Double = 11, /**< 64 bit double precision floating point */
UA_TYPE_String = 12, /**< UTF8 string */
UA_TYPE_DateTime = 13, /**< 64 bit signed integer containing date and time */
UA_TYPE_Guid = 14, /**< 16 byte long array of unsigned bytes */
UA_TYPE_ByteString = 15, /**< variable length array of unsigned bytes */
UA_TYPE_XmlElement = 16, /**< UTF8 string containing XML */
UA_TYPE_NodeId = 17, /**< Not supported for application */
UA_TYPE_ExpandedNodeId = 18, /**< Not supported for application */
UA_TYPE_StatusCode = 19, /**< Not supported for application */
UA_TYPE_QualifiedName = 20, /**< Not supported for application */
UA_TYPE_LocalizedText = 21, /**< Not supported for application */
UA_TYPE_ExtensionObject = 22, /**< Not supported for application */
UA_TYPE_DataValue = 23, /**< Not supported for application */
UA_TYPE_Variant = 24, /**< Not supported for application */
UA_TYPE_Range = 884,/**< Not supported for application */
UA_TYPE_EUInformation = 887 /**< Not supported for application */
} UA_Value_type_t;
uint16_t server_value = 0;
if (value_type == UA_TYPE_UInt16)
{
data_value.value_UInt16 = &server_value;
source_timestamp = my_variables[handle - 1].source_timestamp;
status_code = my_variables[handle - 1].status_code;
ADC_SoftwareStartConv(ADC3);