Skip to content

Commit

Permalink
Fix pft_relative_time_point type to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
arschat committed Jul 30, 2024
1 parent fcb3e7e commit 986903a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/jsonBrowser/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ Property name | Description | Type | Required? | Object reference? | User friend
pft_method | Indicate which Pulmonary Function Testings (PFTs) methods were performed. Please indicate all tests performed. | array | no | | Pulmonary Function Testing method | spirometry, plethysmography, DLCO_KCO_test | spirometry; plethysmography; DLCO_KCO_test
pft_age | Indicate the age of the subject at the time point of Pulmonary Function Testing (PFT) in years, if known. | number | no | | Age at Pulmonary Function Test | | 10; 34; 68
pft_time_point | Indicate at which date the Pulmonary Function Testing (PFT) were recorded as YYYY-MM-DD if available. If this information is not shareable, please indicate 'not_shareable'. | string | no | | Date at Pulmonary Function Test | | 2024-11-14; 2019-01-31; not_shareable
pft_relative_time_point | If timepoint of sample collection (time of collection) and/or timepoint of PFT recording (PFT_time_point) is not available, indicate how many days prior or after sample collection the pulmonary function parameters were assessed if available. | string | no | | Days between collection and Pulmonary Function Test | | -5; 2; 0
pft_relative_time_point | If timepoint of sample collection (time of collection) and/or timepoint of PFT recording (pft_time_point) is not available, indicate how many days prior or after sample collection the pulmonary function parameters were assessed if available. | integer | no | | Days between collection and Pulmonary Function Test | | -5; 2; 0
fev1_predicted | Indicate the predicted Forced Expiratory Volume in 1 second (FEV1) in milliliters, based on patient age, sex, height, and ethnicity, if available. | number | no | | FEV1 predicted | | 3500; 4200; 2800
fev1_prebd | Indicate the measured FEV1 in milliliters before the administration of a bronchodilator if available. | number | no | | FEV1 before bronchodilator | | 3000; 3800; 2600
fev1_postbd | Indicate the measured FEV1 in milliliters after the administration of a bronchodilator if available. | number | no | | FEV1 after bronchodilator | | 3200; 4000; 2700
Expand Down
7 changes: 3 additions & 4 deletions json_schema/module/biomaterial/medical_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,11 @@
},
"pft_relative_time_point": {
"user_friendly": "Days between collection and Pulmonary Function Test",
"description": "If timepoint of sample collection (time of collection) and/or timepoint of PFT recording (PFT_time_point) is not available, indicate how many days prior or after sample collection the pulmonary function parameters were assessed if available.",
"type": "string",
"description": "If timepoint of sample collection (time of collection) and/or timepoint of PFT recording (pft_time_point) is not available, indicate how many days prior or after sample collection the pulmonary function parameters were assessed if available.",
"type": "integer",
"example": "-5; 2; 0",
"pattern": "^[\\+\\-]?[0-9]+$",
"$comment": "pulmonary_function_parameter; lung",
"guidelines": "If PFT recording was done before sample collection, then enter a negative day value. If PFT recording was done after sample collection, then enter a positive day value."
"guidelines": "If PFT recording was done before sample collection, then enter a negative day value. If PFT recording was done after sample collection, then enter an unsigned positive day value."

},
"fev1_predicted": {
Expand Down

0 comments on commit 986903a

Please sign in to comment.