Skip to content

Commit 81f48e6

Browse files
committed
Rename 'study profile era' to 'study profile'
1 parent 3576e53 commit 81f48e6

File tree

13 files changed

+136
-136
lines changed

13 files changed

+136
-136
lines changed

pseudoVet-backend/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
# the datasets directory prefix
4949
DATASET_PREFIX = 'Dataset'
5050

51-
# the code of the default study profile era
52-
DEFAULT_STUDY_PROFILE_ERA_CODE = 'world_war_ii'
51+
# the code of the default study profile
52+
DEFAULT_STUDY_PROFILE_CODE = 'world_war_ii'
5353

5454
# the minimum age of generated patients on study profile start
5555
MIN_PATIENT_AGE_ON_STUDY_PROFILE_START = 18

pseudoVet-backend/docs/pseudoVet-backend.postman_collection.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"body": {
2323
"mode": "raw",
24-
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfileEra\":{\n\t\t\"studyProfileEra\":\"World War III\"\n\t},\n\t\"maleRatio\":20,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosisRisk\": 50,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 50,\n\t\t\t\"icd10Code\":\"I25\",\n\t\t\t\"name\":\"Chronic ischemic heart disease\"\n\t\t}\n\t]\n}"
24+
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfile\":{\n\t\t\"studyProfile\":\"World War III\"\n\t},\n\t\"maleRatio\":20,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosisRisk\": 50,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 50,\n\t\t\t\"icd10Code\":\"I25\",\n\t\t\t\"name\":\"Chronic ischemic heart disease\"\n\t\t}\n\t]\n}"
2525
},
2626
"url": "{{URL}}/datasetConfigurations"
2727
},
@@ -39,7 +39,7 @@
3939
],
4040
"body": {
4141
"mode": "raw",
42-
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfileEra\":{\n\t\t\"studyProfileEra\":\"World War II\"\n\t},\n\t\"femaleRatio\":30,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n \t\t\"numberOfEncounters\": 3,\n\t\t\t\"icd10Code\":\"ZSDS\",\n\t\t\t\"name\":\"Unknown disease\"\n\t\t}\n\t]\n}"
42+
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfile\":{\n\t\t\"studyProfile\":\"World War II\"\n\t},\n\t\"femaleRatio\":30,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n \t\t\"numberOfEncounters\": 3,\n\t\t\t\"icd10Code\":\"ZSDS\",\n\t\t\t\"name\":\"Unknown disease\"\n\t\t}\n\t]\n}"
4343
},
4444
"url": "{{URL}}/datasetConfigurations"
4545
},
@@ -57,7 +57,7 @@
5757
],
5858
"body": {
5959
"mode": "raw",
60-
"raw": "{\r\n \"title\": \"config-01\",\r\n \"maleRatio\": 60,\r\n \"morbiditiesData\": [\r\n {\r\n \"exclusionRules\": \"gender == 'Female' or (gender == 'Male' and total_age <= 20)\",\r\n \"name\": \"Chronic ischemic heart disease\",\r\n \"numberOfEncounters\": 2\r\n },\r\n {\r\n \"exclusionRules\": \"gender == 'Male'\",\r\n \"icd10Code\": \"F33\",\r\n \"name\": \"Major depressive disorder, recurrent\",\r\n \"percentOfPopulationWithDiagnosisRisk\": 90,\r\n \"percentOfProbabilityToAcquireDiagnosis\": 90\r\n },\r\n {\r\n \"icd10Code\": \"Z60.2\",\r\n \"name\": \"Problems related to living alone\",\r\n \"numberOfEncounters\": 10\r\n }\r\n ],\r\n \"numberOfPatients\": 10,\r\n \"outputFolder\": \"./output/generatedDatasets\",\r\n \"studyProfileEra\": {\r\n \"studyProfileEra\": \"World War II\",\r\n \"studyProfileEraCode\": \"world_war_ii\",\r\n \"studyProfileEraEndDate\": \"Tue, 31 Dec 1946 00:00:00 GMT\",\r\n \"studyProfileEraStartDate\": \"Sun, 07 Dec 1941 00:00:00 GMT\"\r\n },\r\n \"year\": 1980\r\n}"
60+
"raw": "{\r\n \"title\": \"config-01\",\r\n \"maleRatio\": 60,\r\n \"morbiditiesData\": [\r\n {\r\n \"exclusionRules\": \"gender == 'Female' or (gender == 'Male' and total_age <= 20)\",\r\n \"name\": \"Chronic ischemic heart disease\",\r\n \"numberOfEncounters\": 2\r\n },\r\n {\r\n \"exclusionRules\": \"gender == 'Male'\",\r\n \"icd10Code\": \"F33\",\r\n \"name\": \"Major depressive disorder, recurrent\",\r\n \"percentOfPopulationWithDiagnosisRisk\": 90,\r\n \"percentOfProbabilityToAcquireDiagnosis\": 90\r\n },\r\n {\r\n \"icd10Code\": \"Z60.2\",\r\n \"name\": \"Problems related to living alone\",\r\n \"numberOfEncounters\": 10\r\n }\r\n ],\r\n \"numberOfPatients\": 10,\r\n \"outputFolder\": \"./output/generatedDatasets\",\r\n \"studyProfile\": {\r\n \"studyProfile\": \"World War II\",\r\n \"studyProfileCode\": \"world_war_ii\",\r\n \"studyProfileEndDate\": \"Tue, 31 Dec 1946 00:00:00 GMT\",\r\n \"studyProfileStartDate\": \"Sun, 07 Dec 1941 00:00:00 GMT\"\r\n },\r\n \"year\": 1980\r\n}"
6161
},
6262
"url": "{{URL}}/datasetConfigurations"
6363
},
@@ -75,7 +75,7 @@
7575
],
7676
"body": {
7777
"mode": "raw",
78-
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfileEra\":{\n\t\t\"studyProfileEra\":\"World War II\"\n\t},\n\t\"femaleRatio\":30.1,\n\t\"maleRatio\":20.1,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosis\": 0,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 0,\n \t\t\"numberOfEncounters\": 0,\n \t\t\"exclusionRules\": \"gender == 'male' || (gender == 'female' && age <= 20)\",\n\t\t\t\"icd10Code\":\"I25\"\n\t\t}\n\t]\n}"
78+
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfile\":{\n\t\t\"studyProfile\":\"World War II\"\n\t},\n\t\"femaleRatio\":30.1,\n\t\"maleRatio\":20.1,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosis\": 0,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 0,\n \t\t\"numberOfEncounters\": 0,\n \t\t\"exclusionRules\": \"gender == 'male' || (gender == 'female' && age <= 20)\",\n\t\t\t\"icd10Code\":\"I25\"\n\t\t}\n\t]\n}"
7979
},
8080
"url": {
8181
"raw": "{{URL}}/datasetConfigurations?title=config-sdsdsd",
@@ -132,7 +132,7 @@
132132
"raw": ""
133133
},
134134
"url": {
135-
"raw": "{{URL}}/morbidities?studyProfileEra=World War III",
135+
"raw": "{{URL}}/morbidities?studyProfile=World War III",
136136
"host": [
137137
"{{URL}}"
138138
],
@@ -141,7 +141,7 @@
141141
],
142142
"query": [
143143
{
144-
"key": "studyProfileEra",
144+
"key": "studyProfile",
145145
"value": "World War III"
146146
}
147147
]
@@ -150,7 +150,7 @@
150150
"response": []
151151
},
152152
{
153-
"name": "{{URL}}/morbidities - no study profile era",
153+
"name": "{{URL}}/morbidities - no study profile",
154154
"request": {
155155
"method": "GET",
156156
"header": [],
@@ -203,14 +203,14 @@
203203
],
204204
"body": {
205205
"mode": "raw",
206-
"raw": "{\r\n \"title\": \"config-01\",\r\n \"maleRatio\": 10,\r\n \"morbiditiesData\": [\r\n {\r\n \"exclusionRules\": \"gender == 'Female' or (gender == 'Male' and total_age <= 20)\",\r\n \"icd10Code\": \"I25\",\r\n \"numberOfEncounters\": 2\r\n },\r\n {\r\n \"exclusionRules\": \"gender == 'Male'\",\r\n \"icd10Code\": \"F33\",\r\n \"percentOfPopulationWithDiagnosisRisk\": 90,\r\n \"percentOfProbabilityToAcquireDiagnosis\": 90\r\n },\r\n {\r\n \"icd10Code\": \"Z60.2\",\r\n \"numberOfEncounters\": 10\r\n }\r\n ],\r\n \"numberOfPatients\": 10,\r\n \"outputFolder\": \"./output/generatedDatasets\",\r\n \"studyProfileEra\": {\r\n \"studyProfileEra\": \"World War II\",\r\n \"studyProfileEraCode\": \"world_war_ii\",\r\n \"studyProfileEraEndDate\": \"Tue, 31 Dec 1946 00:00:00 GMT\",\r\n \"studyProfileEraStartDate\": \"Sun, 07 Dec 1941 00:00:00 GMT\"\r\n },\r\n \"outputFormat\":\"FHIR-JSON\",\r\n \"year\": 1980\r\n}"
206+
"raw": "{\r\n \"title\": \"config-01\",\r\n \"maleRatio\": 10,\r\n \"morbiditiesData\": [\r\n {\r\n \"exclusionRules\": \"gender == 'Female' or (gender == 'Male' and total_age <= 20)\",\r\n \"icd10Code\": \"I25\",\r\n \"numberOfEncounters\": 2\r\n },\r\n {\r\n \"exclusionRules\": \"gender == 'Male'\",\r\n \"icd10Code\": \"F33\",\r\n \"percentOfPopulationWithDiagnosisRisk\": 90,\r\n \"percentOfProbabilityToAcquireDiagnosis\": 90\r\n },\r\n {\r\n \"icd10Code\": \"Z60.2\",\r\n \"numberOfEncounters\": 10\r\n }\r\n ],\r\n \"numberOfPatients\": 10,\r\n \"outputFolder\": \"./output/generatedDatasets\",\r\n \"studyProfile\": {\r\n \"studyProfile\": \"World War II\",\r\n \"studyProfileCode\": \"world_war_ii\",\r\n \"studyProfileEndDate\": \"Tue, 31 Dec 1946 00:00:00 GMT\",\r\n \"studyProfileStartDate\": \"Sun, 07 Dec 1941 00:00:00 GMT\"\r\n },\r\n \"outputFormat\":\"FHIR-JSON\",\r\n \"year\": 1980\r\n}"
207207
},
208208
"url": "{{URL}}/datasetConfigurations"
209209
},
210210
"response": []
211211
},
212212
{
213-
"name": "{{URL}}/datasetConfigurations - using morbidity missing in study profile era",
213+
"name": "{{URL}}/datasetConfigurations - using morbidity missing in study profile",
214214
"request": {
215215
"method": "PUT",
216216
"header": [
@@ -221,7 +221,7 @@
221221
],
222222
"body": {
223223
"mode": "raw",
224-
"raw": "{\r\n \"title\": \"config-02\",\r\n \"maleRatio\": 60,\r\n \"morbiditiesData\": [\r\n {\r\n \"icd10Code\": \"L400\",\r\n \"numberOfEncounters\": 2\r\n }\r\n ],\r\n \"numberOfPatients\": 10,\r\n \"outputFolder\": \"./output/generatedDatasets\",\r\n \"studyProfileEra\": {\r\n \"studyProfileEra\": \"World War II\",\r\n \"studyProfileEraCode\": \"world_war_ii\",\r\n \"studyProfileEraEndDate\": \"Tue, 31 Dec 1946 00:00:00 GMT\",\r\n \"studyProfileEraStartDate\": \"Sun, 07 Dec 1941 00:00:00 GMT\"\r\n },\r\n \"year\": 1980\r\n}"
224+
"raw": "{\r\n \"title\": \"config-02\",\r\n \"maleRatio\": 60,\r\n \"morbiditiesData\": [\r\n {\r\n \"icd10Code\": \"L400\",\r\n \"numberOfEncounters\": 2\r\n }\r\n ],\r\n \"numberOfPatients\": 10,\r\n \"outputFolder\": \"./output/generatedDatasets\",\r\n \"studyProfile\": {\r\n \"studyProfile\": \"World War II\",\r\n \"studyProfileCode\": \"world_war_ii\",\r\n \"studyProfileEndDate\": \"Tue, 31 Dec 1946 00:00:00 GMT\",\r\n \"studyProfileStartDate\": \"Sun, 07 Dec 1941 00:00:00 GMT\"\r\n },\r\n \"year\": 1980\r\n}"
225225
},
226226
"url": "{{URL}}/datasetConfigurations"
227227
},
@@ -239,7 +239,7 @@
239239
],
240240
"body": {
241241
"mode": "raw",
242-
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfileEra\":{\n\t\t\"studyProfileEra\":\"World War II\"\n\t},\n\t\"femaleRatio\":30.1,\n\t\"maleRatio\":20.1,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosis\": 0,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 0,\n \t\t\"numberOfEncounters\": 0,\n \t\t\"exclusionRules\": \"gender == 'male' || (gender == 'female' && age <= 20)\",\n\t\t\t\"icd10Code\":\"I25\"\n\t\t}\n\t]\n}"
242+
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfile\":{\n\t\t\"studyProfile\":\"World War II\"\n\t},\n\t\"femaleRatio\":30.1,\n\t\"maleRatio\":20.1,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosis\": 0,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 0,\n \t\t\"numberOfEncounters\": 0,\n \t\t\"exclusionRules\": \"gender == 'male' || (gender == 'female' && age <= 20)\",\n\t\t\t\"icd10Code\":\"I25\"\n\t\t}\n\t]\n}"
243243
},
244244
"url": {
245245
"raw": "{{URL}}/datasetConfigurations?title=config-01",
@@ -271,7 +271,7 @@
271271
],
272272
"body": {
273273
"mode": "raw",
274-
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfileEra\":{\n\t\t\"studyProfileEra\":\"World War II\"\n\t},\n\t\"femaleRatio\":30.1,\n\t\"maleRatio\":20.1,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosis\": 0,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 0,\n \t\t\"numberOfEncounters\": 0,\n \t\t\"exclusionRules\": \"gender == 'male' || (gender == 'female' && age <= 20)\",\n\t\t\t\"icd10Code\":\"I25\"\n\t\t}\n\t]\n}"
274+
"raw": "{\n\t\"title\":\"config-01\",\n\t\"studyProfile\":{\n\t\t\"studyProfile\":\"World War II\"\n\t},\n\t\"femaleRatio\":30.1,\n\t\"maleRatio\":20.1,\n\t\"numberOfPatients\":13,\n\t\"year\":1993,\n\t\"morbiditiesData\":[\n\t\t{\n\t\t\t\"percentOfPopulationWithDiagnosis\": 0,\n \t\t\"percentOfProbabilityToAcquireDiagnosis\": 0,\n \t\t\"numberOfEncounters\": 0,\n \t\t\"exclusionRules\": \"gender == 'male' || (gender == 'female' && age <= 20)\",\n\t\t\t\"icd10Code\":\"I25\"\n\t\t}\n\t]\n}"
275275
},
276276
"url": "{{URL}}/datasetConfigurations"
277277
},
@@ -329,15 +329,15 @@
329329
"response": []
330330
},
331331
{
332-
"name": "{{URL}}/studyProfileEras",
332+
"name": "{{URL}}/studyProfiles",
333333
"request": {
334334
"method": "GET",
335335
"header": [],
336336
"body": {
337337
"mode": "raw",
338338
"raw": ""
339339
},
340-
"url": "{{URL}}/studyProfileEras"
340+
"url": "{{URL}}/studyProfiles"
341341
},
342342
"response": []
343343
},
@@ -351,7 +351,7 @@
351351
"raw": ""
352352
},
353353
"url": {
354-
"raw": "{{URL}}/morbidities?studyProfileEra=World War II",
354+
"raw": "{{URL}}/morbidities?studyProfile=World War II",
355355
"host": [
356356
"{{URL}}"
357357
],
@@ -360,7 +360,7 @@
360360
],
361361
"query": [
362362
{
363-
"key": "studyProfileEra",
363+
"key": "studyProfile",
364364
"value": "World War II"
365365
}
366366
]

