def get_user_survey(user_survey_id): response = jsonapi.get_resource(db.session, request.args, 'user-surveys', user_survey_id) return jsonify(response.document), response.status
def get_post(post_id): response = jsonapi.get_resource(db.session, request.args, 'core-posts', post_id) return jsonify(response.document), response.status
def get_variant(variant_id): response = jsonapi.get_resource(db, request.args, 'variants', variant_id) return jsonify(response.document), response.status
def get_user(user_id): response = jsonapi.get_resource(db, request.args, 'users', user_id) return jsonify(response.document), response.status
def get_disease(disease_id): response = jsonapi.get_resource(db, request.args, 'diseases', disease_id) return jsonify(response.document), response.status
def get_gene_target(target_id): response = jsonapi.get_resource(db, request.args, 'gene-targets', target_id) return jsonify(response.document), response.status
def get_user(user_id): response = jsonapi.get_resource(db.session, request.args, 'users', user_id) return jsonify(response.document), response.status
def get_subject(subject_id): response = jsonapi.get_resource(db, request.args, 'subjects', subject_id) return jsonify(response.document), response.status
def get_section(section_id): response = jsonapi.get_resource(db, request.args, 'sections', section_id) return jsonify(response.document), response.status
def get_vcf(vcf_id): response = jsonapi.get_resource(db, request.args, 'vcfs', vcf_id) return jsonify(response.document), response.status
def get_call(call_id): response = jsonapi.get_resource(db, request.args, 'calls', call_id) return jsonify(response.document), response.status
def get_report(report_id): response = jsonapi.get_resource(db, request.args, 'reports', report_id) return jsonify(response.document), response.status
def get_core(core_id): response = jsonapi.get_resource(db.session, request.args, 'cores', core_id) return jsonify(response.document), response.status
def get_symptom(symptom_id): response = jsonapi.get_resource(db, request.args, 'symptoms', symptom_id) return jsonify(response.document), response.status
def get_survey_question(question_id): response = jsonapi.get_resource(db.session, request.args, 'survey-questions', question_id) return jsonify(response.document), response.status