From 9367a0020847678900be1cd77f01f1aa8ae03e80 Mon Sep 17 00:00:00 2001 From: Dmitry Kachaev Date: Sat, 31 May 2014 22:31:54 -0400 Subject: [PATCH] Updated models docs --- docs/sections/results.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/sections/results.md b/docs/sections/results.md index 634ba1c7..f0204447 100644 --- a/docs/sections/results.md +++ b/docs/sections/results.md @@ -3,6 +3,13 @@ ###Object Schema: ``` var Result = { + "name": {type: string, required: true}, + "code": {type: string, required: true}, + "code_system_name": {type: string, required: true}, + "results": [{cda_result}] + } + +var cda_result = { "date": [{cda_date}], "identifiers": [{cda_id}], "status": {type: string, required: true}, @@ -17,11 +24,6 @@ var Result = { "low_unit": {type: string, required: false}, "high_value": {type: string, required: false}, "high_unit": {type: string, required: false} - }, - "category": { - "name": {type: string, required: true}, - "code": {type: string, required: true}, - "code_system_name": {type: string, required: true} } } ```