pseudoVet-backend/docs/swagger.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,15 @@ paths:
237237
get:
238238
summary: Get morbidities.
239239
description: |
240-
Get all morbidities for study profile era.
240+
Get all morbidities for study profile.
241241
tags:
242242
- DatasourcesData
243243
parameters:
244-
- name: studyProfileEra
244+
- name: studyProfile
245245
in: query
246246
type: string
247247
required: true
248-
description: the study profile era
248+
description: the study profile
249249
responses:
250250
'200':
251251
description: The operation succeeded. The entities will be returned.
@@ -265,11 +265,11 @@ paths:
265265
the operation failed on the server side
266266
schema:
267267
$ref: '#/definitions/Error'
268-
/studyProfileEras:
268+
/studyProfiles:
269269
get:
270-
summary: Get all study profile eras.
270+
summary: Get all study profiles.
271271
description: |
272-
Get all study profile eras.
272+
Get all study profiles.
273273
tags:
274274
- DatasourcesData
275275
responses:
@@ -297,7 +297,7 @@ definitions:
297297
title:
298298
type: string
299299
description: The title.
300-
studyProfileEra:
300+
studyProfile:
301301
$ref: '#/definitions/StudyProfileEraInfo'
302302
numberOfPatients:
303303
type: integer
@@ -329,20 +329,20 @@ definitions:
329329
description: The report end year.
330330
StudyProfileEraInfo:
331331
properties:
332-
studyProfileEra:
332+
studyProfile:
333333
type: string
334-
description: The name of the study profile era.
335-
studyProfileEraCode:
334+
description: The name of the study profile.
335+
studyProfileCode:
336336
type: string
337-
description: The code of the study profile era.
338-
studyProfileEraStartDate:
337+
description: The code of the study profile.
338+
studyProfileStartDate:
339339
type: string
340340
format: date
341-
description: The start date of the study profile era.
342-
studyProfileEraEndDate:
341+
description: The start date of the study profile.
342+
studyProfileEndDate:
343343
type: string
344344
format: date
345-
description: The end date of the study profile era.
345+
description: The end date of the study profile.
346346
MorbidityData:
347347
properties:
348348
name:

