-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[csv-to-docs] Don't generate doc IDs based on URL
This should mean that converting identical CSV for two different servers (e.g. test servers) should create docs with the same _id fields.
- Loading branch information
Showing
9 changed files
with
17 additions
and
19 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
6 changes: 3 additions & 3 deletions
6
...3f1d-9044-5ea3-aa20-b14ad294c819.doc.json → ...215e-25fc-5960-9034-784d920db457.doc.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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"form": "follow_up", | ||
"type": "report", | ||
"chw_id": "df59cf15-043f-5df5-adb0-1b03c6f4c0eb", | ||
"chw_id": "aa2c123f-7824-585c-8880-5f9c09b81e34", | ||
"name": "Charlie Chalk", | ||
"field": { | ||
"z_score": 52, | ||
"happy": true, | ||
"notes": "A boisterous fellow", | ||
"fam": "b8f94f58-5258-5ada-9025-1226ef04bb6e" | ||
"fam": "cc56b63e-aade-5e30-9f06-c4dcd31587ff" | ||
}, | ||
"_id": "08603f1d-9044-5ea3-aa20-b14ad294c819" | ||
"_id": "09e3215e-25fc-5960-9034-784d920db457" | ||
} |
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
4 changes: 2 additions & 2 deletions
4
...cf15-043f-5df5-adb0-1b03c6f4c0eb.doc.json → ...2749-f55d-5ffd-82bb-62bac3758c84.doc.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"type": "person", | ||
"parent": "b8f94f58-5258-5ada-9025-1226ef04bb6e", | ||
"parent": "40f8bfc0-0757-5a7f-ba60-5abe0665b3c8", | ||
"family_name": "Atkins", | ||
"name": "Anna", | ||
"date_of_birth": "1987-12-03T00:00:00.000Z", | ||
"phone": "+447890000001", | ||
"child_count": 1, | ||
"_id": "df59cf15-043f-5df5-adb0-1b03c6f4c0eb" | ||
"_id": "53332749-f55d-5ffd-82bb-62bac3758c84" | ||
} |
6 changes: 3 additions & 3 deletions
6
...4e27-302f-5de0-a0b6-45a4c31c00f4.doc.json → ...35bc-b23a-5b9a-addb-60e9d487e7e3.doc.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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"form": "follow_up", | ||
"type": "report", | ||
"chw_id": "4a4664fe-4db1-59de-a596-952d04a321c2", | ||
"chw_id": "53332749-f55d-5ffd-82bb-62bac3758c84", | ||
"name": "Donnie Darko", | ||
"field": { | ||
"z_score": 64, | ||
"happy": false, | ||
"notes": "A troubled youth", | ||
"fam": "ce75e6e7-a634-5f5d-bcbe-0f3b5fec0c6d" | ||
"fam": "40f8bfc0-0757-5a7f-ba60-5abe0665b3c8" | ||
}, | ||
"_id": "5c7e4e27-302f-5de0-a0b6-45a4c31c00f4" | ||
"_id": "70e235bc-b23a-5b9a-addb-60e9d487e7e3" | ||
} |
4 changes: 2 additions & 2 deletions
4
...64fe-4db1-59de-a596-952d04a321c2.doc.json → ...123f-7824-585c-8880-5f9c09b81e34.doc.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"type": "person", | ||
"parent": "ce75e6e7-a634-5f5d-bcbe-0f3b5fec0c6d", | ||
"parent": "cc56b63e-aade-5e30-9f06-c4dcd31587ff", | ||
"family_name": "Atkins", | ||
"name": "Anna", | ||
"date_of_birth": "1987-12-03T00:00:00.000Z", | ||
"phone": "+447890000001", | ||
"child_count": 1, | ||
"_id": "4a4664fe-4db1-59de-a596-952d04a321c2" | ||
"_id": "aa2c123f-7824-585c-8880-5f9c09b81e34" | ||
} |
4 changes: 2 additions & 2 deletions
4
...3dac-9ca2-5cac-9eb7-bb1238d9247d.doc.json → ...6a09-4c8c-5405-a472-76528f5d682a.doc.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"type": "person", | ||
"parent": "ce75e6e7-a634-5f5d-bcbe-0f3b5fec0c6d", | ||
"parent": "40f8bfc0-0757-5a7f-ba60-5abe0665b3c8", | ||
"family_name": "Burns", | ||
"name": "Beatrice", | ||
"date_of_birth": "1979-01-31T00:00:00.000Z", | ||
"phone": "+447890000002", | ||
"child_count": 2, | ||
"_id": "7cdf3dac-9ca2-5cac-9eb7-bb1238d9247d" | ||
"_id": "aa616a09-4c8c-5405-a472-76528f5d682a" | ||
} |
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