Cotton code
132 lines · 3.5 KB · JSONRaw
{  "title": "Settings",  "sections": [    {      "id": "people",      "title": "People",      "rows": [        {          "id": "person:36aceb5f-fc1a-4cbd-9f7a-fd3d584b5eb2",          "label": "Asha Verma · You",          "detail": "Apple Health is yours · Sex Female · Date of birth Not said",          "acts": [            {              "id": "set_sex",              "label": "Set sex",              "method": "health.act",              "request": {                "act": "set_sex",                "person": "36aceb5f-fc1a-4cbd-9f7a-fd3d584b5eb2"              },              "tone": "neutral",              "input": {                "key": "value",                "label": "Sex",                "input": "choice",                "choices": [                  {                    "value": "female",                    "label": "Female"                  },                  {                    "value": "male",                    "label": "Male"                  },                  {                    "value": "",                    "label": "Not said"                  }                ]              }            },            {              "id": "set_born",              "label": "Set date of birth",              "method": "health.act",              "request": {                "act": "set_born",                "person": "36aceb5f-fc1a-4cbd-9f7a-fd3d584b5eb2"              },              "tone": "neutral",              "input": {                "key": "value",                "label": "Date of birth",                "input": "date"              }            }          ]        }      ]    },    {      "id": "apple_health",      "title": "Apple Health",      "rows": [        {          "id": "apple_health",          "label": "Reading Apple Health",          "detail": "Not read yet: clinical records, ECG, hearing tests, symptoms",          "acts": [            {              "id": "connect",              "label": "Read Apple Health",              "method": "health.act",              "request": {                "act": "connect_apple_health"              },              "tone": "neutral"            }          ]        }      ]    },    {      "id": "review",      "title": "Names not yet known",      "rows": [        {          "id": "unknown_names",          "label": "Names not yet known",          "detail": "0 test names"        }      ]    },    {      "id": "about",      "title": "About these records",      "rows": [        {          "id": "record",          "label": "About these records",          "detail": "A record, not advice: values and ranges are as the lab printed them."        },        {          "id": "loinc",          "label": "Codes",          "detail": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc."        }      ]    },    {      "id": "account",      "title": "Account",      "rows": [        {          "id": "account",          "label": "Not signed in",          "acts": [            {              "id": "sign_in",              "label": "Sign in",              "method": "health.act",              "request": {                "act": "sign_in"              },              "tone": "accent"            }          ]        }      ]    }  ]}