pseudoVet-backend/output/datasetConfigurations/DatasetConfiguration.config-01.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
}
4040
],
4141
"title": "config-01",
42-
"studyProfileEra": {
43-
"studyProfileEra": "World War II",
44-
"studyProfileEraCode": "world_war_ii",
45-
"studyProfileEraEndDate": "Tue, 31 Dec 1946 00:00:00 GMT",
46-
"studyProfileEraStartDate": "Sun, 07 Dec 1941 00:00:00 GMT"
42+
"studyProfile": {
43+
"studyProfile": "World War II",
44+
"studyProfileCode": "world_war_ii",
45+
"studyProfileEndDate": "Tue, 31 Dec 1946 00:00:00 GMT",
46+
"studyProfileStartDate": "Sun, 07 Dec 1941 00:00:00 GMT"
4747
},
4848
"year": 1980
4949
}

pseudoVet-backend/output/datasetConfigurations/DatasetConfiguration.config-02.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
}
2424
],
2525
"title": "config-02",
26-
"studyProfileEra": {
27-
"studyProfileEra": "World War II",
28-
"studyProfileEraCode": "world_war_ii",
29-
"studyProfileEraEndDate": "Tue, 31 Dec 1946 00:00:00 GMT",
30-
"studyProfileEraStartDate": "Sun, 07 Dec 1941 00:00:00 GMT"
26+
"studyProfile": {
27+
"studyProfile": "World War II",
28+
"studyProfileCode": "world_war_ii",
29+
"studyProfileEndDate": "Tue, 31 Dec 1946 00:00:00 GMT",
30+
"studyProfileStartDate": "Sun, 07 Dec 1941 00:00:00 GMT"
3131
},
3232
"year": 1980
3333
}

