Skip to content

Commit 9629844

Browse files
committed
Removing Nationality
1 parent e33400d commit 9629844

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Le Health Data Safe est une initiative à but non lucratif visant la protection
4545
* First Name *
4646
* Last Name *
4747
* Maid name
48-
* Nationality
48+
* Country
4949
* Date of birth *
5050
* City
5151
* Sexe

Technical_flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ They contains personal data with the following streams
3434
- profile
3535
- profile-name: Name / Surname
3636
- event of type "contact/name-surname" & "contact/maiden-name" or "contact/vcard"
37-
- profile-nationality: - event of type "contact/nationality"
37+
- profile-country: - event of type "contact/country"
3838
- profile-date-of-birth: - event of type "date/iso-8601"
3939
- profile-location: - event of type (to be discussed) "contact/vcard" or "location/city"
4040
- profile-sex: - event of type "attributes/biological-sex"

common-data-defs.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const patientBaseStreams = [
33
// profile
44
{id: 'profile', name: 'Profile'},
55
{id: 'profile-name', name: 'Name', parentId: 'profile'},
6-
{id: 'profile-nationality', name: 'Nationality', parentId: 'profile'},
6+
{id: 'profile-country', name: 'Country', parentId: 'profile'},
77
{id: 'profile-date-of-birth', name: 'Date of Birth', parentId: 'profile'},
88
{id: 'profile-location', name: 'Location', parentId: 'profile'},
99
{id: 'profile-sex', name: 'Sex', parentId: 'profile'},
@@ -70,10 +70,10 @@ const formProfileContentBase = [
7070
const formProfileContentX = [
7171
...formProfileContentBase,
7272
{
73-
streamId: 'profile-nationality',
74-
eventType: 'contact/nationality',
73+
streamId: 'profile-address',
74+
eventType: 'contact/country',
7575
type: 'text',
76-
label: 'Nationality',
76+
label: 'Country',
7777
},
7878
{
7979
streamId: 'profile-sex',

dr-controler.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ async function showQuestionnary(questionaryId) {
8282
document.getElementById('questionnary-view').style.display = 'block';
8383
}
8484

85-
const rowItems = ['name', 'surname', 'nationality'];
8685
/**
8786
* Update the patient list
8887
*/

0 commit comments

Comments
 (0)