This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API-2835 QuestionnaireResponse synthetic data (#7)
- Loading branch information
1 parent
4ec4672
commit db86088
Showing
6 changed files
with
243 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
patient-generated-data-synthetic/src/test/resources/questionnaireResponse/3141.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"resourceType" : "QuestionnaireResponse", | ||
"id" : "3141", | ||
"text" : { | ||
"status" : "generated", | ||
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"> <pre> Comorbidity? YES Cardial Comorbidity? YES Angina? YES MI? NO Vascular Comorbidity? (no answers) ... Histopathology Abdominal pT category: 1a ... </pre> </div>" | ||
}, | ||
"status" : "completed", | ||
"authored" : "2013-02-19T14:15:00-05:00", | ||
"item" : [ | ||
{ | ||
"linkId" : "1", | ||
"item" : [ | ||
{ | ||
"linkId" : "1.1", | ||
"answer" : [ | ||
{ | ||
"valueCoding" : { | ||
"system" : "http://cancer.questionnaire.org/system/code/yesno", | ||
"code" : "1", | ||
"display" : "Yes" | ||
}, | ||
"item" : [ | ||
{ | ||
"linkId" : "1.1.1", | ||
"item" : [ | ||
{ | ||
"linkId" : "1.1.1.1", | ||
"answer" : [ | ||
{ | ||
"valueCoding" : { | ||
"system" : "http://cancer.questionnaire.org/system/code/yesno", | ||
"code" : "1" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "1.1.1.2", | ||
"answer" : [ | ||
{ | ||
"valueCoding" : { | ||
"system" : "http://cancer.questionnaire.org/system/code/yesno", | ||
"code" : "1" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "1.1.1.3", | ||
"answer" : [ | ||
{ | ||
"valueCoding" : { | ||
"system" : "http://cancer.questionnaire.org/system/code/yesno", | ||
"code" : "0" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
92 changes: 92 additions & 0 deletions
92
patient-generated-data-synthetic/src/test/resources/questionnaireResponse/f201.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"resourceType" : "QuestionnaireResponse", | ||
"id" : "f201", | ||
"text" : { | ||
"status" : "generated", | ||
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: f201</p><p><b>status</b>: completed</p><p><b>subject</b>: <a>Roel</a></p><p><b>authored</b>: 18/06/2013 12:00:00 AM</p><p><b>author</b>: <a>Practitioner/f201</a></p><p><b>source</b>: <a>Practitioner/f201</a></p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 2</p><p><b>text</b>: General questions</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 3</p><p><b>text</b>: Intoxications</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote></div>" | ||
}, | ||
"status" : "completed", | ||
"authored" : "2013-06-18T00:00:00+01:00", | ||
"item" : [ | ||
{ | ||
"linkId" : "1", | ||
"item" : [ | ||
{ | ||
"linkId" : "1.1", | ||
"text" : "Do you have allergies?", | ||
"answer" : [ | ||
{ | ||
"valueString" : "I am allergic to house dust" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "2", | ||
"text" : "General questions", | ||
"item" : [ | ||
{ | ||
"linkId" : "2.1", | ||
"text" : "What is your gender?", | ||
"answer" : [ | ||
{ | ||
"valueString" : "Male" | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "2.2", | ||
"text" : "What is your date of birth?", | ||
"answer" : [ | ||
{ | ||
"valueDate" : "1960-03-13" | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "2.3", | ||
"text" : "What is your country of birth?", | ||
"answer" : [ | ||
{ | ||
"valueString" : "The Netherlands" | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "2.4", | ||
"text" : "What is your marital status?", | ||
"answer" : [ | ||
{ | ||
"valueString" : "married" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "3", | ||
"text" : "Intoxications", | ||
"item" : [ | ||
{ | ||
"linkId" : "3.1", | ||
"text" : "Do you smoke?", | ||
"answer" : [ | ||
{ | ||
"valueString" : "No" | ||
} | ||
] | ||
}, | ||
{ | ||
"linkId" : "3.2", | ||
"text" : "Do you drink alchohol?", | ||
"answer" : [ | ||
{ | ||
"valueString" : "No, but I used to drink" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters