Created
June 27, 2020 22:36
-
-
Save MelulekiDube/1b0bf20f8d857dbeae485d1def19e93d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"resourceType": "Bundle", | |
"id": "336cc83e-8b20-4b48-b639-dfb30856dc8a", | |
"meta": { | |
"lastUpdated": "2020-06-28T06:52:47.259+10:00" | |
}, | |
"type": "searchset", | |
"total": 15, | |
"link": [ | |
{ | |
"relation": "self", | |
"url": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation?_format=json&code=55284-4&patient=351740" | |
} | |
], | |
"entry": [ | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352257", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352257", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352250" | |
}, | |
"effectiveDateTime": "1991-07-09T15:48:33+10:00", | |
"issued": "1991-07-09T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 82, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 132, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352275", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352275", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352268" | |
}, | |
"effectiveDateTime": "1992-07-14T15:48:33+10:00", | |
"issued": "1992-07-14T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 81, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 112, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352296", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352296", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352289" | |
}, | |
"effectiveDateTime": "1993-07-20T15:48:33+10:00", | |
"issued": "1993-07-20T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 81, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 113, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352551", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352551", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352500" | |
}, | |
"effectiveDateTime": "1997-08-12T15:48:33+10:00", | |
"issued": "1997-08-12T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 77, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 122, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352319", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352319", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352312" | |
}, | |
"effectiveDateTime": "1994-07-26T15:48:33+10:00", | |
"issued": "1994-07-26T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 79, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 125, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352582", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352582", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352577" | |
}, | |
"effectiveDateTime": "1998-08-18T15:48:33+10:00", | |
"issued": "1998-08-18T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 74, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 125, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352339", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352339", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352334" | |
}, | |
"effectiveDateTime": "1995-01-31T16:48:33+11:00", | |
"issued": "1995-01-31T16:48:33.327+11:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 82, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 125, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352359", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352359", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352354" | |
}, | |
"effectiveDateTime": "1995-06-06T15:48:33+10:00", | |
"issued": "1995-06-06T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 73, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 112, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352373", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352373", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352368" | |
}, | |
"effectiveDateTime": "1995-06-13T15:48:33+10:00", | |
"issued": "1995-06-13T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 82, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 1.2E+2, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352388", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352388", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352381" | |
}, | |
"effectiveDateTime": "1995-08-01T15:48:33+10:00", | |
"issued": "1995-08-01T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 76, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 106, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352600", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352600", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352595" | |
}, | |
"effectiveDateTime": "1999-08-24T15:48:33+10:00", | |
"issued": "1999-08-24T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 85, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 118, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352623", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352623", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352618" | |
}, | |
"effectiveDateTime": "2000-08-29T16:48:33+11:00", | |
"issued": "2000-08-29T16:48:33.327+11:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 82, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 105, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352418", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352418", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352413" | |
}, | |
"effectiveDateTime": "1996-01-23T16:48:33+11:00", | |
"issued": "1996-01-23T16:48:33.327+11:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 83, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 1.1E+2, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352437", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352437", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352430" | |
}, | |
"effectiveDateTime": "1996-08-06T15:48:33+10:00", | |
"issued": "1996-08-06T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 84, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 121, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
}, | |
{ | |
"fullUrl": "https://fhir.monash.edu/hapi-fhir-jpaserver/fhir/Observation/352476", | |
"resource": { | |
"resourceType": "Observation", | |
"id": "352476", | |
"meta": { | |
"versionId": "1", | |
"lastUpdated": "2020-03-17T22:55:54.464+11:00", | |
"source": "#Jw0Mfk0tXk0t5CfJ" | |
}, | |
"status": "final", | |
"category": [ | |
{ | |
"coding": [ | |
{ | |
"system": "http://terminology.hl7.org/CodeSystem/observation-category", | |
"code": "vital-signs", | |
"display": "vital-signs" | |
} | |
] | |
} | |
], | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "55284-4", | |
"display": "Blood Pressure" | |
} | |
], | |
"text": "Blood Pressure" | |
}, | |
"subject": { | |
"reference": "Patient/351740" | |
}, | |
"encounter": { | |
"reference": "Encounter/352471" | |
}, | |
"effectiveDateTime": "1997-06-24T15:48:33+10:00", | |
"issued": "1997-06-24T15:48:33.327+10:00", | |
"component": [ | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8462-4", | |
"display": "Diastolic Blood Pressure" | |
} | |
], | |
"text": "Diastolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 8E+1, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
}, | |
{ | |
"code": { | |
"coding": [ | |
{ | |
"system": "http://loinc.org", | |
"code": "8480-6", | |
"display": "Systolic Blood Pressure" | |
} | |
], | |
"text": "Systolic Blood Pressure" | |
}, | |
"valueQuantity": { | |
"value": 116, | |
"unit": "mm[Hg]", | |
"system": "http://unitsofmeasure.org", | |
"code": "mm[Hg]" | |
} | |
} | |
] | |
}, | |
"search": { | |
"mode": "match" | |
} | |
} | |
] | |
} |
This file contains hidden or 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
import com.google.gson.JsonArray; | |
import com.google.gson.JsonElement; | |
import com.google.gson.JsonObject; | |
import com.google.gson.JsonParser; | |
import com.google.gson.JsonSyntaxException; | |
import java.io.*; | |
import java.util.Scanner; | |
public class Testing{ | |
public static void test(String json) throws JsonSyntaxException { | |
// parsing | |
JsonParser jsonParser = new JsonParser(); | |
JsonObject jsonObject = jsonParser.parse(json).getAsJsonObject(); | |
JsonArray jsonArray = (JsonArray)jsonObject.get("entry"); | |
// typecasting obj to JSONObject | |
// JSONObject jo = (JSONObject) obj; // this line is not needed you can type cast from up there. | |
for(JsonElement o: jsonArray){ | |
JsonObject obj = o.getAsJsonObject(); | |
System.out.println(obj.get("resource")+"\n\n"); | |
} | |
} | |
public static void main(String[] args) throws FileNotFoundException { | |
String filecontents = ""; | |
File f = new File("jsonfile.txt"); | |
Scanner sc = new Scanner(f); | |
String line; | |
while(sc.hasNextLine()){ | |
line = sc.nextLine(); | |
filecontents+=line; | |
} | |
sc.close(); | |
test(filecontents); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment