jacomyal / sigma.js

A JavaScript library aimed at visualizing graphs of thousands of nodes and edges
https://www.sigmajs.org/
MIT License
11.23k stars 1.59k forks source link

Json Parsar #965

Closed Rokshan2016 closed 2 years ago

Rokshan2016 commented 6 years ago

Hi , I have a Json like this , it is basically bundle of resources like Patient, Observation , Encounter, I want to show the relationship in graph using sigma.js. But sigma json parser does not understand this, how can I create the nodes and edge , so it can understand

Appreciate any help!

{ "resourceType": "Bundle", "id": "8fb44fa0-84db-4f2c-910d-e997931b16a1", "meta": { "lastUpdated": "2018-07-06T11:05:30.151-04:00" }, "type": "searchset", "total": 42, "link": [ { "relation": "self", "url": "https://r3.smarthealthit.org/Patient/faf193dc-7950-4994-990b-cc5b977631b7/$everything?_format=json" } ], "entry": [ { "fullUrl": "https://r3.smarthealthit.org/Patient/faf193dc-7950-4994-990b-cc5b977631b7", "resource": { "resourceType": "Patient", "id": "faf193dc-7950-4994-990b-cc5b977631b7", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T02:45:18.835-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Generated by <a href=\"https://github.com/synthetichealth/synthea\">Synthea. Version identifier: 1a8d765a5375bf72f3b7a92001940d05a6f21189

" }, "extension": [ { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/v3/Race", "code": "2106-3", "display": "White" } ], "text": "race" } }, { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/v3/Ethnicity", "code": "2186-5", "display": "Nonhispanic" } ], "text": "ethnicity" } }, { "url": "http://hl7.org/fhir/StructureDefinition/birthPlace", "valueAddress": { "city": "Hudson", "state": "MA", "country": "US" } }, { "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", "valueString": "Petra Barton" }, { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", "valueCode": "F" }, { "url": "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired", "valueBoolean": false }, { "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension", "valueBoolean": true }, { "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension", "valueHumanName": { "text": "Mel Jerde" } }, { "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension", "valueString": "999-40-4556" } ], "identifier": [ { "system": "https://github.com/synthetichealth/synthea", "value": "0da252cd-57f6-4320-8ada-fd90c2899616" }, { "type": { "coding": [ { "system": "http://hl7.org/fhir/identifier-type", "code": "SB" } ] }, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999404556" }, { "type": { "coding": [ { "system": "http://hl7.org/fhir/v2/0203", "code": "MR" } ] }, "system": "http://hospital.smarthealthit.org", "value": "0da252cd-57f6-4320-8ada-fd90c2899616" } ], "name": [ { "use": "official", "family": "Jerde", "given": [ "Jacque" ] } ], "telecom": [ { "system": "phone", "value": "(848) 251-7849 x2866", "use": "home" } ], "gender": "female", "birthDate": "2016-08-30", "address": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/geolocation", "extension": [ { "url": "latitude", "valueDecimal": 42.60952465046541 }, { "url": "longitude", "valueDecimal": -71.32601384719989 } ] } ], "line": [ "8083 Darion Causeway" ], "city": "Chelmsford", "state": "MA", "postalCode": "01824", "country": "US" } ], "maritalStatus": { "coding": [ { "system": "http://hl7.org/fhir/v3/MaritalStatus", "code": "S" } ], "text": "Never Married" }, "multipleBirthBoolean": false, "communication": [ { "language": { "coding": [ { "system": "http://hl7.org/fhir/ValueSet/languages", "code": "en-US", "display": "English (United States)" } ] } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377", "resource": { "resourceType": "Encounter", "id": "b38b2a1c-e464-47ed-9f37-736e2e75b377", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T02:45:18.869-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "finished", "class": { "code": "outpatient" }, "type": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "170258001" } ], "text": "Outpatient Encounter" } ], "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "period": { "start": "2016-11-14T03:10:11-05:00", "end": "2016-11-14T04:10:11-05:00" }, "serviceProvider": { "reference": "Organization/b3a26d5c-c3ab-4aee-82e6-287433e932f1" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/81ac7bc9-4df1-4ca2-92e6-7f1aca4ee806", "resource": { "resourceType": "Observation", "id": "81ac7bc9-4df1-4ca2-92e6-7f1aca4ee806", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:18:27.083-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "8302-2", "display": "Body Height" } ], "text": "Body Height" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "effectiveDateTime": "2016-11-14T03:10:11-05:00", "issued": "2016-11-14T03:10:11-05:00", "valueQuantity": { "value": 60.56241977791338, "unit": "cm", "system": "http://unitsofmeasure.org/", "code": "cm" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Encounter/45b21c31-b89d-41ec-b57c-e28c3319832c", "resource": { "resourceType": "Encounter", "id": "45b21c31-b89d-41ec-b57c-e28c3319832c", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T02:48:32.704-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "finished", "class": { "code": "outpatient" }, "type": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "170258001" } ], "text": "Outpatient Encounter" } ], "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "period": { "start": "2016-08-30T15:16:08-04:00", "end": "2016-08-30T16:16:08-04:00" }, "serviceProvider": { "reference": "Organization/b3a26d5c-c3ab-4aee-82e6-287433e932f1" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Encounter/1e2faa60-caf2-4267-be8d-3b532801690a", "resource": { "resourceType": "Encounter", "id": "1e2faa60-caf2-4267-be8d-3b532801690a", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T02:50:21.497-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "finished", "class": { "code": "outpatient" }, "type": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "170258001" } ], "text": "Outpatient Encounter" } ], "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "period": { "start": "2017-04-03T18:43:00-04:00", "end": "2017-04-03T19:43:00-04:00" }, "serviceProvider": { "reference": "Organization/b3a26d5c-c3ab-4aee-82e6-287433e932f1" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/73b3a93c-3281-4a2b-aff8-6d9b488dc86d", "resource": { "resourceType": "Observation", "id": "73b3a93c-3281-4a2b-aff8-6d9b488dc86d", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:18:38.517-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "8302-2", "display": "Body Height" } ], "text": "Body Height" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "effectiveDateTime": "2017-04-03T18:43:00-04:00", "issued": "2017-04-03T18:43:00-04:00", "valueQuantity": { "value": 70.36281826648937, "unit": "cm", "system": "http://unitsofmeasure.org/", "code": "cm" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Encounter/cab8f15a-196e-46f2-b8ad-1399d7d195dd", "resource": { "resourceType": "Encounter", "id": "cab8f15a-196e-46f2-b8ad-1399d7d195dd", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T02:51:41.748-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "finished", "class": { "code": "outpatient" }, "type": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "170258001" } ], "text": "Outpatient Encounter" } ], "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "period": { "start": "2016-10-03T14:38:51-04:00", "end": "2016-10-03T15:38:51-04:00" }, "serviceProvider": { "reference": "Organization/b3a26d5c-c3ab-4aee-82e6-287433e932f1" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/dc13d7a5-f742-4909-80d7-540f7534aed4", "resource": { "resourceType": "Observation", "id": "dc13d7a5-f742-4909-80d7-540f7534aed4", "meta": { "versionId": "2", "lastUpdated": "2018-06-21T03:22:45.085-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "55284-4", "display": "Blood Pressure" } ] }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/cab8f15a-196e-46f2-b8ad-1399d7d195dd" }, "effectiveDateTime": "2016-10-03T14:38:51-04:00", "issued": "2016-10-03T14:38:51-04:00", "component": [ { "code": { "coding": [ { "system": "http://loinc.org", "code": "8480-6", "display": "Systolic Blood Pressure" } ], "text": "Systolic Blood Pressure" }, "valueQuantity": { "value": 101, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } }, { "code": { "coding": [ { "system": "http://loinc.org", "code": "8462-4", "display": "Diastolic Blood Pressure" } ], "text": "Diastolic Blood Pressure" }, "valueQuantity": { "value": 73, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/c71a150e-05bc-41c6-8ed5-dee65b5224e5", "resource": { "resourceType": "Observation", "id": "c71a150e-05bc-41c6-8ed5-dee65b5224e5", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:19:00.960-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "8302-2", "display": "Body Height" } ], "text": "Body Height" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/cab8f15a-196e-46f2-b8ad-1399d7d195dd" }, "effectiveDateTime": "2016-10-03T14:38:51-04:00", "issued": "2016-10-03T14:38:51-04:00", "valueQuantity": { "value": 57.762659529092254, "unit": "cm", "system": "http://unitsofmeasure.org/", "code": "cm" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/1b245013-421d-4c55-a055-3d5340cd04b5", "resource": { "resourceType": "Observation", "id": "1b245013-421d-4c55-a055-3d5340cd04b5", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:19:20.839-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "55284-4", "display": "Blood Pressure" } ] }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "effectiveDateTime": "2016-11-14T03:10:11-05:00", "issued": "2016-11-14T03:10:11-05:00", "component": [ { "code": { "coding": [ { "system": "http://loinc.org", "code": "8480-6", "display": "Systolic Blood Pressure" } ], "text": "Systolic Blood Pressure" }, "valueQuantity": { "value": 127, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } }, { "code": { "coding": [ { "system": "http://loinc.org", "code": "8462-4", "display": "Diastolic Blood Pressure" } ], "text": "Diastolic Blood Pressure" }, "valueQuantity": { "value": 70, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c", "resource": { "resourceType": "Encounter", "id": "4ef89164-0613-41e5-a00b-fba7d3619d4c", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T03:02:25.907-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "finished", "class": { "code": "outpatient" }, "type": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "170258001" } ], "text": "Outpatient Encounter" } ], "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "period": { "start": "2017-01-22T06:37:27-05:00", "end": "2017-01-22T07:37:27-05:00" }, "serviceProvider": { "reference": "Organization/b3a26d5c-c3ab-4aee-82e6-287433e932f1" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/937820be-bef8-420e-bdb8-fef6edf76f90", "resource": { "resourceType": "Observation", "id": "937820be-bef8-420e-bdb8-fef6edf76f90", "meta": { "versionId": "2", "lastUpdated": "2018-06-21T03:23:42.602-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "29463-7", "display": "Body Weight" } ], "text": "Body Weight" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "effectiveDateTime": "2017-01-22T06:37:27-05:00", "issued": "2017-01-22T06:37:27-05:00", "valueQuantity": { "value": 7.316506481195666, "unit": "kg", "system": "http://unitsofmeasure.org/", "code": "kg" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/4a2ba8e0-5cb1-4271-9a8b-6cfd9fdf8306", "resource": { "resourceType": "Observation", "id": "4a2ba8e0-5cb1-4271-9a8b-6cfd9fdf8306", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:19:57.506-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "55284-4", "display": "Blood Pressure" } ] }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "effectiveDateTime": "2017-01-22T06:37:27-05:00", "issued": "2017-01-22T06:37:27-05:00", "component": [ { "code": { "coding": [ { "system": "http://loinc.org", "code": "8480-6", "display": "Systolic Blood Pressure" } ], "text": "Systolic Blood Pressure" }, "valueQuantity": { "value": 125, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } }, { "code": { "coding": [ { "system": "http://loinc.org", "code": "8462-4", "display": "Diastolic Blood Pressure" } ], "text": "Diastolic Blood Pressure" }, "valueQuantity": { "value": 74, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/53ac247d-6488-4fe6-95f2-3df5d51e735c", "resource": { "resourceType": "Observation", "id": "53ac247d-6488-4fe6-95f2-3df5d51e735c", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:20:23.915-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "8302-2", "display": "Body Height" } ], "text": "Body Height" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "effectiveDateTime": "2017-01-22T06:37:27-05:00", "issued": "2017-01-22T06:37:27-05:00", "valueQuantity": { "value": 65.05717331399501, "unit": "cm", "system": "http://unitsofmeasure.org/", "code": "cm" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/6e9369d3-8252-40b8-8ee2-ef3a9a4f1568", "resource": { "resourceType": "Observation", "id": "6e9369d3-8252-40b8-8ee2-ef3a9a4f1568", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:21:16.944-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "29463-7", "display": "Body Weight" } ], "text": "Body Weight" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "effectiveDateTime": "2017-04-03T18:43:00-04:00", "issued": "2017-04-03T18:43:00-04:00", "valueQuantity": { "value": 8.940017156749803, "unit": "kg", "system": "http://unitsofmeasure.org/", "code": "kg" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Procedure/RES77591", "resource": { "resourceType": "Procedure", "id": "RES77591", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T03:20:43.357-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-Procedure" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "extension": [ { "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "428191000124101", "display": "Documentation of current medications" } ], "text": "Documentation of current medications" } } ], "status": "completed", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "428191000124101", "display": "Documentation of current medications" } ], "text": "Documentation of current medications" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "performedDateTime": "2017-04-03T18:43:00-04:00" }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Procedure/RES77585", "resource": { "resourceType": "Procedure", "id": "RES77585", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T03:21:28.074-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-Procedure" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "extension": [ { "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "428191000124101", "display": "Documentation of current medications" } ], "text": "Documentation of current medications" } } ], "status": "completed", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "428191000124101", "display": "Documentation of current medications" } ], "text": "Documentation of current medications" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "performedDateTime": "2017-01-22T06:37:27-05:00" }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/790feb1e-20f8-415d-8e68-7229a6fee7c4", "resource": { "resourceType": "Observation", "id": "790feb1e-20f8-415d-8e68-7229a6fee7c4", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:21:59.615-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "29463-7", "display": "Body Weight" } ], "text": "Body Weight" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/cab8f15a-196e-46f2-b8ad-1399d7d195dd" }, "effectiveDateTime": "2016-10-03T14:38:51-04:00", "issued": "2016-10-03T14:38:51-04:00", "valueQuantity": { "value": 5.20405937031623, "unit": "kg", "system": "http://unitsofmeasure.org/", "code": "kg" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/dd625a8b-b4d8-4f69-8106-32028a6d2950", "resource": { "resourceType": "Observation", "id": "dd625a8b-b4d8-4f69-8106-32028a6d2950", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:22:04.327-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "29463-7", "display": "Body Weight" } ], "text": "Body Weight" }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "effectiveDateTime": "2016-11-14T03:10:11-05:00", "issued": "2016-11-14T03:10:11-05:00", "valueQuantity": { "value": 5.97170374505244, "unit": "kg", "system": "http://unitsofmeasure.org/", "code": "kg" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Observation/f1e6c08e-4227-471f-8c80-3341ac1ef525", "resource": { "resourceType": "Observation", "id": "f1e6c08e-4227-471f-8c80-3341ac1ef525", "meta": { "versionId": "2", "lastUpdated": "2018-06-24T03:22:17.819-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "final", "category": [ { "coding": [ { "system": "http://hl7.org/fhir/observation-category", "code": "vital-signs" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "55284-4", "display": "Blood Pressure" } ] }, "subject": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "context": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "effectiveDateTime": "2017-04-03T18:43:00-04:00", "issued": "2017-04-03T18:43:00-04:00", "component": [ { "code": { "coding": [ { "system": "http://loinc.org", "code": "8480-6", "display": "Systolic Blood Pressure" } ], "text": "Systolic Blood Pressure" }, "valueQuantity": { "value": 111, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } }, { "code": { "coding": [ { "system": "http://loinc.org", "code": "8462-4", "display": "Diastolic Blood Pressure" } ], "text": "Diastolic Blood Pressure" }, "valueQuantity": { "value": 86, "unit": "mmHg", "system": "http://unitsofmeasure.org/", "code": "mmHg" } } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77581", "resource": { "resourceType": "Immunization", "id": "RES77581", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:24:46.827-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "20", "display": "DTaP" } ], "text": "DTaP" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "date": "2016-11-14T03:10:11-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77578", "resource": { "resourceType": "Immunization", "id": "RES77578", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:25:24.229-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "08", "display": "Hep B, adolescent or pediatric" } ], "text": "Hep B, adolescent or pediatric" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/45b21c31-b89d-41ec-b57c-e28c3319832c" }, "date": "2016-08-30T15:16:08-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77593", "resource": { "resourceType": "Immunization", "id": "RES77593", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:25:40.570-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "20", "display": "DTaP" } ], "text": "DTaP" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "date": "2017-04-03T18:43:00-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77583", "resource": { "resourceType": "Immunization", "id": "RES77583", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:26:09.044-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "133", "display": "Pneumococcal conjugate PCV 13" } ], "text": "Pneumococcal conjugate PCV 13" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "date": "2016-11-14T03:10:11-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77596", "resource": { "resourceType": "Immunization", "id": "RES77596", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:26:52.755-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "140", "display": "Influenza, seasonal, injectable, preservative free" } ], "text": "Influenza, seasonal, injectable, preservative free" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "date": "2017-04-03T18:43:00-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77589", "resource": { "resourceType": "Immunization", "id": "RES77589", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:27:05.521-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "133", "display": "Pneumococcal conjugate PCV 13" } ], "text": "Pneumococcal conjugate PCV 13" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "date": "2017-01-22T06:37:27-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77595", "resource": { "resourceType": "Immunization", "id": "RES77595", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:27:13.500-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "10", "display": "IPV" } ], "text": "IPV" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "date": "2017-04-03T18:43:00-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77582", "resource": { "resourceType": "Immunization", "id": "RES77582", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:27:14.981-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "49", "display": "Hib (PRP-OMP)" } ], "text": "Hib (PRP-OMP)" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "date": "2016-11-14T03:10:11-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77584", "resource": { "resourceType": "Immunization", "id": "RES77584", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:28:03.493-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "10", "display": "IPV" } ], "text": "IPV" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "date": "2016-11-14T03:10:11-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77592", "resource": { "resourceType": "Immunization", "id": "RES77592", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:29:29.312-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "08", "display": "Hep B, adolescent or pediatric" } ], "text": "Hep B, adolescent or pediatric" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "date": "2017-04-03T18:43:00-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77579", "resource": { "resourceType": "Immunization", "id": "RES77579", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:31:23.404-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "08", "display": "Hep B, adolescent or pediatric" } ], "text": "Hep B, adolescent or pediatric" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/cab8f15a-196e-46f2-b8ad-1399d7d195dd" }, "date": "2016-10-03T14:38:51-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77580", "resource": { "resourceType": "Immunization", "id": "RES77580", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:31:56.531-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "119", "display": "rotavirus, monovalent" } ], "text": "rotavirus, monovalent" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/b38b2a1c-e464-47ed-9f37-736e2e75b377" }, "date": "2016-11-14T03:10:11-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77590", "resource": { "resourceType": "Immunization", "id": "RES77590", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:32:05.792-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "10", "display": "IPV" } ], "text": "IPV" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "date": "2017-01-22T06:37:27-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77586", "resource": { "resourceType": "Immunization", "id": "RES77586", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:32:28.673-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "119", "display": "rotavirus, monovalent" } ], "text": "rotavirus, monovalent" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "date": "2017-01-22T06:37:27-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77594", "resource": { "resourceType": "Immunization", "id": "RES77594", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:34:07.077-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "133", "display": "Pneumococcal conjugate PCV 13" } ], "text": "Pneumococcal conjugate PCV 13" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/1e2faa60-caf2-4267-be8d-3b532801690a" }, "date": "2017-04-03T18:43:00-04:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77587", "resource": { "resourceType": "Immunization", "id": "RES77587", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:34:52.825-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "20", "display": "DTaP" } ], "text": "DTaP" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "date": "2017-01-22T06:37:27-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Immunization/RES77588", "resource": { "resourceType": "Immunization", "id": "RES77588", "meta": { "versionId": "1", "lastUpdated": "2018-04-30T13:35:38.228-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "status": "completed", "notGiven": false, "vaccineCode": { "coding": [ { "system": "http://hl7.org/fhir/sid/cvx", "code": "49", "display": "Hib (PRP-OMP)" } ], "text": "Hib (PRP-OMP)" }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "encounter": { "reference": "Encounter/4ef89164-0613-41e5-a00b-fba7d3619d4c" }, "date": "2017-01-22T06:37:27-05:00", "primarySource": true }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/ExplanationOfBenefit/161696", "resource": { "resourceType": "ExplanationOfBenefit", "id": "161696", "meta": { "versionId": "1", "lastUpdated": "2018-06-27T13:01:04.860-04:00" }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the ExplanationOfBenefit
" }, "identifier": [ { "system": "http://www.BenefitsInc.com/fhir/explanationofbenefit", "value": "987654321" } ], "status": "active", "type": { "coding": [ { "system": "http://hl7.org/fhir/ex-claimtype", "code": "oral" } ] }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "billablePeriod": { "start": "2018-03-01", "end": "2018-03-31" }, "organization": { "reference": "Organization/161652" }, "totalCost": { "value": 135.57, "system": "urn:iso:std:iso:4217", "code": "USD" }, "totalBenefit": { "value": 96, "system": "urn:iso:std:iso:4217", "code": "USD" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/ExplanationOfBenefit/161697", "resource": { "resourceType": "ExplanationOfBenefit", "id": "161697", "meta": { "versionId": "1", "lastUpdated": "2018-06-27T13:13:06.284-04:00" }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the ExplanationOfBenefit" }, "identifier": [ { "system": "http://www.BenefitsInc.com/fhir/explanationofbenefit", "value": "987654321" } ], "status": "active", "type": { "coding": [ { "system": "http://hl7.org/fhir/ex-claimtype", "code": "oral" } ] }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "billablePeriod": { "start": "2018-02-01", "end": "2018-02-28" }, "organization": { "reference": "Organization/161652" }, "totalCost": { "value": 135.57, "system": "urn:iso:std:iso:4217", "code": "USD" }, "totalBenefit": { "value": 96, "system": "urn:iso:std:iso:4217", "code": "USD" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/ExplanationOfBenefit/161698", "resource": { "resourceType": "ExplanationOfBenefit", "id": "161698", "meta": { "versionId": "1", "lastUpdated": "2018-06-27T13:13:33.719-04:00" }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the ExplanationOfBenefit" }, "identifier": [ { "system": "http://www.BenefitsInc.com/fhir/explanationofbenefit", "value": "987654321" } ], "status": "active", "type": { "coding": [ { "system": "http://hl7.org/fhir/ex-claimtype", "code": "oral" } ] }, "patient": { "reference": "Patient/faf193dc-7950-4994-990b-cc5b977631b7" }, "billablePeriod": { "start": "2018-01-01", "end": "2018-01-31" }, "organization": { "reference": "Organization/161652" }, "totalCost": { "value": 135.57, "system": "urn:iso:std:iso:4217", "code": "USD" }, "totalBenefit": { "value": 96, "system": "urn:iso:std:iso:4217", "code": "USD" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Organization/161652", "resource": { "resourceType": "Organization", "id": "161652", "meta": { "versionId": "2", "lastUpdated": "2018-06-28T02:39:26.771-04:00" } }, "search": { "mode": "match" } }, { "fullUrl": "https://r3.smarthealthit.org/Organization/b3a26d5c-c3ab-4aee-82e6-287433e932f1", "resource": { "resourceType": "Organization", "id": "b3a26d5c-c3ab-4aee-82e6-287433e932f1", "meta": { "versionId": "2", "lastUpdated": "2018-04-25T02:45:18.853-04:00", "profile": [ "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" ], "tag": [ { "system": "https://smarthealthit.org/tags", "code": "synthea-7-2017" } ] }, "type": [ { "coding": [ { "system": "http://hl7.org/fhir/ValueSet/organization-type", "code": "prov", "display": "Healthcare Provider" } ], "text": "Healthcare Provider" } ], "name": "Synthetic Provider" }, "search": { "mode": "match" } } ] }

s0md3v commented 6 years ago

sigma.js requires the following information to draw the nodes: id x y and for the edges id source target Hence your JSON file needs to be in the following format

{"edges":[],
  "nodes": [
    {"size": 3,
      "y": 60.0,
      "x": 114.0,
      "id": "a"
    },
    {"size": 3,
      "y": 78.0,
      "x": 127.0,
      "id": "b"
    },
    {"size": 3,
      "y": 91.0,
      "x": 53.0,
      "id": "c"
    },
    {"size": 3,
      "y": 107.0,
      "x": 108.0,
      "id": "d"
    }
    {"size": 2,
      "y": 120.0,
      "x": 108.0,
      "id": "e"
    }],
"edges": [
    {"size": 3,
      "id": 0,
      "source": "e",
      "target": "c",
    },
    {"size": 3,
      "id": 1,
      "source": "a",
      "target": "e",
    },
    {"size": 3,
      "id": 2,
      "source": "d",
      "target": "a",
    },
    {"size": 3,
      "id": 3,
      "source": "b",
      "target": "c",
    },
    {"size": 3,
      "id": 4,
      "source": "a",
      "target": "b",
    }]
}
Rokshan2016 commented 6 years ago

Hi , Thanks for the reply . I am using Guava graph to which is creating the x, y automatically. But the graph is quiet not understandable. { "nodes": [ { "id": "faf193dc-7950-4994-990b-cc5b977631b7", "label": "Patientfaf193dc-7950-4994-990b-cc5b977631b7", "x": 148, "y": 81, "size": 3 }, { "id": "b38b2a1c-e464-47ed-9f37-736e2e75b377", "label": "Encounterb38b2a1c-e464-47ed-9f37-736e2e75b377", "x": 85, "y": 53, "size": 3 }, { "id": "81ac7bc9-4df1-4ca2-92e6-7f1aca4ee806", "label": "Observation81ac7bc9-4df1-4ca2-92e6-7f1aca4ee806", "x": 163, "y": 165, "size": 3 }, { "id": "45b21c31-b89d-41ec-b57c-e28c3319832c", "label": "Encounter45b21c31-b89d-41ec-b57c-e28c3319832c", "x": 182, "y": 197, "size": 3 }, { "id": "1e2faa60-caf2-4267-be8d-3b532801690a", "label": "Encounter1e2faa60-caf2-4267-be8d-3b532801690a", "x": 61, "y": 82, "size": 3 }, { "id": "73b3a93c-3281-4a2b-aff8-6d9b488dc86d", "label": "Observation73b3a93c-3281-4a2b-aff8-6d9b488dc86d", "x": 55, "y": 178, "size": 3 }, { "id": "cab8f15a-196e-46f2-b8ad-1399d7d195dd", "label": "Encountercab8f15a-196e-46f2-b8ad-1399d7d195dd", "x": 62, "y": 125, "size": 3 }, { "id": "dc13d7a5-f742-4909-80d7-540f7534aed4", "label": "Observationdc13d7a5-f742-4909-80d7-540f7534aed4", "x": 192, "y": 170, "size": 3 }, { "id": "c71a150e-05bc-41c6-8ed5-dee65b5224e5", "label": "Observationc71a150e-05bc-41c6-8ed5-dee65b5224e5", "x": 119, "y": 139, "size": 3 }, { "id": "1b245013-421d-4c55-a055-3d5340cd04b5", "label": "Observation1b245013-421d-4c55-a055-3d5340cd04b5", "x": 90, "y": 65, "size": 3 }, { "id": "4ef89164-0613-41e5-a00b-fba7d3619d4c", "label": "Encounter4ef89164-0613-41e5-a00b-fba7d3619d4c", "x": 162, "y": 165, "size": 3 }, { "id": "937820be-bef8-420e-bdb8-fef6edf76f90", "label": "Observation937820be-bef8-420e-bdb8-fef6edf76f90", "x": 91, "y": 138, "size": 3 }, { "id": "4a2ba8e0-5cb1-4271-9a8b-6cfd9fdf8306", "label": "Observation4a2ba8e0-5cb1-4271-9a8b-6cfd9fdf8306", "x": 36, "y": 144, "size": 3 }, { "id": "53ac247d-6488-4fe6-95f2-3df5d51e735c", "label": "Observation53ac247d-6488-4fe6-95f2-3df5d51e735c", "x": 49, "y": 81, "size": 3 }, { "id": "6e9369d3-8252-40b8-8ee2-ef3a9a4f1568", "label": "Observation6e9369d3-8252-40b8-8ee2-ef3a9a4f1568", "x": 18, "y": 173, "size": 3 }, { "id": "RES77591", "label": "ProcedureRES77591", "x": 188, "y": 57, "size": 3 }, { "id": "RES77585", "label": "ProcedureRES77585", "x": 92, "y": 100, "size": 3 }, { "id": "790feb1e-20f8-415d-8e68-7229a6fee7c4", "label": "Observation790feb1e-20f8-415d-8e68-7229a6fee7c4", "x": 1, "y": 125, "size": 3 }, { "id": "dd625a8b-b4d8-4f69-8106-32028a6d2950", "label": "Observationdd625a8b-b4d8-4f69-8106-32028a6d2950", "x": 15, "y": 63, "size": 3 }, { "id": "f1e6c08e-4227-471f-8c80-3341ac1ef525", "label": "Observationf1e6c08e-4227-471f-8c80-3341ac1ef525", "x": 80, "y": 109, "size": 3 }, { "id": "RES77581", "label": "ImmunizationRES77581", "x": 127, "y": 198, "size": 3 }, { "id": "RES77578", "label": "ImmunizationRES77578", "x": 55, "y": 159, "size": 3 }, { "id": "RES77593", "label": "ImmunizationRES77593", "x": 145, "y": 23, "size": 3 }, { "id": "RES77583", "label": "ImmunizationRES77583", "x": 7, "y": 135, "size": 3 }, { "id": "RES77596", "label": "ImmunizationRES77596", "x": 78, "y": 64, "size": 3 }, { "id": "RES77589", "label": "ImmunizationRES77589", "x": 76, "y": 133, "size": 3 }

Is there any way I can configure the x and y ?

Yomguithereal commented 6 years ago

What do you mean? I guess you want to apply a layout algorithm so you can see nodes position themselves in space so you can read the graph correctly. Is that it?

Rokshan2016 commented 6 years ago

Yes. Actually if you see my previous json, i am putting X and Y values randomly. I want my graph should be like a proper tree structure. e.g

image

Actually I am getting like this image1

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.