diff --git a/tests/output/kitchen_sink_inst_01.json b/tests/output/kitchen_sink_inst_01.json new file mode 100644 index 0000000..9ef2fac --- /dev/null +++ b/tests/output/kitchen_sink_inst_01.json @@ -0,0 +1,59 @@ +{ + "activities": [ + { + "id": "A:1", + "started_at_time": "2019-01-01", + "was_associated_with": "Agent:987" + } + ], + "companies": [ + { + "id": "ROR:1", + "name": "foo" + } + ], + "persons": [ + { + "age_in_years": 33, + "id": "P:001", + "name": "fred bloggs" + }, + { + "addresses": [ + { + "city": "foo city", + "street": "1 foo street" + } + ], + "has_employment_history": [ + { + "employed_at": "ROR:1", + "is_current": true, + "started_at_time": "2019-01-01" + } + ], + "has_familial_relationships": [ + { + "related_to": "P:001", + "type": "SIBLING_OF" + } + ], + "has_medical_history": [ + { + "diagnosis": { + "id": "CODE:D0001", + "name": "headache" + }, + "in_location": "GEO:1234", + "procedure": { + "id": "CODE:P0001", + "name": "trepanation" + }, + "started_at_time": "2019-01-01" + } + ], + "id": "P:002", + "name": "joe schmoe" + } + ] +} \ No newline at end of file diff --git a/tests/output/kitchen_sink_inst_01.patched.yaml b/tests/output/kitchen_sink_inst_01.patched.yaml new file mode 100644 index 0000000..4afd1bd --- /dev/null +++ b/tests/output/kitchen_sink_inst_01.patched.yaml @@ -0,0 +1,36 @@ +# Test data +persons: +- id: P:001 + name: fred bloggs + age_in_years: 33 +- id: P:002 + name: joe schmoe + has_employment_history: + # joe's history + - employed_at: ROR:1 + started_at_time: 2019-01-01 + is_current: true + has_familial_relationships: + - related_to: P:001 + type: SIBLING_OF + has_medical_history: + - started_at_time: 2019-01-01 + in_location: GEO:1234 + diagnosis: + id: CODE:D0001 + name: headache + procedure: + id: CODE:P0001 + name: trepanation + addresses: + - street: 1 foo street + city: foo city +- id: P1 + name: P1 +companies: +- id: ROR:1 + name: foo +activities: +- id: A:1 + started_at_time: 2019-01-01 + was_associated_with: Agent:987