pseudoVet-backend/pseudo_vets_cli.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
-c path Path to the dataset configuration file.
1212
-t title Title of dataset configuration to be used.
1313
At maximum one of -c and -t switches is expected to be specified.
14-
-s code Code of study profile era for which records are created.
14+
-s code Code of study profile for which records are created.
1515
E.g. world_war_ii, vietnam_war, korean_conflict or gulf_war.
1616
Can override value specified in dataset configuration file.
1717
Default is world_war_ii.
@@ -38,7 +38,7 @@
3838

3939
from rest.logger import logger
4040
from rest.errors import EntityNotFoundError
41-
from config import GENERATED_DATASETS_DIR, DEFAULT_STUDY_PROFILE_ERA_CODE
41+
from config import GENERATED_DATASETS_DIR, DEFAULT_STUDY_PROFILE_CODE
4242
from randomizer.pseudo_vets import generate_from_config
4343

4444
from rest.services.dataset_configuration_service import read_configuration_from_file
@@ -111,13 +111,13 @@
111111
logger.error('End year is expected to be positive integer, but {0} is specified'.format(end_year))
112112
exit(1)
113113

114-
# process -s switch with study profile era code
114+
# process -s switch with study profile code
115115
study_profile_code = options['-s']
116116
if study_profile_code:
117-
config['studyProfileEra'] = {'studyProfileEraCode': study_profile_code}
118-
elif 'studyProfileEra' not in config:
117+
config['studyProfile'] = {'studyProfileCode': study_profile_code}
118+
elif 'studyProfile' not in config:
119119
# use World War II by default
120-
config['studyProfileEra'] = {'studyProfileEraCode': DEFAULT_STUDY_PROFILE_ERA_CODE}
120+
config['studyProfile'] = {'studyProfileCode': DEFAULT_STUDY_PROFILE_CODE}
121121

122122
# process -o switch with output folder path
123123
if options['-o']:

pseudoVet-backend/randomizer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Options:
6262
-c path Path to the dataset configuration file.
6363
-t title Title of dataset configuration to be used.
6464
At maximum one of -c and -t switches is expected to be specified.
65-
-s code Code of study profile era for which records are created.
65+
-s code Code of study profile for which records are created.
6666
E.g. world_war_ii, vietnam_war, korean_conflict or gulf_war.
6767
Can override value specified in dataset configuration file.
6868
Default is world_war_ii.

0 commit comments

Comments
 (0)