From fea0cd9ab4da95128b484c64d33dce2976faa412 Mon Sep 17 00:00:00 2001 From: scarini Date: Wed, 31 Jan 2024 15:36:40 -0800 Subject: [PATCH] Revert "Feature/reference ieee schemas" --- schema/omh/body-fat-percentage-2.0.json | 40 ------------ schema/omh/body-fat-percentage-2.x.json | 1 - schema/omh/body-height-2.0.json | 40 ------------ schema/omh/body-height-2.x.json | 1 - schema/omh/body-location-1.1.json | 27 -------- schema/omh/body-location-1.x.json | 2 +- schema/omh/body-mass-index-3.0.json | 57 ----------------- schema/omh/body-mass-index-3.x.json | 1 - schema/omh/body-temperature-4.0.json | 64 ------------------- schema/omh/body-temperature-4.x.json | 1 - schema/omh/body-weight-3.0.json | 41 ------------ schema/omh/body-weight-3.x.json | 1 - schema/omh/temperature-unit-value-1.0.json | 5 -- .../2.0/shouldFail/empty-document.json | 1 - .../2.0/shouldFail/invalid-unit.json | 9 --- .../2.0/shouldFail/missing-time-frame.json | 6 -- .../shouldPass/body-fat-percentage-only.json | 9 --- .../2.0/shouldPass/with-statistic.json | 13 ---- .../2.0/shouldFail/empty-document.json | 1 - .../2.0/shouldFail/missing-time-frame.json | 6 -- .../2.0/shouldFail/with-part-of-day.json | 12 ---- .../2.0/shouldPass/body-height-only.json | 9 --- .../with-descriptive-statistic.json | 13 ---- .../3.0/shouldFail/empty-document.json | 1 - .../3.0/shouldFail/missing-time-frame.json | 6 -- .../3.0/shouldPass/valid-body-mass-index.json | 9 --- .../3.0/shouldPass/with-everything.json | 13 ---- .../4.0/shouldFail/empty-document.json | 1 - .../4.0/shouldFail/invalid-unit.json | 9 --- .../missing-effective-time-frame.json | 6 -- .../4.0/shouldPass/basal-temperature.json | 10 --- .../valid-temperature-with-statistic.json | 14 ---- .../4.0/shouldPass/valid-temperature.json | 10 --- .../3.0/shouldFail/empty-document.json | 1 - .../invalid-descriptive-statistic.json | 13 ---- .../3.0/shouldFail/invalid-time-frame.json | 10 --- .../3.0/shouldFail/invalid-time-interval.json | 12 ---- .../3.0/shouldFail/invalid-unit.json | 9 --- .../shouldFail/missing-body-weight-unit.json | 8 --- .../shouldFail/missing-body-weight-value.json | 8 --- .../3.0/shouldPass/body-weight-only.json | 9 --- .../with-descriptive-statistic.json | 13 ---- 42 files changed, 1 insertion(+), 521 deletions(-) delete mode 100644 schema/omh/body-fat-percentage-2.0.json delete mode 120000 schema/omh/body-fat-percentage-2.x.json delete mode 100644 schema/omh/body-height-2.0.json delete mode 120000 schema/omh/body-height-2.x.json delete mode 100644 schema/omh/body-location-1.1.json delete mode 100644 schema/omh/body-mass-index-3.0.json delete mode 120000 schema/omh/body-mass-index-3.x.json delete mode 100644 schema/omh/body-temperature-4.0.json delete mode 120000 schema/omh/body-temperature-4.x.json delete mode 100644 schema/omh/body-weight-3.0.json delete mode 120000 schema/omh/body-weight-3.x.json delete mode 100644 test-data/omh/body-fat-percentage/2.0/shouldFail/empty-document.json delete mode 100644 test-data/omh/body-fat-percentage/2.0/shouldFail/invalid-unit.json delete mode 100644 test-data/omh/body-fat-percentage/2.0/shouldFail/missing-time-frame.json delete mode 100644 test-data/omh/body-fat-percentage/2.0/shouldPass/body-fat-percentage-only.json delete mode 100644 test-data/omh/body-fat-percentage/2.0/shouldPass/with-statistic.json delete mode 100644 test-data/omh/body-height/2.0/shouldFail/empty-document.json delete mode 100644 test-data/omh/body-height/2.0/shouldFail/missing-time-frame.json delete mode 100644 test-data/omh/body-height/2.0/shouldFail/with-part-of-day.json delete mode 100644 test-data/omh/body-height/2.0/shouldPass/body-height-only.json delete mode 100644 test-data/omh/body-height/2.0/shouldPass/with-descriptive-statistic.json delete mode 100644 test-data/omh/body-mass-index/3.0/shouldFail/empty-document.json delete mode 100644 test-data/omh/body-mass-index/3.0/shouldFail/missing-time-frame.json delete mode 100644 test-data/omh/body-mass-index/3.0/shouldPass/valid-body-mass-index.json delete mode 100644 test-data/omh/body-mass-index/3.0/shouldPass/with-everything.json delete mode 100644 test-data/omh/body-temperature/4.0/shouldFail/empty-document.json delete mode 100644 test-data/omh/body-temperature/4.0/shouldFail/invalid-unit.json delete mode 100644 test-data/omh/body-temperature/4.0/shouldFail/missing-effective-time-frame.json delete mode 100644 test-data/omh/body-temperature/4.0/shouldPass/basal-temperature.json delete mode 100644 test-data/omh/body-temperature/4.0/shouldPass/valid-temperature-with-statistic.json delete mode 100644 test-data/omh/body-temperature/4.0/shouldPass/valid-temperature.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/empty-document.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/invalid-descriptive-statistic.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/invalid-time-frame.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/invalid-time-interval.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/invalid-unit.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-unit.json delete mode 100644 test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-value.json delete mode 100644 test-data/omh/body-weight/3.0/shouldPass/body-weight-only.json delete mode 100644 test-data/omh/body-weight/3.0/shouldPass/with-descriptive-statistic.json diff --git a/schema/omh/body-fat-percentage-2.0.json b/schema/omh/body-fat-percentage-2.0.json deleted file mode 100644 index b1f98deb..00000000 --- a/schema/omh/body-fat-percentage-2.0.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://w3id.org/openmhealth/schemas/omh/body-fat-percentage-2.0.json", - "description": "This schema represents a person's body fat percentage.", - "type": "object", - "references": [ - { - "description": "The LOINC code represents Body fat percentage:Mass Fraction:Point in time:^Patient:Quantitative:Measured", - "url": "http://purl.bioontology.org/ontology/LNC/41982-0" - } - ], - "definitions": { - "percent-unit_value": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/percent-unit-value-1.0.json" - }, - "time_frame": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/time-frame-1.0.json" - }, - "descriptive_statistic": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/descriptive-statistic-1.0.json" - } - }, - - "properties": { - "body_fat_percentage": { - "$ref": "#/definitions/percent-unit_value" - }, - "effective_time_frame": { - "$ref": "#/definitions/time_frame" - }, - "descriptive_statistic": { - "$ref": "#/definitions/descriptive_statistic" - } - }, - - "required": [ - "body_fat_percentage", - "effective_time_frame" - ] -} \ No newline at end of file diff --git a/schema/omh/body-fat-percentage-2.x.json b/schema/omh/body-fat-percentage-2.x.json deleted file mode 120000 index 310921a7..00000000 --- a/schema/omh/body-fat-percentage-2.x.json +++ /dev/null @@ -1 +0,0 @@ -body-fat-percentage-2.0.json \ No newline at end of file diff --git a/schema/omh/body-height-2.0.json b/schema/omh/body-height-2.0.json deleted file mode 100644 index e740753f..00000000 --- a/schema/omh/body-height-2.0.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://w3id.org/openmhealth/schemas/omh/body-height-2.0.json", - "description": "This schema represents a person's body height.", - "type": "object", - "references": [ - { - "description": "The SNOMED code represents Body height measure (observable entity)", - "url": "http://purl.bioontology.org/ontology/SNOMEDCT/50373000" - } - ], - "definitions": { - "length_unit_value": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/length-unit-value-1.0.json" - }, - "time_frame": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/time-frame-1.0.json" - }, - "descriptive_statistic": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/descriptive-statistic-1.0.json" - } - }, - - "properties": { - "body_height": { - "$ref": "#/definitions/length_unit_value" - }, - "effective_time_frame": { - "$ref": "#/definitions/time_frame" - }, - "descriptive_statistic": { - "$ref": "#/definitions/descriptive_statistic" - } - }, - - "required": [ - "body_height", - "effective_time_frame" - ] -} \ No newline at end of file diff --git a/schema/omh/body-height-2.x.json b/schema/omh/body-height-2.x.json deleted file mode 120000 index 58a1af07..00000000 --- a/schema/omh/body-height-2.x.json +++ /dev/null @@ -1 +0,0 @@ -body-height-2.0.json \ No newline at end of file diff --git a/schema/omh/body-location-1.1.json b/schema/omh/body-location-1.1.json deleted file mode 100644 index 60a5a08e..00000000 --- a/schema/omh/body-location-1.1.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://w3id.org/openmhealth/schemas/omh/body-location-1.1.json", - "description": "A location on the body. This is an incomplete value set. Values from the Anatomical or acquired body structure hierarchy of SNOMED can be added as needed.", - "type": "string", - "references": [ - { - "description": "The SNOMED code represents Anatomical or acquired body structure (body structure)", - "url": "http://purl.bioontology.org/ontology/SNOMEDCT/442083009" - } - ], - - "enum": [ - "left ankle", - "right ankle", - "left hip", - "right hip", - "left thigh", - "right thigh", - "left thorax", - "middle left thorax", - "left upper arm", - "right upper arm", - "left wrist", - "right wrist" - ] -} \ No newline at end of file diff --git a/schema/omh/body-location-1.x.json b/schema/omh/body-location-1.x.json index 887ed0b8..6e965753 120000 --- a/schema/omh/body-location-1.x.json +++ b/schema/omh/body-location-1.x.json @@ -1 +1 @@ -body-location-1.1.json \ No newline at end of file +body-location-1.0.json \ No newline at end of file diff --git a/schema/omh/body-mass-index-3.0.json b/schema/omh/body-mass-index-3.0.json deleted file mode 100644 index a3624c6e..00000000 --- a/schema/omh/body-mass-index-3.0.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://w3id.org/openmhealth/schemas/omh/body-mass-index-3.0.json", - "description": "This schema represents a person's body mass index (BMI)", - "type": "object", - "references": [ - { - "description": "The SNOMED code represents Body mass index (observable entity)", - "url": "http://purl.bioontology.org/ontology/SNOMEDCT/60621009" - } - ], - "definitions": { - "unit_value": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/unit-value-1.0.json" - }, - "time_frame": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/time-frame-1.0.json" - }, - "descriptive_statistic": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/descriptive-statistic-1.0.json" - } - }, - - "properties": { - "body_mass_index": { - "allOf": [ - { - "$ref": "#/definitions/unit_value" - }, - { - "properties": { - "unit": { - "references": [ - { - "description": "The unit of measure the element. Allowed value is drawn from the Areic mass Units Common Synonyms (non-UCUM).", - "url": "http://download.hl7.de/documents/ucum/ucumdata.html" - } - ], - "enum": ["kg/m^2"] - } - } - } - ] - }, - "effective_time_frame": { - "$ref": "#/definitions/time_frame" - }, - "descriptive_statistic": { - "$ref": "#/definitions/descriptive_statistic" - } - }, - - "required": [ - "body_mass_index", - "effective_time_frame" - ] -} \ No newline at end of file diff --git a/schema/omh/body-mass-index-3.x.json b/schema/omh/body-mass-index-3.x.json deleted file mode 120000 index 670881ea..00000000 --- a/schema/omh/body-mass-index-3.x.json +++ /dev/null @@ -1 +0,0 @@ -body-mass-index-3.0.json \ No newline at end of file diff --git a/schema/omh/body-temperature-4.0.json b/schema/omh/body-temperature-4.0.json deleted file mode 100644 index 3331eb22..00000000 --- a/schema/omh/body-temperature-4.0.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://w3id.org/openmhealth/schemas/omh/body-temperature-4.0.json", - "description": "This schema represents a person's body temperature.", - "type": "object", - "references": [ - { - "description": "The SNOMED code represents body temperature (observable entity)", - "url": "http://purl.bioontology.org/ontology/SNOMEDCT/386725007" - } - ], - - "definitions": { - "temperature_unit_value": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/temperature-unit-value-1.0.json" - }, - "time_frame": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/time-frame-1.0.json" - }, - "temporal_relationship_to_sleep": { - "$ref": "temporal-relationship-to-sleep-1.x.json" - }, - "descriptive_statistic": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/descriptive-statistic-1.0.json" - } - }, - - "properties": { - "body_temperature": { - "$ref": "#/definitions/temperature_unit_value" - }, - "effective_time_frame": { - "$ref": "#/definitions/time_frame" - }, - "descriptive_statistic": { - "$ref": "#/definitions/descriptive_statistic" - }, - "measurement_location": { - "description": "The value set is taken from SNOMED CT and LOINC. For common temperature locations, the adjective is used rather than the actual location name (e.g., axillary rather than armpit). Forehead indicates the use of a disposable strip.", - "type": "string", - "enum": [ - "axillary", - "finger", - "forehead", - "oral", - "rectal", - "temporal artery", - "toe", - "tympanic", - "wrist", - "vagina" - ] - }, - - "temporal_relationship_to_sleep": { - "description": "The temporal relationship to sleep of the temperature measurement(s). The lowest body temperature attained during rest, usually estimated by a temperature measurement immediately on waking up and before any physical activity has been undertaken is called basal temperature.", - "$ref": "#/definitions/temporal_relationship_to_sleep" - } - }, - "required": [ - "body_temperature", - "effective_time_frame" - ] -} \ No newline at end of file diff --git a/schema/omh/body-temperature-4.x.json b/schema/omh/body-temperature-4.x.json deleted file mode 120000 index b9e3fbd2..00000000 --- a/schema/omh/body-temperature-4.x.json +++ /dev/null @@ -1 +0,0 @@ -body-temperature-4.0.json \ No newline at end of file diff --git a/schema/omh/body-weight-3.0.json b/schema/omh/body-weight-3.0.json deleted file mode 100644 index de0f942a..00000000 --- a/schema/omh/body-weight-3.0.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://w3id.org/openmhealth/schemas/omh/body-weight-2.0.json", - "description": "This schema represents a person's body weight.", - - "type": "object", - "references": [ - { - "description": "The SNOMED code represents Body weight measure (observable entity)", - "url": "http://purl.bioontology.org/ontology/SNOMEDCT/363808001" - } - ], - "definitions": { - "mass_unit_value": { - "$ref": "mass-unit-value-1.x.json" - }, - "time_frame": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/time-frame-1.0.json" - }, - "descriptive_statistic": { - "$ref": "https://w3id.org/ieee/ieee-1752-schema/descriptive-statistic-1.0.json" - } - }, - - "properties": { - "body_weight": { - "$ref": "#/definitions/mass_unit_value" - }, - "effective_time_frame": { - "$ref": "#/definitions/time_frame" - }, - "descriptive_statistic": { - "$ref": "#/definitions/descriptive_statistic" - } - }, - - "required": [ - "body_weight", - "effective_time_frame" - ] -} \ No newline at end of file diff --git a/schema/omh/body-weight-3.x.json b/schema/omh/body-weight-3.x.json deleted file mode 120000 index 7de0b0ff..00000000 --- a/schema/omh/body-weight-3.x.json +++ /dev/null @@ -1 +0,0 @@ -body-weight-3.0.json \ No newline at end of file diff --git a/schema/omh/temperature-unit-value-1.0.json b/schema/omh/temperature-unit-value-1.0.json index 74d90617..13333c15 100644 --- a/schema/omh/temperature-unit-value-1.0.json +++ b/schema/omh/temperature-unit-value-1.0.json @@ -1,10 +1,5 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "deprecation": { - "reason": "This schema is now deprecated, in favor of the IEEE 1752.1 schema of the same name.", - "supersededBy": "https://w3id.org/ieee/ieee-1752-schema/temperature-unit-value.json", - "date": "2024-01-31" - }, "type": "object", "description": "This schema represents a temperature (intensity of heat)", "references": [ diff --git a/test-data/omh/body-fat-percentage/2.0/shouldFail/empty-document.json b/test-data/omh/body-fat-percentage/2.0/shouldFail/empty-document.json deleted file mode 100644 index 9e26dfee..00000000 --- a/test-data/omh/body-fat-percentage/2.0/shouldFail/empty-document.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/test-data/omh/body-fat-percentage/2.0/shouldFail/invalid-unit.json b/test-data/omh/body-fat-percentage/2.0/shouldFail/invalid-unit.json deleted file mode 100644 index d1c7fb30..00000000 --- a/test-data/omh/body-fat-percentage/2.0/shouldFail/invalid-unit.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_fat_percentage": { - "value": 16, - "unit": "kg" - }, - "effective_time_frame": { - "date_time": "2023-02-05T07:25:00Z" - } -} \ No newline at end of file diff --git a/test-data/omh/body-fat-percentage/2.0/shouldFail/missing-time-frame.json b/test-data/omh/body-fat-percentage/2.0/shouldFail/missing-time-frame.json deleted file mode 100644 index eb45e678..00000000 --- a/test-data/omh/body-fat-percentage/2.0/shouldFail/missing-time-frame.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "body_fat_percentage": { - "value": 16, - "unit": "%" - } -} \ No newline at end of file diff --git a/test-data/omh/body-fat-percentage/2.0/shouldPass/body-fat-percentage-only.json b/test-data/omh/body-fat-percentage/2.0/shouldPass/body-fat-percentage-only.json deleted file mode 100644 index 60831b38..00000000 --- a/test-data/omh/body-fat-percentage/2.0/shouldPass/body-fat-percentage-only.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_fat_percentage": { - "value": 16, - "unit": "%" - }, - "effective_time_frame": { - "date_time": "2023-02-05T07:25:00-08:00" - } -} \ No newline at end of file diff --git a/test-data/omh/body-fat-percentage/2.0/shouldPass/with-statistic.json b/test-data/omh/body-fat-percentage/2.0/shouldPass/with-statistic.json deleted file mode 100644 index d10f72c4..00000000 --- a/test-data/omh/body-fat-percentage/2.0/shouldPass/with-statistic.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "body_fat_percentage": { - "value": 16, - "unit": "%" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2023-01-01T00:00:00Z", - "end_date_time": "2023-12-31T23:59:59Z" - } - }, - "descriptive_statistic": "maximum" -} \ No newline at end of file diff --git a/test-data/omh/body-height/2.0/shouldFail/empty-document.json b/test-data/omh/body-height/2.0/shouldFail/empty-document.json deleted file mode 100644 index 9e26dfee..00000000 --- a/test-data/omh/body-height/2.0/shouldFail/empty-document.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/test-data/omh/body-height/2.0/shouldFail/missing-time-frame.json b/test-data/omh/body-height/2.0/shouldFail/missing-time-frame.json deleted file mode 100644 index 16404a47..00000000 --- a/test-data/omh/body-height/2.0/shouldFail/missing-time-frame.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "body_height": { - "value": 180, - "unit": "cm" - } -} \ No newline at end of file diff --git a/test-data/omh/body-height/2.0/shouldFail/with-part-of-day.json b/test-data/omh/body-height/2.0/shouldFail/with-part-of-day.json deleted file mode 100644 index 40a764eb..00000000 --- a/test-data/omh/body-height/2.0/shouldFail/with-part-of-day.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "body_height": { - "value": 180, - "unit": "cm" - }, - "effective_time_frame": { - "time_interval": { - "date": "2023-02-05", - "part_of_day": "morning" - } - } -} \ No newline at end of file diff --git a/test-data/omh/body-height/2.0/shouldPass/body-height-only.json b/test-data/omh/body-height/2.0/shouldPass/body-height-only.json deleted file mode 100644 index c58a235e..00000000 --- a/test-data/omh/body-height/2.0/shouldPass/body-height-only.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_height": { - "value": 180, - "unit": "cm" - }, - "effective_time_frame": { - "date_time": "2023-02-05T07:25:00Z" - } -} \ No newline at end of file diff --git a/test-data/omh/body-height/2.0/shouldPass/with-descriptive-statistic.json b/test-data/omh/body-height/2.0/shouldPass/with-descriptive-statistic.json deleted file mode 100644 index 77da5825..00000000 --- a/test-data/omh/body-height/2.0/shouldPass/with-descriptive-statistic.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "body_height": { - "value": 180, - "unit": "cm" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2023-01-01T00:00:00Z", - "end_date_time": "2023-12-31T23:59:59Z" - } - }, - "descriptive_statistic": "maximum" -} \ No newline at end of file diff --git a/test-data/omh/body-mass-index/3.0/shouldFail/empty-document.json b/test-data/omh/body-mass-index/3.0/shouldFail/empty-document.json deleted file mode 100644 index 9e26dfee..00000000 --- a/test-data/omh/body-mass-index/3.0/shouldFail/empty-document.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/test-data/omh/body-mass-index/3.0/shouldFail/missing-time-frame.json b/test-data/omh/body-mass-index/3.0/shouldFail/missing-time-frame.json deleted file mode 100644 index 813f0fbb..00000000 --- a/test-data/omh/body-mass-index/3.0/shouldFail/missing-time-frame.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "body_mass_index": { - "value": 16, - "unit": "kg/m^2" - } -} \ No newline at end of file diff --git a/test-data/omh/body-mass-index/3.0/shouldPass/valid-body-mass-index.json b/test-data/omh/body-mass-index/3.0/shouldPass/valid-body-mass-index.json deleted file mode 100644 index f35920a0..00000000 --- a/test-data/omh/body-mass-index/3.0/shouldPass/valid-body-mass-index.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_mass_index": { - "value": 16, - "unit": "kg/m^2" - }, - "effective_time_frame": { - "date_time": "2024-01-01T00:00:00Z" - } -} \ No newline at end of file diff --git a/test-data/omh/body-mass-index/3.0/shouldPass/with-everything.json b/test-data/omh/body-mass-index/3.0/shouldPass/with-everything.json deleted file mode 100644 index 9751cc42..00000000 --- a/test-data/omh/body-mass-index/3.0/shouldPass/with-everything.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "body_mass_index": { - "value": 16, - "unit": "kg/m^2" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2023-01-01T00:00:00Z", - "end_date_time": "2023-12-31T23:59:59Z" - } - }, - "descriptive_statistic": "maximum" -} \ No newline at end of file diff --git a/test-data/omh/body-temperature/4.0/shouldFail/empty-document.json b/test-data/omh/body-temperature/4.0/shouldFail/empty-document.json deleted file mode 100644 index 9e26dfee..00000000 --- a/test-data/omh/body-temperature/4.0/shouldFail/empty-document.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/test-data/omh/body-temperature/4.0/shouldFail/invalid-unit.json b/test-data/omh/body-temperature/4.0/shouldFail/invalid-unit.json deleted file mode 100644 index 2bbe6ad9..00000000 --- a/test-data/omh/body-temperature/4.0/shouldFail/invalid-unit.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_temperature": { - "value": 36, - "unit": "G" - }, - "effective_time_frame": { - "date_time": "2013-02-05T07:25:00Z" - } -} \ No newline at end of file diff --git a/test-data/omh/body-temperature/4.0/shouldFail/missing-effective-time-frame.json b/test-data/omh/body-temperature/4.0/shouldFail/missing-effective-time-frame.json deleted file mode 100644 index 4fb3237e..00000000 --- a/test-data/omh/body-temperature/4.0/shouldFail/missing-effective-time-frame.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "body_temperature": { - "value": 36, - "unit": "C" - } -} \ No newline at end of file diff --git a/test-data/omh/body-temperature/4.0/shouldPass/basal-temperature.json b/test-data/omh/body-temperature/4.0/shouldPass/basal-temperature.json deleted file mode 100644 index 417d61a9..00000000 --- a/test-data/omh/body-temperature/4.0/shouldPass/basal-temperature.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "body_temperature": { - "value": 96.5, - "unit": "F" - }, - "effective_time_frame": { - "date_time": "2023-02-05T06:25:00Z" - }, - "temporal_relationship_to_sleep": "on waking" -} \ No newline at end of file diff --git a/test-data/omh/body-temperature/4.0/shouldPass/valid-temperature-with-statistic.json b/test-data/omh/body-temperature/4.0/shouldPass/valid-temperature-with-statistic.json deleted file mode 100644 index f63886b2..00000000 --- a/test-data/omh/body-temperature/4.0/shouldPass/valid-temperature-with-statistic.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "body_temperature": { - "value": 96.5, - "unit": "F" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2023-02-05T06:00:00-08:00", - "end_date_time": "2020-03-06T06:00:00-08:00" - } - }, - "measurement_location": "oral", - "descriptive_statistic": "maximum" -} \ No newline at end of file diff --git a/test-data/omh/body-temperature/4.0/shouldPass/valid-temperature.json b/test-data/omh/body-temperature/4.0/shouldPass/valid-temperature.json deleted file mode 100644 index 54065675..00000000 --- a/test-data/omh/body-temperature/4.0/shouldPass/valid-temperature.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "body_temperature": { - "value": 97, - "unit": "F" - }, - "effective_time_frame": { - "date_time": "2023-02-05T07:25:00+01:00" - }, - "measurement_location": "forehead" -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/empty-document.json b/test-data/omh/body-weight/3.0/shouldFail/empty-document.json deleted file mode 100644 index 9e26dfee..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/empty-document.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/invalid-descriptive-statistic.json b/test-data/omh/body-weight/3.0/shouldFail/invalid-descriptive-statistic.json deleted file mode 100644 index 07630468..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/invalid-descriptive-statistic.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "body_weight": { - "value": 115.5, - "unit": "lb" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2013-02-05T07:25:00Z", - "end_date_time": "2013-06-05T07:25:00Z" - } - }, - "descriptive_statistic": "minmum" -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/invalid-time-frame.json b/test-data/omh/body-weight/3.0/shouldFail/invalid-time-frame.json deleted file mode 100644 index 0fbc6a7d..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/invalid-time-frame.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "body_weight": { - "value": 50, - "unit": "kg" - }, - "effective_time_frame": { - "start_date_time": "2013-02-05T07:25:00Z" - }, - "descriptive_statistic": "minimum" -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/invalid-time-interval.json b/test-data/omh/body-weight/3.0/shouldFail/invalid-time-interval.json deleted file mode 100644 index 43d255c2..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/invalid-time-interval.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "body_weight": { - "value": 50, - "unit": "kg" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2013-02-05T07:25:00Z" - } - }, - "descriptive_statistic": "minimum" -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/invalid-unit.json b/test-data/omh/body-weight/3.0/shouldFail/invalid-unit.json deleted file mode 100644 index d2c6b5a5..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/invalid-unit.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_weight": { - "value": 50, - "unit": "km" - }, - "effective_time_frame": { - "date_time": "2020-02-05T09:25:00-08:00" - } -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-unit.json b/test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-unit.json deleted file mode 100644 index b92e94e4..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-unit.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "body_weight": { - "value": 50 - }, - "effective_time_frame": { - "date_time": "2020-02-05T09:25:00-08:00" - } -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-value.json b/test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-value.json deleted file mode 100644 index dc766f7e..00000000 --- a/test-data/omh/body-weight/3.0/shouldFail/missing-body-weight-value.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "body_weight": { - "unit": "kg" - }, - "effective_time_frame": { - "date_time": "2020-02-05T09:25:00-08:00" - } -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldPass/body-weight-only.json b/test-data/omh/body-weight/3.0/shouldPass/body-weight-only.json deleted file mode 100644 index 195b0e39..00000000 --- a/test-data/omh/body-weight/3.0/shouldPass/body-weight-only.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "body_weight": { - "value": 50, - "unit": "kg" - }, - "effective_time_frame": { - "date_time": "2020-02-05T09:45:00-08:00" - } -} \ No newline at end of file diff --git a/test-data/omh/body-weight/3.0/shouldPass/with-descriptive-statistic.json b/test-data/omh/body-weight/3.0/shouldPass/with-descriptive-statistic.json deleted file mode 100644 index d4fcd21f..00000000 --- a/test-data/omh/body-weight/3.0/shouldPass/with-descriptive-statistic.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "body_weight": { - "value": 49.5, - "unit": "kg" - }, - "effective_time_frame": { - "time_interval": { - "start_date_time": "2020-02-05T09:45:00-08:00", - "end_date_time": "2020-03-05T10:40:00-08:00" - } - }, - "descriptive_statistic": "minimum" -} \ No newline at end of file