This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API-2834 observation synthetic data (#10)
- Loading branch information
1 parent
4b7c662
commit 0e505d8
Showing
6 changed files
with
264 additions
and
3 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
111 changes: 111 additions & 0 deletions
111
patient-generated-data-synthetic/src/test/resources/observation/ekg.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 |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"resourceType" : "Observation", | ||
"id" : "ekg", | ||
"text" : { | ||
"status" : "generated", | ||
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: ekg</p><p><b>status</b>: final</p><p><b>category</b>: Procedure <span>(Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'procedure' = 'Procedure', given as 'Procedure'})</span></p><p><b>code</b>: MDC_ECG_ELEC_POTL <span>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131328' = '131328', given as 'MDC_ECG_ELEC_POTL'})</span></p><p><b>subject</b>: <a>P. van de Heuvel</a></p><p><b>effective</b>: 19/02/2015 9:30:35 AM</p><p><b>performer</b>: <a>A. Langeveld</a></p><p><b>device</b>: 12 lead EKG Device Metric</p><blockquote><p><b>component</b></p><p><b>code</b>: MDC_ECG_ELEC_POTL_I <span>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131329' = '131329', given as 'MDC_ECG_ELEC_POTL_I'})</span></p><p><b>value</b>: Origin: (system = '[not stated]' code null = 'null'), Period: 10, Factor: 1.612, Lower: -3300, Upper: 3300, Dimensions: 1, Data: 2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: MDC_ECG_ELEC_POTL_II <span>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131330' = '131330', given as 'MDC_ECG_ELEC_POTL_II'})</span></p><p><b>value</b>: Origin: (system = '[not stated]' code null = 'null'), Period: 10, Factor: 1.612, Lower: -3300, Upper: 3300, Dimensions: 1, Data: 2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: MDC_ECG_ELEC_POTL_III <span>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131389' = '131389', given as 'MDC_ECG_ELEC_POTL_III'})</span></p><p><b>value</b>: Origin: (system = '[not stated]' code null = 'null'), Period: 10, Factor: 1.612, Lower: -3300, Upper: 3300, Dimensions: 1, Data: 2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073</p></blockquote></div>" | ||
}, | ||
"status" : "final", | ||
"category" : [ | ||
{ | ||
"coding" : [ | ||
{ | ||
"system" : "http://terminology.hl7.org/CodeSystem/observation-category", | ||
"code" : "procedure", | ||
"display" : "Procedure" | ||
} | ||
] | ||
} | ||
], | ||
"code" : { | ||
"coding" : [ | ||
{ | ||
"system" : "urn:oid:2.16.840.1.113883.6.24", | ||
"code" : "131328", | ||
"display" : "MDC_ECG_ELEC_POTL" | ||
} | ||
] | ||
}, | ||
"subject" : { | ||
"reference" : "Patient/f001", | ||
"display" : "P. van de Heuvel" | ||
}, | ||
"effectiveDateTime" : "2015-02-19T09:30:35+01:00", | ||
"performer" : [ | ||
{ | ||
"reference" : "Practitioner/f005", | ||
"display" : "A. Langeveld" | ||
} | ||
], | ||
"device" : { | ||
"display" : "12 lead EKG Device Metric" | ||
}, | ||
"component" : [ | ||
{ | ||
"code" : { | ||
"coding" : [ | ||
{ | ||
"system" : "urn:oid:2.16.840.1.113883.6.24", | ||
"code" : "131329", | ||
"display" : "MDC_ECG_ELEC_POTL_I" | ||
} | ||
] | ||
}, | ||
"valueSampledData" : { | ||
"origin" : { | ||
"value" : 2048 | ||
}, | ||
"period" : 10, | ||
"factor" : 1.612, | ||
"lowerLimit" : -3300, | ||
"upperLimit" : 3300, | ||
"dimensions" : 1, | ||
"data" : "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" | ||
} | ||
}, | ||
{ | ||
"code" : { | ||
"coding" : [ | ||
{ | ||
"system" : "urn:oid:2.16.840.1.113883.6.24", | ||
"code" : "131330", | ||
"display" : "MDC_ECG_ELEC_POTL_II" | ||
} | ||
] | ||
}, | ||
"valueSampledData" : { | ||
"origin" : { | ||
"value" : 2048 | ||
}, | ||
"period" : 10, | ||
"factor" : 1.612, | ||
"lowerLimit" : -3300, | ||
"upperLimit" : 3300, | ||
"dimensions" : 1, | ||
"data" : "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" | ||
} | ||
}, | ||
{ | ||
"code" : { | ||
"coding" : [ | ||
{ | ||
"system" : "urn:oid:2.16.840.1.113883.6.24", | ||
"code" : "131389", | ||
"display" : "MDC_ECG_ELEC_POTL_III" | ||
} | ||
] | ||
}, | ||
"valueSampledData" : { | ||
"origin" : { | ||
"value" : 2048 | ||
}, | ||
"period" : 10, | ||
"factor" : 1.612, | ||
"lowerLimit" : -3300, | ||
"upperLimit" : 3300, | ||
"dimensions" : 1, | ||
"data" : "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" | ||
} | ||
} | ||
] | ||
} |
97 changes: 97 additions & 0 deletions
97
patient-generated-data-synthetic/src/test/resources/observation/sat02.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 |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"resourceType" : "Observation", | ||
"id" : "satO2", | ||
"meta" : { | ||
"profile" : [ | ||
"http://hl7.org/fhir/StructureDefinition/vitalsigns" | ||
] | ||
}, | ||
"text" : { | ||
"status" : "generated", | ||
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: satO2</p><p><b>meta</b>: </p><p><b>identifier</b>: o1223435-10</p><p><b>partOf</b>: <a>Procedure/ob</a></p><p><b>status</b>: final</p><p><b>category</b>: Vital Signs <span>(Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})</span></p><p><b>code</b>: Oxygen saturation in Arterial blood <span>(Details : {LOINC code '2708-6' = 'Oxygen saturation in Arterial blood', given as 'Oxygen saturation in Arterial blood'}; {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'}; {urn:iso:std:iso:11073:10101 code '150456' = '150456', given as 'MDC_PULS_OXIM_SAT_O2'})</span></p><p><b>subject</b>: <a>Patient/example</a></p><p><b>effective</b>: 05/12/2014 9:30:10 AM</p><p><b>value</b>: 95 %<span> (Details: UCUM code % = '%')</span></p><p><b>interpretation</b>: Normal (applies to non-numeric results) <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'N' = 'Normal', given as 'Normal'})</span></p><p><b>device</b>: <a>DeviceMetric/example</a></p><h3>ReferenceRanges</h3><table><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td>*</td><td>90 %<span> (Details: UCUM code % = '%')</span></td><td>99 %<span> (Details: UCUM code % = '%')</span></td></tr></table></div>" | ||
}, | ||
"identifier" : [ | ||
{ | ||
"system" : "http://goodcare.org/observation/id", | ||
"value" : "o1223435-10" | ||
} | ||
], | ||
"partOf" : [ | ||
{ | ||
"reference" : "Procedure/ob" | ||
} | ||
], | ||
"status" : "final", | ||
"category" : [ | ||
{ | ||
"coding" : [ | ||
{ | ||
"system" : "http://terminology.hl7.org/CodeSystem/observation-category", | ||
"code" : "vital-signs", | ||
"display" : "Vital Signs" | ||
} | ||
], | ||
"text" : "Vital Signs" | ||
} | ||
], | ||
"code" : { | ||
"coding" : [ | ||
{ | ||
"system" : "http://loinc.org", | ||
"code" : "2708-6", | ||
"display" : "Oxygen saturation in Arterial blood" | ||
}, | ||
{ | ||
"system" : "http://loinc.org", | ||
"code" : "59408-5", | ||
"display" : "Oxygen saturation in Arterial blood by Pulse oximetry" | ||
}, | ||
{ | ||
"system" : "urn:iso:std:iso:11073:10101", | ||
"code" : "150456", | ||
"display" : "MDC_PULS_OXIM_SAT_O2" | ||
} | ||
] | ||
}, | ||
"subject" : { | ||
"reference" : "Patient/example" | ||
}, | ||
"effectiveDateTime" : "2014-12-05T09:30:10+01:00", | ||
"valueQuantity" : { | ||
"value" : 95, | ||
"unit" : "%", | ||
"system" : "http://unitsofmeasure.org", | ||
"code" : "%" | ||
}, | ||
"interpretation" : [ | ||
{ | ||
"coding" : [ | ||
{ | ||
"system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", | ||
"code" : "N", | ||
"display" : "Normal" | ||
} | ||
], | ||
"text" : "Normal (applies to non-numeric results)" | ||
} | ||
], | ||
"device" : { | ||
"reference" : "DeviceMetric/example" | ||
}, | ||
"referenceRange" : [ | ||
{ | ||
"low" : { | ||
"value" : 90, | ||
"unit" : "%", | ||
"system" : "http://unitsofmeasure.org", | ||
"code" : "%" | ||
}, | ||
"high" : { | ||
"value" : 99, | ||
"unit" : "%", | ||
"system" : "http://unitsofmeasure.org", | ||
"code" : "%" | ||
} | ||
} | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
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