diff --git a/schemas/TermsDictionary.yaml b/schemas/TermsDictionary.yaml index f2af95c..631a638 100644 --- a/schemas/TermsDictionary.yaml +++ b/schemas/TermsDictionary.yaml @@ -9,9 +9,8 @@ properties: Represents measurements (such as bloodpressure) and snapshot determinations (such as 'who is responsible for Type 2 diabetes chronic care'), based on NHG memocodes. Each key in this object is a full NHG memocode (with no spaces), and each value is an object. That object contains a key/value pair `"num"` containing the NHG numeric code for that memocode, a k/v pair `"text"` containing a dutch human - readable description. If the valid values for this measurement are enumerated, a k/v pair `"nhgVal": true` is present, as well as - key `"nhg-antwoorden"` mapping to an object containing simple k/v pairs where the key contains a number and the value is a dutch human - readable description of that means, such as `"48": "Huisarts"`. + readable description. If the valid values for this measurement are enumerated, a k/v pair `"nhgVal": true` is present. That means the + value of such a measurement can be looked up in the `nhgAnswers` entry. type: object additionalProperties: true example: |- @@ -19,13 +18,19 @@ properties: "DMHBTZ": { "num": 2206, "text": "hoofdbehandelaar diabetes", - "nhgVal": true, - "nhgAnswers": { - "48": "Huisarts", - "49": "Specialist" - } + "nhgVal": true } } + nhgAnswers: + description: |- + Enumerated NHG answers (the answer to any measurements with `"nhgVal": true`) can be looked up here. + type: object + additionalProperties: true + example: |- + { + "48": "Huisarts", + "49": "Specialist" + } icpcs: description: |- Represents diagnoses and medical conditions, based on the ICPC1.1-NL standard. Keys in this object represent ICPC codes, always