Merge pull request #198 from fastenhealth/dashboard-fixes
This commit is contained in:
commit
72062f3713
|
@ -1,5 +1,5 @@
|
|||
export class ResponseWrapper {
|
||||
data: any
|
||||
success: boolean
|
||||
error: string
|
||||
error?: string
|
||||
}
|
||||
|
|
|
@ -26,78 +26,4 @@ describe('FastenApiService', () => {
|
|||
expect(service).toBeTruthy();
|
||||
});
|
||||
|
||||
it('fhirPathMapQueryFn should generate a valid select map with aliases', () => {
|
||||
//setup
|
||||
let patient = {
|
||||
"resourceType": "Patient",
|
||||
"id": "example",
|
||||
"address": [
|
||||
{
|
||||
"use": "home",
|
||||
"city": "PleasantVille",
|
||||
"type": "both",
|
||||
"state": "Vic",
|
||||
"line": [
|
||||
"534 Erewhon St"
|
||||
],
|
||||
"postalCode": "3999",
|
||||
"period": {
|
||||
"start": "1974-12-25"
|
||||
},
|
||||
"district": "Rainbow",
|
||||
"text": "534 Erewhon St PeasantVille, Rainbow, Vic 3999"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
let query = {
|
||||
// use: string
|
||||
select: ['address.use', "address.where(type='both').state as state"],
|
||||
from: 'Patient',
|
||||
where: {'id':'example'}
|
||||
|
||||
} as DashboardWidgetQuery
|
||||
|
||||
|
||||
let query2 = {
|
||||
// use: string
|
||||
select: ['*', "address.where(type='both').use | address.city as joined"],
|
||||
from: 'Patient',
|
||||
where: {'id':'example'}
|
||||
|
||||
} as DashboardWidgetQuery
|
||||
|
||||
|
||||
//test
|
||||
let fn = service.fhirPathMapQueryFn(query)
|
||||
expect(fn(patient)).toEqual({ "address.use": [ 'home' ], "state": [ 'Vic' ], 'id': 'example', 'resourceType': 'Patient' })
|
||||
|
||||
// let fn2 = service.fhirPathMapQueryFn(query2)
|
||||
let fn2 = service.fhirPathMapQueryFn(query2)
|
||||
expect(fn2(patient)).toEqual({
|
||||
"joined": [ 'home', 'PleasantVille' ],
|
||||
"*": {
|
||||
"resourceType": "Patient",
|
||||
"id": "example",
|
||||
"address": [
|
||||
{
|
||||
"use": "home",
|
||||
"city": "PleasantVille",
|
||||
"type": "both",
|
||||
"state": "Vic",
|
||||
"line": [
|
||||
"534 Erewhon St"
|
||||
],
|
||||
"postalCode": "3999",
|
||||
"period": {
|
||||
"start": "1974-12-25"
|
||||
},
|
||||
"district": "Rainbow",
|
||||
"text": "534 Erewhon St PeasantVille, Rainbow, Vic 3999"
|
||||
}
|
||||
]
|
||||
}, 'id': 'example', 'resourceType': 'Patient' })
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
@ -162,46 +162,11 @@ export class FastenApiService {
|
|||
|
||||
//TODO: add caching here, we dont want the same query to be run multiple times whne loading the dashboard.
|
||||
// we should also add a way to invalidate the cache when a source is synced
|
||||
queryResources(query?: DashboardWidgetQuery): Observable<any[]> {
|
||||
//this function is special, as it returns the raw response, for processing in the DashboardWidgetComponent
|
||||
queryResources(query?: DashboardWidgetQuery): Observable<ResponseWrapper> {
|
||||
|
||||
|
||||
return this._httpClient.post<any>(`${GetEndpointAbsolutePath(globalThis.location, environment.fasten_api_endpoint_base)}/secure/query`, query)
|
||||
.pipe(
|
||||
map((response: ResponseWrapper) => {
|
||||
console.log("RESPONSE", response)
|
||||
|
||||
//TODO: eventually do filtering in backend, however until sql-on-fhir project is completed, we'll be doing it here
|
||||
//it's less preformant, but it's a temporary solution
|
||||
if(!response.data || !response.data.length){
|
||||
console.log("NO QUERY DATA FOUND")
|
||||
return []
|
||||
}
|
||||
let results = response.data
|
||||
.map((resource: ResourceFhir) => {
|
||||
if (!resource.resource_raw) {
|
||||
return null
|
||||
}
|
||||
return this.fhirPathMapQueryFn(query)(resource.resource_raw)
|
||||
})
|
||||
|
||||
if(query.aggregation_type){
|
||||
switch (query.aggregation_type) {
|
||||
case "countBy":
|
||||
|
||||
return Object.entries(_[query.aggregation_type](results, ...(query.aggregation_params || []))).map(pair => {
|
||||
return {key: pair[0], value: pair[1]}
|
||||
})
|
||||
|
||||
break;
|
||||
default:
|
||||
throw new Error("unsupported aggregation type")
|
||||
}
|
||||
}
|
||||
else {
|
||||
return results
|
||||
}
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
getResourceGraph(graphType?: string): Observable<{[resourceType: string]: ResourceFhir[]}> {
|
||||
|
@ -272,56 +237,4 @@ export class FastenApiService {
|
|||
return of(new BinaryModel(attachmentModel));
|
||||
}
|
||||
}
|
||||
|
||||
//private methods
|
||||
|
||||
// This function will convert DashboardWidgetQuery.select filters into a FHIRPath query strings and return the results
|
||||
// as a map (keyed by the select alias)
|
||||
// ie. `name.where(given='Jim')` will be converted to `Patient.name.where(given='Jim')`
|
||||
// ie. `name.where(given='Jim') as GivenName` will be converted to `Patient.name.where(given='Jim')` and be stored in the returned map as GivenName`
|
||||
// the returned map will always contain a `id` key, which will be the resource id and a `resourceType` key, which will be the resource type
|
||||
|
||||
fhirPathMapQueryFn(query: DashboardWidgetQuery): (rawResource: any) => { [name:string]: string | string[] | any } {
|
||||
let selectPathFilters: { [name:string]: string } = query.select.reduce((selectAliasMap, selectPathFilter): { [name:string]: string } => {
|
||||
let alias = selectPathFilter
|
||||
let selectPath = selectPathFilter
|
||||
if(selectPathFilter.indexOf(" as ") > -1){
|
||||
let selectPathFilterParts = selectPathFilter.split(" as ")
|
||||
selectPath = selectPathFilterParts[0] as string
|
||||
alias = selectPathFilterParts[1] as string
|
||||
} else if(selectPathFilter.indexOf(" AS ") > -1){
|
||||
let selectPathFilterParts = selectPathFilter.split(" AS ")
|
||||
selectPath = selectPathFilterParts[0] as string
|
||||
alias = selectPathFilterParts[1] as string
|
||||
}
|
||||
|
||||
selectAliasMap[alias] = selectPath
|
||||
// if(selectPath == '*'){
|
||||
// selectAliasMap[alias] = selectPath
|
||||
// } else {
|
||||
// selectAliasMap[alias] = `${query.from}.${selectPath}`
|
||||
// }
|
||||
|
||||
return selectAliasMap
|
||||
}, {})
|
||||
|
||||
// console.log(selectPathFilters)
|
||||
return function(rawResource: any):{ [name:string]: string | string[] | any } {
|
||||
let results = {}
|
||||
for(let alias in selectPathFilters){
|
||||
let selectPathFilter = selectPathFilters[alias]
|
||||
if(selectPathFilter == '*'){
|
||||
results[alias] = rawResource
|
||||
} else {
|
||||
results[alias] = fhirpath.evaluate(rawResource, selectPathFilter)
|
||||
}
|
||||
}
|
||||
|
||||
results["id"] = rawResource.id
|
||||
results["resourceType"] = rawResource.resourceType
|
||||
return results
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,13 @@ import {FastenApiService} from '../../services/fasten-api.service';
|
|||
import {HTTP_CLIENT_TOKEN} from '../../dependency-injection';
|
||||
import {HttpClient} from '@angular/common/http';
|
||||
|
||||
// import {encountersJson} from '../fixtures/encounters.json'
|
||||
import weightFixture from "../fixtures/weight.json"
|
||||
import claimsFixture from "../fixtures/claims.json"
|
||||
import immunizationsFixture from "../fixtures/immunizations.json"
|
||||
import encountersFixture from "../fixtures/encounters.json"
|
||||
import {DashboardWidgetQuery} from '../../models/widget/dashboard-widget-query';
|
||||
|
||||
describe('DashboardWidgetComponent', () => {
|
||||
let component: DashboardWidgetComponent;
|
||||
let fixture: ComponentFixture<DashboardWidgetComponent>;
|
||||
|
@ -36,4 +43,272 @@ describe('DashboardWidgetComponent', () => {
|
|||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
describe('chartProcessQueryResults', () => {
|
||||
describe('Weight - SimpleLineChartWidget', () => {
|
||||
it('should parse data', () => {
|
||||
expect(component).toBeTruthy();
|
||||
|
||||
//setup
|
||||
component.widgetConfig = {
|
||||
"title_text": "Weight",
|
||||
"description_text": "",
|
||||
"x": 8,
|
||||
"y": 0,
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"item_type": "simple-line-chart-widget",
|
||||
"queries": [{
|
||||
"q": {
|
||||
"select": [
|
||||
"valueQuantity.value as data",
|
||||
"(effectiveDateTime | issued).first() as label"
|
||||
],
|
||||
"from": "Observation",
|
||||
"where": {
|
||||
"code": "http://loinc.org|29463-7,http://loinc.org|3141-9,http://snomed.info/sct|27113001"
|
||||
}
|
||||
}
|
||||
}],
|
||||
"parsing": {
|
||||
"xAxisKey": "label",
|
||||
"yAxisKey": "data"
|
||||
}
|
||||
}
|
||||
//test
|
||||
let processedQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[0].q, weightFixture)
|
||||
component.chartProcessQueryResults([processedQueryResponse])
|
||||
|
||||
//assert
|
||||
expect(component.isEmpty).toBeFalse()
|
||||
expect(component.loading).toBeFalse()
|
||||
expect(component.chartLabels).toEqual([
|
||||
['2012-04-23T12:22:44-04:00'],
|
||||
['2016-05-16T12:22:44-04:00'],
|
||||
['2010-04-12T12:22:44-04:00'],
|
||||
['2014-05-05T12:22:44-04:00'],
|
||||
['2011-04-18T12:22:44-04:00'],
|
||||
['2019-06-03T12:22:44-04:00'],
|
||||
['2015-05-11T12:22:44-04:00'],
|
||||
['2013-04-29T12:22:44-04:00'],
|
||||
['2017-05-22T12:22:44-04:00'],
|
||||
['2018-05-28T12:22:44-04:00'],
|
||||
])
|
||||
expect(component.chartDatasets.length).toBe(1)
|
||||
// @ts-ignore
|
||||
expect(component.chartDatasets[0].data.length).toBe(10)
|
||||
expect(component.chartDatasets[0].data.length).toBe(component.chartLabels.length)
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
describe('Compliance - DualGaugesWidget', () => {
|
||||
it('should parse data', () => {
|
||||
expect(component).toBeTruthy();
|
||||
|
||||
//setup
|
||||
component.widgetConfig = {
|
||||
"title_text": "Compliance",
|
||||
"description_text": "Use to track important healthcare and medical tasks.",
|
||||
"x": 0,
|
||||
"y": 10,
|
||||
"width": 4,
|
||||
"height": 2,
|
||||
"item_type": "dual-gauges-widget",
|
||||
"queries": [{
|
||||
"dataset_options": {
|
||||
"label": "Vaccines"
|
||||
},
|
||||
"q": {
|
||||
"select": [],
|
||||
"from": "Immunization",
|
||||
"where": {},
|
||||
|
||||
"aggregation_params":["resourceType"],
|
||||
"aggregation_type":"countBy"
|
||||
}
|
||||
},
|
||||
{
|
||||
"dataset_options": {
|
||||
"label": "Claims"
|
||||
},
|
||||
"q": {
|
||||
"select": [],
|
||||
"from": "Claim",
|
||||
"where": {},
|
||||
|
||||
"aggregation_params":["resourceType"],
|
||||
"aggregation_type":"countBy"
|
||||
}
|
||||
}],
|
||||
"parsing": {
|
||||
"label": "key",
|
||||
"key": "value"
|
||||
}
|
||||
}
|
||||
//test
|
||||
let processedClaimsQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[0].q, claimsFixture)
|
||||
let processedImmunizationsQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[1].q, immunizationsFixture)
|
||||
component.chartProcessQueryResults([processedClaimsQueryResponse, processedImmunizationsQueryResponse])
|
||||
|
||||
//assert
|
||||
expect(component.isEmpty).toBeFalse()
|
||||
expect(component.loading).toBeFalse()
|
||||
expect(component.chartLabels).toEqual([ //TODO: should this be 'Immunization' and 'Claim'?
|
||||
'Immunization'
|
||||
])
|
||||
expect(component.chartDatasets.length).toBe(2)
|
||||
// // @ts-ignore
|
||||
expect(component.chartDatasets[0].data.length).toBe(1)
|
||||
expect(component.chartDatasets[1].data.length).toBe(1)
|
||||
// expect(component.chartDatasets.length).toBe(component.chartLabels.length)
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
describe('Recent Encounters - TableWidget', () => {
|
||||
it('should parse data', () => {
|
||||
expect(component).toBeTruthy();
|
||||
|
||||
//setup
|
||||
component.widgetConfig = {
|
||||
"title_text": "Recent Encounters",
|
||||
"description_text": "Recent interactions with healthcare providers",
|
||||
"x": 4,
|
||||
"y": 10,
|
||||
"width": 8,
|
||||
"height": 4,
|
||||
"item_type": "table-widget",
|
||||
"queries": [{
|
||||
"q": {
|
||||
"select": [
|
||||
"serviceProvider.display as institution",
|
||||
"period.start as date",
|
||||
"reasonCode.coding.display.first() as reason",
|
||||
"participant.individual.display as provider"
|
||||
],
|
||||
"from": "Encounter",
|
||||
"where": {}
|
||||
}
|
||||
}],
|
||||
"parsing": {
|
||||
"Id": "id",
|
||||
"Institution": "institution",
|
||||
"Reason": "reason",
|
||||
"Provider": "provider"
|
||||
}
|
||||
}
|
||||
//test
|
||||
let processedEncountersQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[0].q, encountersFixture)
|
||||
component.chartProcessQueryResults([processedEncountersQueryResponse])
|
||||
|
||||
//assert
|
||||
expect(component.isEmpty).toBeFalse()
|
||||
expect(component.loading).toBeFalse()
|
||||
expect(component.chartLabels).toEqual([
|
||||
'9ea75521-441c-41e4-96df-237219e5ca63',
|
||||
'cb3ae560-0a65-41f8-9712-aa3c5766ffe5',
|
||||
'47f5936b-ef68-4404-9183-8971e75e5a1d',
|
||||
'd051d64b-5b2f-4465-92c3-4e693d54f653',
|
||||
'cde6c902-957a-48c1-883f-38c808188fe3',
|
||||
'9f4e40e3-6f6b-4959-b407-3926e9ed049c',
|
||||
'cd4bfc24-8fff-4eb0-bd93-3c7054551514',
|
||||
'9adf6236-72dc-4abf-ab7e-df370b02701c',
|
||||
'9a6f9230-3549-43e1-83c8-f0fd740a24f3',
|
||||
'919f002e-ff43-4ea6-8acb-be3f1139c59d',
|
||||
'7a38b6bf-1787-4227-af08-ae10c29632e4',
|
||||
'e44ec534-b752-4647-acd3-3794bc51db6d',
|
||||
'51dec3d2-a098-4671-99bc-d7cf68561903',
|
||||
'1a3bbe38-b7c3-43fc-b175-740adfcaa83a',
|
||||
'3fba349b-e165-45f7-9cf2-66c391f293b6',
|
||||
'24f73ec3-9b7a-42a9-be03-53bffd9b304c',
|
||||
'92b439da-6fdd-48e5-aa8d-b0543f840a1b',
|
||||
'd9a7c76f-dfe4-41c6-9924-82a405613f44',
|
||||
])
|
||||
expect(component.chartDatasets.length).toBe(1)
|
||||
// // @ts-ignore
|
||||
expect(component.chartDatasets[0].data.length).toBe(18)
|
||||
// expect(component.chartDatasets.length).toBe(component.chartLabels.length)
|
||||
});
|
||||
|
||||
})
|
||||
describe('Vitals - ListWidget', () => {})
|
||||
describe('Resource Aggregation - DonutWidget', () => {})
|
||||
|
||||
})
|
||||
|
||||
it('fhirPathMapQueryFn should generate a valid select map with aliases', () => {
|
||||
//setup
|
||||
let patient = {
|
||||
"resourceType": "Patient",
|
||||
"id": "example",
|
||||
"address": [
|
||||
{
|
||||
"use": "home",
|
||||
"city": "PleasantVille",
|
||||
"type": "both",
|
||||
"state": "Vic",
|
||||
"line": [
|
||||
"534 Erewhon St"
|
||||
],
|
||||
"postalCode": "3999",
|
||||
"period": {
|
||||
"start": "1974-12-25"
|
||||
},
|
||||
"district": "Rainbow",
|
||||
"text": "534 Erewhon St PeasantVille, Rainbow, Vic 3999"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
let query = {
|
||||
// use: string
|
||||
select: ['address.use', "address.where(type='both').state as state"],
|
||||
from: 'Patient',
|
||||
where: {'id':'example'}
|
||||
|
||||
} as DashboardWidgetQuery
|
||||
|
||||
|
||||
let query2 = {
|
||||
// use: string
|
||||
select: ['*', "address.where(type='both').use | address.city as joined"],
|
||||
from: 'Patient',
|
||||
where: {'id':'example'}
|
||||
|
||||
} as DashboardWidgetQuery
|
||||
|
||||
|
||||
//test
|
||||
let fn = component.fhirPathMapQueryFn(query)
|
||||
expect(fn(patient)).toEqual({ "address.use": [ 'home' ], "state": [ 'Vic' ], 'id': 'example', 'resourceType': 'Patient' })
|
||||
|
||||
// let fn2 = service.fhirPathMapQueryFn(query2)
|
||||
let fn2 = component.fhirPathMapQueryFn(query2)
|
||||
expect(fn2(patient)).toEqual({
|
||||
"joined": [ 'home', 'PleasantVille' ],
|
||||
"*": {
|
||||
"resourceType": "Patient",
|
||||
"id": "example",
|
||||
"address": [
|
||||
{
|
||||
"use": "home",
|
||||
"city": "PleasantVille",
|
||||
"type": "both",
|
||||
"state": "Vic",
|
||||
"line": [
|
||||
"534 Erewhon St"
|
||||
],
|
||||
"postalCode": "3999",
|
||||
"period": {
|
||||
"start": "1974-12-25"
|
||||
},
|
||||
"district": "Rainbow",
|
||||
"text": "534 Erewhon St PeasantVille, Rainbow, Vic 3999"
|
||||
}
|
||||
]
|
||||
}, 'id': 'example', 'resourceType': 'Patient' })
|
||||
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -10,6 +10,11 @@ import {forkJoin} from 'rxjs';
|
|||
import { BehaviorSubject } from 'rxjs';
|
||||
import * as _ from 'lodash';
|
||||
import {LoadingWidgetComponent} from '../loading-widget/loading-widget.component';
|
||||
import {ResponseWrapper} from '../../models/response-wrapper';
|
||||
import {ResourceFhir} from '../../models/fasten/resource_fhir';
|
||||
import {DashboardWidgetQuery} from '../../models/widget/dashboard-widget-query';
|
||||
import fhirpath from 'fhirpath';
|
||||
import {map} from 'rxjs/operators';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
|
@ -41,7 +46,7 @@ export class DashboardWidgetComponent implements OnInit, DashboardWidgetComponen
|
|||
// }[] = [];
|
||||
chartDatasetsDefaults = [];
|
||||
chartDatasets: ChartConfiguration<'line'>['data']['datasets'] = [];
|
||||
chartLabels: string[] = [];
|
||||
chartLabels: any[] | string[] = [];
|
||||
chartOptions: ChartOptions = {}
|
||||
// chartColors: any;
|
||||
|
||||
|
@ -54,7 +59,27 @@ export class DashboardWidgetComponent implements OnInit, DashboardWidgetComponen
|
|||
return
|
||||
}
|
||||
this.loading = true
|
||||
forkJoin(this.widgetConfig.queries.map(query => { return this.fastenApi.queryResources(query.q)})).subscribe((queryResults) => {
|
||||
var currentThis = this
|
||||
forkJoin(this.widgetConfig.queries.map(query => {
|
||||
return this.fastenApi.queryResources(query.q).pipe(
|
||||
map((responseWrapper: ResponseWrapper) => {
|
||||
return this.processQueryResourcesSelectClause(query.q, responseWrapper)
|
||||
})
|
||||
)
|
||||
})).subscribe(
|
||||
this.chartProcessQueryResults.bind(currentThis),
|
||||
(error) => {
|
||||
this.loading = false
|
||||
},
|
||||
() => {
|
||||
console.log("complete")
|
||||
})
|
||||
}
|
||||
|
||||
//process query requests for chartJS library. This is the default implementation, but can be overridden by child classes
|
||||
chartProcessQueryResults(queryResults: any[]) {
|
||||
|
||||
try {
|
||||
this.chartDatasets = []
|
||||
|
||||
for (let queryNdx in queryResults) {
|
||||
|
@ -67,8 +92,8 @@ export class DashboardWidgetComponent implements OnInit, DashboardWidgetComponen
|
|||
// if(Array.isArray(label)){
|
||||
// this.chartLabels.push(...label)
|
||||
// } else {
|
||||
this.isEmpty = false
|
||||
this.chartLabels.push(label)
|
||||
this.isEmpty = false
|
||||
this.chartLabels.push(label)
|
||||
// }
|
||||
}
|
||||
|
||||
|
@ -86,14 +111,18 @@ export class DashboardWidgetComponent implements OnInit, DashboardWidgetComponen
|
|||
//push datasets for non-query components
|
||||
this.chartDatasetsSubject.next(queryResults)
|
||||
this.loading = false
|
||||
} catch(e){
|
||||
console.error("ERROR DURING PROCESSING")
|
||||
console.error(e)
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
this.loading = false
|
||||
})
|
||||
|
||||
|
||||
console.log(`Loading COmpleted for ${this.widgetConfig.title_text}, ${this.loading}`)
|
||||
}
|
||||
|
||||
getLastDatasetValue(dataset: ChartDataset<'line'>): string {
|
||||
let lastItem = dataset?.data?.splice(-1) || ''
|
||||
let lastItem = dataset?.data?.[dataset?.data?.length -1] || ''
|
||||
let valueKey = this.chartOptions?.parsing?.['yAxisKey'] || dataset?.parsing?.['key']
|
||||
console.log('current', lastItem, valueKey)
|
||||
|
||||
|
@ -107,8 +136,96 @@ export class DashboardWidgetComponent implements OnInit, DashboardWidgetComponen
|
|||
console.log('lastItem-object', lastItem?.[valueKey])
|
||||
return lastItem?.[valueKey]
|
||||
} else {
|
||||
return lastItem
|
||||
return lastItem.toString()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// This function will process the raw response from the Dashboard Query API call, which requires frontend processing of the select clause.
|
||||
// it will call the fhirPathMapQueryFn which will extract FHIRPath values from the resource_raw field of the ResourceFhir object
|
||||
// fhirPathMapQueryFn will also assign aliases where appropriate.
|
||||
// `where` clause filtering is processed in the backend.
|
||||
processQueryResourcesSelectClause(query: DashboardWidgetQuery, response: ResponseWrapper): any[]{
|
||||
console.log("RESPONSE", response)
|
||||
if(!response.data || !response.data.length){
|
||||
console.log("NO QUERY DATA FOUND")
|
||||
return []
|
||||
}
|
||||
let results = response.data
|
||||
.map((resource: ResourceFhir) => {
|
||||
if (!resource.resource_raw) {
|
||||
return null
|
||||
}
|
||||
return this.fhirPathMapQueryFn(query)(resource.resource_raw)
|
||||
})
|
||||
|
||||
if(query.aggregation_type){
|
||||
switch (query.aggregation_type) {
|
||||
case "countBy":
|
||||
|
||||
return Object.entries(_[query.aggregation_type](results, ...(query.aggregation_params || []))).map(pair => {
|
||||
return {key: pair[0], value: pair[1]}
|
||||
})
|
||||
|
||||
break;
|
||||
default:
|
||||
throw new Error("unsupported aggregation type")
|
||||
}
|
||||
}
|
||||
else {
|
||||
return results
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// This function will convert DashboardWidgetQuery.select filters into a FHIRPath query strings and return the results
|
||||
// as a map (keyed by the select alias)
|
||||
// ie. `name.where(given='Jim')` will be converted to `Patient.name.where(given='Jim')`
|
||||
// ie. `name.where(given='Jim') as GivenName` will be converted to `Patient.name.where(given='Jim')` and be stored in the returned map as GivenName`
|
||||
// the returned map will always contain a `id` key, which will be the resource id and a `resourceType` key, which will be the resource type
|
||||
fhirPathMapQueryFn(query: DashboardWidgetQuery): (rawResource: any) => { [name:string]: string | string[] | any } {
|
||||
let selectPathFilters: { [name:string]: string } = query.select.reduce((selectAliasMap, selectPathFilter): { [name:string]: string } => {
|
||||
let alias = selectPathFilter
|
||||
let selectPath = selectPathFilter
|
||||
if(selectPathFilter.indexOf(" as ") > -1){
|
||||
let selectPathFilterParts = selectPathFilter.split(" as ")
|
||||
selectPath = selectPathFilterParts[0] as string
|
||||
alias = selectPathFilterParts[1] as string
|
||||
} else if(selectPathFilter.indexOf(" AS ") > -1){
|
||||
let selectPathFilterParts = selectPathFilter.split(" AS ")
|
||||
selectPath = selectPathFilterParts[0] as string
|
||||
alias = selectPathFilterParts[1] as string
|
||||
}
|
||||
|
||||
selectAliasMap[alias] = selectPath
|
||||
// if(selectPath == '*'){
|
||||
// selectAliasMap[alias] = selectPath
|
||||
// } else {
|
||||
// selectAliasMap[alias] = `${query.from}.${selectPath}`
|
||||
// }
|
||||
|
||||
return selectAliasMap
|
||||
}, {})
|
||||
|
||||
// console.log(selectPathFilters)
|
||||
return function(rawResource: any):{ [name:string]: string | string[] | any } {
|
||||
let results = {}
|
||||
for(let alias in selectPathFilters){
|
||||
let selectPathFilter = selectPathFilters[alias]
|
||||
if(selectPathFilter == '*'){
|
||||
results[alias] = rawResource
|
||||
} else {
|
||||
results[alias] = fhirpath.evaluate(rawResource, selectPathFilter)
|
||||
}
|
||||
}
|
||||
|
||||
results["id"] = rawResource.id
|
||||
results["resourceType"] = rawResource.resourceType
|
||||
return results
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,704 @@
|
|||
{
|
||||
"data": [{
|
||||
"id": "05892c09-e317-488c-bb48-415e69cb6771",
|
||||
"created_at": "2023-06-21T10:30:38.349662-07:00",
|
||||
"updated_at": "2023-06-21T10:30:38.349662-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "17b6b1f4-b42c-4d03-9a2e-40fb322d42fd",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "17b6b1f4-b42c-4d03-9a2e-40fb322d42fd",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cde6c902-957a-48c1-883f-38c808188fe3"
|
||||
},
|
||||
"effectiveDateTime": "2016-05-16T12:22:44-04:00",
|
||||
"issued": "2016-05-16T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 77.83348805231984,
|
||||
"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": 111.44303613281846,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "09ff7012-b83b-488c-a4bb-07d2f0121b65",
|
||||
"created_at": "2023-06-21T10:30:42.086232-07:00",
|
||||
"updated_at": "2023-06-21T10:30:42.086232-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "8b52b781-dcd8-4f93-9bdb-e4dc3f77190c",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "8b52b781-dcd8-4f93-9bdb-e4dc3f77190c",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:e44ec534-b752-4647-acd3-3794bc51db6d"
|
||||
},
|
||||
"effectiveDateTime": "2017-05-22T12:22:44-04:00",
|
||||
"issued": "2017-05-22T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 81.12610963085605,
|
||||
"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.19094871326612,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "0c13c8c2-e723-466c-b658-7610779be5c2",
|
||||
"created_at": "2023-06-21T10:30:12.897834-07:00",
|
||||
"updated_at": "2023-06-21T10:30:12.897834-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "c88a7713-22a0-4155-9494-b0a062ae7bbf",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "c88a7713-22a0-4155-9494-b0a062ae7bbf",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d051d64b-5b2f-4465-92c3-4e693d54f653"
|
||||
},
|
||||
"effectiveDateTime": "2010-04-12T12:22:44-04:00",
|
||||
"issued": "2010-04-12T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 76.78761391926881,
|
||||
"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": 124.80322526286511,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "21ef5fb4-c3f1-4b03-8b00-c5fff4c6acc5",
|
||||
"created_at": "2023-06-21T10:30:23.081336-07:00",
|
||||
"updated_at": "2023-06-21T10:30:23.081336-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "e56c8ad2-cdef-4c56-97b3-d2effb2e941c",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "e56c8ad2-cdef-4c56-97b3-d2effb2e941c",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"effectiveDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"issued": "2013-04-29T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 73.91585381472034,
|
||||
"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": 126.06432127968546,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "556e9618-f6ec-4925-87da-d35709dcb092",
|
||||
"created_at": "2023-06-21T10:30:53.159139-07:00",
|
||||
"updated_at": "2023-06-21T10:30:53.159139-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "d2935a34-d250-490e-a4a1-ea910fcace5d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "d2935a34-d250-490e-a4a1-ea910fcace5d",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:92b439da-6fdd-48e5-aa8d-b0543f840a1b"
|
||||
},
|
||||
"effectiveDateTime": "2019-06-03T12:22:44-04:00",
|
||||
"issued": "2019-06-03T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 75.37580011012278,
|
||||
"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": 131.52539764407783,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "5e9ed5c9-6e5a-4a97-ac42-27fa232b2020",
|
||||
"created_at": "2023-06-21T10:30:32.242296-07:00",
|
||||
"updated_at": "2023-06-21T10:30:32.242296-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "ea278bf1-6681-419e-a7b3-dd1a4af282f7",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "ea278bf1-6681-419e-a7b3-dd1a4af282f7",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9f4e40e3-6f6b-4959-b407-3926e9ed049c"
|
||||
},
|
||||
"effectiveDateTime": "2014-05-05T12:22:44-04:00",
|
||||
"issued": "2014-05-05T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 85.64448496297851,
|
||||
"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.97510521190597,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "6c8b9926-3e87-4625-b883-e7bb60cc0266",
|
||||
"created_at": "2023-06-21T10:30:45.486692-07:00",
|
||||
"updated_at": "2023-06-21T10:30:45.486692-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "f492dd61-a224-4d64-a439-cb845484304e",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "f492dd61-a224-4d64-a439-cb845484304e",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:51dec3d2-a098-4671-99bc-d7cf68561903"
|
||||
},
|
||||
"effectiveDateTime": "2018-05-28T12:22:44-04:00",
|
||||
"issued": "2018-05-28T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 74.71864006233274,
|
||||
"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": 110.35838613052204,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "849af0dd-b04f-4639-82e0-d90b86553930",
|
||||
"created_at": "2023-06-21T10:30:20.57401-07:00",
|
||||
"updated_at": "2023-06-21T10:30:20.57401-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "a5130fc5-cd10-4ce2-9496-5b6e1580a1a8",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "a5130fc5-cd10-4ce2-9496-5b6e1580a1a8",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:1a3bbe38-b7c3-43fc-b175-740adfcaa83a"
|
||||
},
|
||||
"effectiveDateTime": "2012-04-23T12:22:44-04:00",
|
||||
"issued": "2012-04-23T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 84.36900530079281,
|
||||
"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": 134.87097807950065,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "ad93307a-8160-421d-b715-386d0c846349",
|
||||
"created_at": "2023-06-21T10:30:34.913331-07:00",
|
||||
"updated_at": "2023-06-21T10:30:34.913331-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "6c4d2535-5a32-4b8d-af42-4594886687ab",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "6c4d2535-5a32-4b8d-af42-4594886687ab",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9ea75521-441c-41e4-96df-237219e5ca63"
|
||||
},
|
||||
"effectiveDateTime": "2015-05-11T12:22:44-04:00",
|
||||
"issued": "2015-05-11T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 75.50241672024143,
|
||||
"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.08639672982315,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "da12b820-2135-4297-b9de-802a92703014",
|
||||
"created_at": "2023-06-21T10:30:16.626658-07:00",
|
||||
"updated_at": "2023-06-21T10:30:16.626658-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "5c912b75-da0c-49b5-9e27-0844d0911f38",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "5c912b75-da0c-49b5-9e27-0844d0911f38",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cb3ae560-0a65-41f8-9712-aa3c5766ffe5"
|
||||
},
|
||||
"effectiveDateTime": "2011-04-18T12:22:44-04:00",
|
||||
"issued": "2011-04-18T12:22:44.702-04:00",
|
||||
"component": [{
|
||||
"code": {
|
||||
"coding": [{
|
||||
"system": "http://loinc.org",
|
||||
"code": "8462-4",
|
||||
"display": "Diastolic Blood Pressure"
|
||||
}],
|
||||
"text": "Diastolic Blood Pressure"
|
||||
},
|
||||
"valueQuantity": {
|
||||
"value": 81.09184034159904,
|
||||
"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.23815428887382,
|
||||
"unit": "mm[Hg]",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "mm[Hg]"
|
||||
}
|
||||
}]
|
||||
},
|
||||
"related_resources": null
|
||||
}],
|
||||
"success": true
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,881 @@
|
|||
{
|
||||
"data": [{
|
||||
"id": "00e8dd4a-1656-47ca-866d-2270981d7fcb",
|
||||
"created_at": "2023-07-23T12:12:19.099567-07:00",
|
||||
"updated_at": "2023-07-23T12:12:19.099567-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "9ea75521-441c-41e4-96df-237219e5ca63",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "9ea75521-441c-41e4-96df-237219e5ca63",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2015-05-11T12:22:44-04:00",
|
||||
"end": "2015-05-11T12:52:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "09d8baa1-abcd-4374-be5a-8ae9feb8300b",
|
||||
"created_at": "2023-07-23T12:12:01.982323-07:00",
|
||||
"updated_at": "2023-07-23T12:12:01.982323-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "cb3ae560-0a65-41f8-9712-aa3c5766ffe5",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "cb3ae560-0a65-41f8-9712-aa3c5766ffe5",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2011-04-18T12:22:44-04:00",
|
||||
"end": "2011-04-18T12:37:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "0e9191d7-01b5-4962-96cf-2d837046d552",
|
||||
"created_at": "2023-07-23T12:12:14.101721-07:00",
|
||||
"updated_at": "2023-07-23T12:12:14.101721-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "47f5936b-ef68-4404-9183-8971e75e5a1d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "47f5936b-ef68-4404-9183-8971e75e5a1d",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2013-09-23T12:22:44-04:00",
|
||||
"end": "2013-09-23T12:40:44-04:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "10509002",
|
||||
"display": "Acute bronchitis (disorder)"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "233ad8d1-e9ed-414c-a99d-74a717554f9d",
|
||||
"created_at": "2023-07-23T12:11:58.389565-07:00",
|
||||
"updated_at": "2023-07-23T12:11:58.389565-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "d051d64b-5b2f-4465-92c3-4e693d54f653",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "d051d64b-5b2f-4465-92c3-4e693d54f653",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2010-04-12T12:22:44-04:00",
|
||||
"end": "2010-04-12T12:52:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "2b07dffb-e5a8-4171-a524-f2f1a7f75446",
|
||||
"created_at": "2023-07-23T12:12:22.314839-07:00",
|
||||
"updated_at": "2023-07-23T12:12:22.314839-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "cde6c902-957a-48c1-883f-38c808188fe3",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "cde6c902-957a-48c1-883f-38c808188fe3",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2016-05-16T12:22:44-04:00",
|
||||
"end": "2016-05-16T12:52:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "37ef36ee-5e97-47d9-a35b-5467d531b1d3",
|
||||
"created_at": "2023-07-23T12:12:16.573045-07:00",
|
||||
"updated_at": "2023-07-23T12:12:16.573045-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "9f4e40e3-6f6b-4959-b407-3926e9ed049c",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "9f4e40e3-6f6b-4959-b407-3926e9ed049c",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2014-05-05T12:22:44-04:00",
|
||||
"end": "2014-05-05T12:37:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "3b449c0d-8a94-4685-b629-3d6d78a6f8d6",
|
||||
"created_at": "2023-07-23T12:12:15.9432-07:00",
|
||||
"updated_at": "2023-07-23T12:12:15.9432-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "cd4bfc24-8fff-4eb0-bd93-3c7054551514",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "cd4bfc24-8fff-4eb0-bd93-3c7054551514",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "702927004",
|
||||
"display": "Urgent care clinic (procedure)"
|
||||
}],
|
||||
"text": "Urgent care clinic (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000016d8c",
|
||||
"display": "Dr. Candyce305 Prohaska837"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2013-09-30T12:22:44-04:00",
|
||||
"end": "2013-09-30T12:37:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:90cf148c-69ed-3d33-aa86-b509c6b0b25f",
|
||||
"display": "PROMPT CARE WALK-IN CLINIC"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "5048c750-75dd-474a-a492-566405f712dd",
|
||||
"created_at": "2023-07-23T12:12:34.692432-07:00",
|
||||
"updated_at": "2023-07-23T12:12:34.692432-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "9adf6236-72dc-4abf-ab7e-df370b02701c",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "9adf6236-72dc-4abf-ab7e-df370b02701c",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2019-01-16T11:22:44-05:00",
|
||||
"end": "2019-01-16T11:37:44-05:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "65363002",
|
||||
"display": "Otitis media"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "6411f6b8-9934-4da7-b7c5-505f48f562bb",
|
||||
"created_at": "2023-07-23T12:12:21.661068-07:00",
|
||||
"updated_at": "2023-07-23T12:12:21.661068-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "9a6f9230-3549-43e1-83c8-f0fd740a24f3",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "9a6f9230-3549-43e1-83c8-f0fd740a24f3",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2015-12-24T11:22:44-05:00",
|
||||
"end": "2015-12-24T11:37:44-05:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "444814009",
|
||||
"display": "Viral sinusitis (disorder)"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "66d13c6e-73f2-4a97-a414-c5e68e5d2938",
|
||||
"created_at": "2023-07-23T12:12:24.876373-07:00",
|
||||
"updated_at": "2023-07-23T12:12:24.876373-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "919f002e-ff43-4ea6-8acb-be3f1139c59d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "919f002e-ff43-4ea6-8acb-be3f1139c59d",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2016-10-11T12:22:44-04:00",
|
||||
"end": "2016-10-11T12:37:44-04:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "444814009",
|
||||
"display": "Viral sinusitis (disorder)"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "6d21c578-5fd8-48fa-859b-6d6964bf3154",
|
||||
"created_at": "2023-07-23T12:12:28.426776-07:00",
|
||||
"updated_at": "2023-07-23T12:12:28.426776-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "7a38b6bf-1787-4227-af08-ae10c29632e4",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "7a38b6bf-1787-4227-af08-ae10c29632e4",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2018-03-03T11:22:44-05:00",
|
||||
"end": "2018-03-03T11:37:44-05:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "444814009",
|
||||
"display": "Viral sinusitis (disorder)"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "8a7ec8f9-ee67-4616-b51f-cbbf021d48fb",
|
||||
"created_at": "2023-07-23T12:12:25.846215-07:00",
|
||||
"updated_at": "2023-07-23T12:12:25.846215-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "e44ec534-b752-4647-acd3-3794bc51db6d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "e44ec534-b752-4647-acd3-3794bc51db6d",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2017-05-22T12:22:44-04:00",
|
||||
"end": "2017-05-22T12:52:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "9b63be9a-4cec-4387-a17e-b0a9bab2e15e",
|
||||
"created_at": "2023-07-23T12:12:29.074866-07:00",
|
||||
"updated_at": "2023-07-23T12:12:29.074866-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "51dec3d2-a098-4671-99bc-d7cf68561903",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "51dec3d2-a098-4671-99bc-d7cf68561903",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2018-05-28T12:22:44-04:00",
|
||||
"end": "2018-05-28T12:52:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "a9f304d1-10c7-423d-a381-6f390bf0d76e",
|
||||
"created_at": "2023-07-23T12:12:05.46516-07:00",
|
||||
"updated_at": "2023-07-23T12:12:05.46516-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "1a3bbe38-b7c3-43fc-b175-740adfcaa83a",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "1a3bbe38-b7c3-43fc-b175-740adfcaa83a",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2012-04-23T12:22:44-04:00",
|
||||
"end": "2012-04-23T12:37:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "b0a56a45-ce9f-4573-a899-38a51a4e9a8d",
|
||||
"created_at": "2023-07-23T12:12:01.325522-07:00",
|
||||
"updated_at": "2023-07-23T12:12:01.325522-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "3fba349b-e165-45f7-9cf2-66c391f293b6",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "3fba349b-e165-45f7-9cf2-66c391f293b6",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2010-10-05T12:22:44-04:00",
|
||||
"end": "2010-10-05T12:37:44-04:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "444814009",
|
||||
"display": "Viral sinusitis (disorder)"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "e909b89c-eaf7-4d58-a7cf-6e8e9943eeae",
|
||||
"created_at": "2023-07-23T12:12:04.338554-07:00",
|
||||
"updated_at": "2023-07-23T12:12:04.338554-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "24f73ec3-9b7a-42a9-be03-53bffd9b304c",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "24f73ec3-9b7a-42a9-be03-53bffd9b304c",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "185345009",
|
||||
"display": "Encounter for symptom"
|
||||
}],
|
||||
"text": "Encounter for symptom"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-00000000010e",
|
||||
"display": "Dr. Renato359 Jenkins714"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2011-09-15T12:22:44-04:00",
|
||||
"end": "2011-09-15T12:52:44-04:00"
|
||||
},
|
||||
"reasonCode": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "195662009",
|
||||
"display": "Acute viral pharyngitis (disorder)"
|
||||
}]
|
||||
}],
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:d692e283-0833-3201-8e55-4f868a9c0736",
|
||||
"display": "HALLMARK HEALTH SYSTEM"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "fafe0438-2f83-45ab-a7c9-1b9330658b25",
|
||||
"created_at": "2023-07-23T12:12:35.984997-07:00",
|
||||
"updated_at": "2023-07-23T12:12:35.984997-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "92b439da-6fdd-48e5-aa8d-b0543f840a1b",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "92b439da-6fdd-48e5-aa8d-b0543f840a1b",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2019-06-03T12:22:44-04:00",
|
||||
"end": "2019-06-03T12:37:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "fbb13047-e7ad-49d1-bfae-13b0b0ab181b",
|
||||
"created_at": "2023-07-23T12:12:08.013515-07:00",
|
||||
"updated_at": "2023-07-23T12:12:08.013515-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Encounter",
|
||||
"source_resource_id": "d9a7c76f-dfe4-41c6-9924-82a405613f44",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Encounter",
|
||||
"id": "d9a7c76f-dfe4-41c6-9924-82a405613f44",
|
||||
"status": "finished",
|
||||
"class": {
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
|
||||
"code": "AMB"
|
||||
},
|
||||
"type": [{
|
||||
"coding": [{
|
||||
"system": "http://snomed.info/sct",
|
||||
"code": "410620009",
|
||||
"display": "Well child visit (procedure)"
|
||||
}],
|
||||
"text": "Well child visit (procedure)"
|
||||
}],
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"display": "Abraham100 Heller342"
|
||||
},
|
||||
"participant": [{
|
||||
"individual": {
|
||||
"reference": "urn:uuid:0000016d-3a85-4cca-0000-000000000636",
|
||||
"display": "Dr. Mariela993 Schamberger479"
|
||||
}
|
||||
}],
|
||||
"period": {
|
||||
"start": "2013-04-29T12:22:44-04:00",
|
||||
"end": "2013-04-29T12:52:44-04:00"
|
||||
},
|
||||
"serviceProvider": {
|
||||
"reference": "urn:uuid:fc0bcb63-569b-3658-aa03-71cf89aea64e",
|
||||
"display": "PCP1336"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}],
|
||||
"success": true
|
||||
}
|
|
@ -0,0 +1,454 @@
|
|||
{
|
||||
"data": [{
|
||||
"id": "04046c9e-ff18-4180-872f-a4aab7c537c7",
|
||||
"created_at": "2023-06-21T10:30:33.641052-07:00",
|
||||
"updated_at": "2023-06-21T10:30:33.641052-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "a0330432-1e3e-4c71-a83e-2c87f12a9599",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "a0330432-1e3e-4c71-a83e-2c87f12a9599",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9ea75521-441c-41e4-96df-237219e5ca63"
|
||||
},
|
||||
"effectiveDateTime": "2015-05-11T12:22:44-04:00",
|
||||
"issued": "2015-05-11T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 142.9831664150447,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "34571a1a-8bab-40da-a9f8-40088e646693",
|
||||
"created_at": "2023-06-21T10:30:40.787113-07:00",
|
||||
"updated_at": "2023-06-21T10:30:40.787113-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "56bf0b2a-9a7e-4269-a580-6949eec26e2c",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "56bf0b2a-9a7e-4269-a580-6949eec26e2c",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:e44ec534-b752-4647-acd3-3794bc51db6d"
|
||||
},
|
||||
"effectiveDateTime": "2017-05-22T12:22:44-04:00",
|
||||
"issued": "2017-05-22T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 156.4382689397082,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "5c8c0db8-4321-49d1-bc53-84ef5ee0b316",
|
||||
"created_at": "2023-06-21T10:30:15.332053-07:00",
|
||||
"updated_at": "2023-06-21T10:30:15.332053-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "d10efaa1-82af-4007-ab2b-f5a5f0e0fad2",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "d10efaa1-82af-4007-ab2b-f5a5f0e0fad2",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cb3ae560-0a65-41f8-9712-aa3c5766ffe5"
|
||||
},
|
||||
"effectiveDateTime": "2011-04-18T12:22:44-04:00",
|
||||
"issued": "2011-04-18T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 123.35269569531211,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "714d2e6c-94c2-421e-b046-239dd8f98958",
|
||||
"created_at": "2023-06-21T10:30:19.247324-07:00",
|
||||
"updated_at": "2023-06-21T10:30:19.247324-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "0d1e439d-c801-44af-a464-160dbd48a764",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "0d1e439d-c801-44af-a464-160dbd48a764",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:1a3bbe38-b7c3-43fc-b175-740adfcaa83a"
|
||||
},
|
||||
"effectiveDateTime": "2012-04-23T12:22:44-04:00",
|
||||
"issued": "2012-04-23T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 127.68914275222296,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "78369c16-d3be-42aa-a4a8-f2b8c9847f32",
|
||||
"created_at": "2023-06-21T10:30:44.202046-07:00",
|
||||
"updated_at": "2023-06-21T10:30:44.202046-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "cb49521a-1bf2-4d34-99ab-d99a5bfffd09",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "cb49521a-1bf2-4d34-99ab-d99a5bfffd09",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:51dec3d2-a098-4671-99bc-d7cf68561903"
|
||||
},
|
||||
"effectiveDateTime": "2018-05-28T12:22:44-04:00",
|
||||
"issued": "2018-05-28T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 160.42796181485912,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "8871e135-0dde-4042-ae20-827e4a76560b",
|
||||
"created_at": "2023-06-21T10:30:11.589418-07:00",
|
||||
"updated_at": "2023-06-21T10:30:11.589418-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "5cd46965-1cb3-47dd-a2e3-fb2581b981da",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "5cd46965-1cb3-47dd-a2e3-fb2581b981da",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d051d64b-5b2f-4465-92c3-4e693d54f653"
|
||||
},
|
||||
"effectiveDateTime": "2010-04-12T12:22:44-04:00",
|
||||
"issued": "2010-04-12T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 117.94689209145396,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "a73bd3c4-c058-4e9a-86d2-555b19b5da47",
|
||||
"created_at": "2023-06-21T10:30:30.966291-07:00",
|
||||
"updated_at": "2023-06-21T10:30:30.966291-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "219c5904-d540-426e-8ed4-459b17ddd388",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "219c5904-d540-426e-8ed4-459b17ddd388",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9f4e40e3-6f6b-4959-b407-3926e9ed049c"
|
||||
},
|
||||
"effectiveDateTime": "2014-05-05T12:22:44-04:00",
|
||||
"issued": "2014-05-05T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 136.80339022666615,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "c2f934bf-c4d8-4fdb-b28a-c2db264f9adf",
|
||||
"created_at": "2023-06-21T10:30:37.060212-07:00",
|
||||
"updated_at": "2023-06-21T10:30:37.060212-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "e1ca3903-26e0-4e84-8e9c-161bca128155",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "e1ca3903-26e0-4e84-8e9c-161bca128155",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cde6c902-957a-48c1-883f-38c808188fe3"
|
||||
},
|
||||
"effectiveDateTime": "2016-05-16T12:22:44-04:00",
|
||||
"issued": "2016-05-16T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 150.4737728470438,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "c8d39944-a058-42c8-9072-eeebf46f4b83",
|
||||
"created_at": "2023-06-21T10:30:51.811191-07:00",
|
||||
"updated_at": "2023-06-21T10:30:51.811191-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "d42b10f9-6a5b-482e-a7ea-d8ebc8acab62",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "d42b10f9-6a5b-482e-a7ea-d8ebc8acab62",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:92b439da-6fdd-48e5-aa8d-b0543f840a1b"
|
||||
},
|
||||
"effectiveDateTime": "2019-06-03T12:22:44-04:00",
|
||||
"issued": "2019-06-03T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 162.6483417232778,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "cb408d49-497c-4d5c-a9e3-73e2454c80ac",
|
||||
"created_at": "2023-06-21T10:30:21.766861-07:00",
|
||||
"updated_at": "2023-06-21T10:30:21.766861-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "ffdd22ed-4942-4c8a-a740-aa2ea68d21c0",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "ffdd22ed-4942-4c8a-a740-aa2ea68d21c0",
|
||||
"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": "8302-2",
|
||||
"display": "Body Height"
|
||||
}],
|
||||
"text": "Body Height"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"effectiveDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"issued": "2013-04-29T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 131.8966291126083,
|
||||
"unit": "cm",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "cm"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}],
|
||||
"success": true
|
||||
}
|
|
@ -0,0 +1,516 @@
|
|||
{
|
||||
"data": [{
|
||||
"id": "2a332c10-0a12-4d96-a819-0b2a6bfae84a",
|
||||
"created_at": "2023-07-23T12:12:00.566576-07:00",
|
||||
"updated_at": "2023-07-23T12:12:00.566576-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "41b6c040-0306-4e61-beea-d9e9f1bec3a1",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "41b6c040-0306-4e61-beea-d9e9f1bec3a1",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d051d64b-5b2f-4465-92c3-4e693d54f653"
|
||||
},
|
||||
"occurrenceDateTime": "2010-04-12T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "31830307-f2ea-4aee-ab3a-d9623b5cfd2c",
|
||||
"created_at": "2023-07-23T12:12:13.019423-07:00",
|
||||
"updated_at": "2023-07-23T12:12:13.019423-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "a9a4ff8c-5436-41ea-a92e-6f63675ed93b",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "a9a4ff8c-5436-41ea-a92e-6f63675ed93b",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"occurrenceDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "4738ca48-c949-4d1e-be77-71b7b81a1aa2",
|
||||
"created_at": "2023-07-23T12:12:27.963068-07:00",
|
||||
"updated_at": "2023-07-23T12:12:27.963068-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "80f61f92-5ad2-4f50-886c-488fb6df8f04",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "80f61f92-5ad2-4f50-886c-488fb6df8f04",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:e44ec534-b752-4647-acd3-3794bc51db6d"
|
||||
},
|
||||
"occurrenceDateTime": "2017-05-22T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "51ace308-124f-45fa-8d2a-d8e0d84716f7",
|
||||
"created_at": "2023-07-23T12:12:18.64349-07:00",
|
||||
"updated_at": "2023-07-23T12:12:18.64349-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "9bfbcc5f-bfbe-4a7d-a558-ee3549f8dc20",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "9bfbcc5f-bfbe-4a7d-a558-ee3549f8dc20",
|
||||
"status": "completed",
|
||||
"vaccineCode": {
|
||||
"coding": [{
|
||||
"system": "http://hl7.org/fhir/sid/cvx",
|
||||
"code": "62",
|
||||
"display": "HPV, quadrivalent"
|
||||
}],
|
||||
"text": "HPV, quadrivalent"
|
||||
},
|
||||
"patient": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9f4e40e3-6f6b-4959-b407-3926e9ed049c"
|
||||
},
|
||||
"occurrenceDateTime": "2014-05-05T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "684178bf-2231-4641-a581-9ecde3b3e60c",
|
||||
"created_at": "2023-07-23T12:12:07.556487-07:00",
|
||||
"updated_at": "2023-07-23T12:12:07.556487-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "b05b0644-26d6-41aa-93af-07d7d2b8442e",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "b05b0644-26d6-41aa-93af-07d7d2b8442e",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:1a3bbe38-b7c3-43fc-b175-740adfcaa83a"
|
||||
},
|
||||
"occurrenceDateTime": "2012-04-23T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "70435780-0fcf-4d08-af8d-a90cac6806d9",
|
||||
"created_at": "2023-07-23T12:12:13.380469-07:00",
|
||||
"updated_at": "2023-07-23T12:12:13.380469-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "63460520-46d2-4af3-9bd9-7778e92d381e",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "63460520-46d2-4af3-9bd9-7778e92d381e",
|
||||
"status": "completed",
|
||||
"vaccineCode": {
|
||||
"coding": [{
|
||||
"system": "http://hl7.org/fhir/sid/cvx",
|
||||
"code": "114",
|
||||
"display": "meningococcal MCV4P"
|
||||
}],
|
||||
"text": "meningococcal MCV4P"
|
||||
},
|
||||
"patient": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"occurrenceDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "70db153f-b145-44a0-b8aa-aac646d01c24",
|
||||
"created_at": "2023-07-23T12:12:16.120207-07:00",
|
||||
"updated_at": "2023-07-23T12:12:16.120207-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "23e0e3e8-0a58-4545-ac23-759912398535",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "23e0e3e8-0a58-4545-ac23-759912398535",
|
||||
"status": "completed",
|
||||
"vaccineCode": {
|
||||
"coding": [{
|
||||
"system": "http://hl7.org/fhir/sid/cvx",
|
||||
"code": "62",
|
||||
"display": "HPV, quadrivalent"
|
||||
}],
|
||||
"text": "HPV, quadrivalent"
|
||||
},
|
||||
"patient": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cd4bfc24-8fff-4eb0-bd93-3c7054551514"
|
||||
},
|
||||
"occurrenceDateTime": "2013-09-30T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "720374cc-f64a-402e-9f07-940fc22ceafe",
|
||||
"created_at": "2023-07-23T12:12:34.009914-07:00",
|
||||
"updated_at": "2023-07-23T12:12:34.009914-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "17d84df6-db93-4a91-8dd0-c520e3c7f11e",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "17d84df6-db93-4a91-8dd0-c520e3c7f11e",
|
||||
"status": "completed",
|
||||
"vaccineCode": {
|
||||
"coding": [{
|
||||
"system": "http://hl7.org/fhir/sid/cvx",
|
||||
"code": "114",
|
||||
"display": "meningococcal MCV4P"
|
||||
}],
|
||||
"text": "meningococcal MCV4P"
|
||||
},
|
||||
"patient": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:51dec3d2-a098-4671-99bc-d7cf68561903"
|
||||
},
|
||||
"occurrenceDateTime": "2018-05-28T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "82c6b29a-453c-4bc7-b3e8-94bf997622d4",
|
||||
"created_at": "2023-07-23T12:12:24.41619-07:00",
|
||||
"updated_at": "2023-07-23T12:12:24.41619-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "982b0617-b1d8-4fc7-a635-4860d31f04df",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "982b0617-b1d8-4fc7-a635-4860d31f04df",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cde6c902-957a-48c1-883f-38c808188fe3"
|
||||
},
|
||||
"occurrenceDateTime": "2016-05-16T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "82f6e9a4-46ba-4d78-a0cb-d37609662918",
|
||||
"created_at": "2023-07-23T12:12:21.199026-07:00",
|
||||
"updated_at": "2023-07-23T12:12:21.199026-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "c2965e56-432f-4182-b406-8144c9e10ac9",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "c2965e56-432f-4182-b406-8144c9e10ac9",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9ea75521-441c-41e4-96df-237219e5ca63"
|
||||
},
|
||||
"occurrenceDateTime": "2015-05-11T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "85205d78-9fe4-48d6-979d-5697fa42aebc",
|
||||
"created_at": "2023-07-23T12:12:12.838799-07:00",
|
||||
"updated_at": "2023-07-23T12:12:12.838799-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "02078df4-8b3f-4a18-9baf-4a7780c93280",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "02078df4-8b3f-4a18-9baf-4a7780c93280",
|
||||
"status": "completed",
|
||||
"vaccineCode": {
|
||||
"coding": [{
|
||||
"system": "http://hl7.org/fhir/sid/cvx",
|
||||
"code": "115",
|
||||
"display": "Tdap"
|
||||
}],
|
||||
"text": "Tdap"
|
||||
},
|
||||
"patient": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"occurrenceDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "a29483c2-7bdc-428d-aa5a-1777fe18b81a",
|
||||
"created_at": "2023-07-23T12:12:03.879687-07:00",
|
||||
"updated_at": "2023-07-23T12:12:03.879687-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "4420064d-2ec9-4639-a8ba-0df125eb9310",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "4420064d-2ec9-4639-a8ba-0df125eb9310",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cb3ae560-0a65-41f8-9712-aa3c5766ffe5"
|
||||
},
|
||||
"occurrenceDateTime": "2011-04-18T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "c8ea36b5-1c0b-4488-9df4-6b101048eec5",
|
||||
"created_at": "2023-07-23T12:12:33.83198-07:00",
|
||||
"updated_at": "2023-07-23T12:12:33.83198-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "8bcaf993-bab5-4944-b546-a40bb846f76d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "8bcaf993-bab5-4944-b546-a40bb846f76d",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:51dec3d2-a098-4671-99bc-d7cf68561903"
|
||||
},
|
||||
"occurrenceDateTime": "2018-05-28T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "d4ddd4b5-f57b-4304-a12b-b74914e79d88",
|
||||
"created_at": "2023-07-23T12:12:18.463365-07:00",
|
||||
"updated_at": "2023-07-23T12:12:18.463365-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "0917e09d-5533-4b78-9876-6f92b079a37b",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "0917e09d-5533-4b78-9876-6f92b079a37b",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9f4e40e3-6f6b-4959-b407-3926e9ed049c"
|
||||
},
|
||||
"occurrenceDateTime": "2014-05-05T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "d591e8f1-744b-464a-99ab-9131b970863c",
|
||||
"created_at": "2023-07-23T12:12:13.203334-07:00",
|
||||
"updated_at": "2023-07-23T12:12:13.203334-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "1eb934cb-c79b-4b27-b542-130bbc8bca2b",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "1eb934cb-c79b-4b27-b542-130bbc8bca2b",
|
||||
"status": "completed",
|
||||
"vaccineCode": {
|
||||
"coding": [{
|
||||
"system": "http://hl7.org/fhir/sid/cvx",
|
||||
"code": "62",
|
||||
"display": "HPV, quadrivalent"
|
||||
}],
|
||||
"text": "HPV, quadrivalent"
|
||||
},
|
||||
"patient": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"occurrenceDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "d660e444-49a6-4633-a761-e95b12a5a8eb",
|
||||
"created_at": "2023-07-23T12:12:37.862262-07:00",
|
||||
"updated_at": "2023-07-23T12:12:37.862262-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "ae461093-1fbb-4783-a7a7-92b127d788bc",
|
||||
"source_resource_type": "Immunization",
|
||||
"source_resource_id": "36b1cf87-a6e8-4271-8350-cf230ac8361d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Immunization",
|
||||
"id": "36b1cf87-a6e8-4271-8350-cf230ac8361d",
|
||||
"status": "completed",
|
||||
"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": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:92b439da-6fdd-48e5-aa8d-b0543f840a1b"
|
||||
},
|
||||
"occurrenceDateTime": "2019-06-03T12:22:44-04:00",
|
||||
"primarySource": true
|
||||
},
|
||||
"related_resources": null
|
||||
}],
|
||||
"success": true
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,200 @@
|
|||
{
|
||||
"data": [{
|
||||
"id": "11116c9e-ff18-4180-872f-a4aab7c537c7",
|
||||
"created_at": "2023-06-21T10:30:33.641052-07:00",
|
||||
"updated_at": "2023-06-21T10:30:33.641052-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Patient",
|
||||
"source_resource_id": "b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Patient",
|
||||
"id": "b426b062-8273-4b93-a907-de3176c0567d",
|
||||
"text": {
|
||||
"status": "generated",
|
||||
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Generated by <a href=\"https://github.com/synthetichealth/synthea\">Synthea</a>.Version identifier: v2.4.0-404-ge7ce2295\n . Person seed: 4209933468692678950 Population seed: 0</div>"
|
||||
},
|
||||
"extension": [
|
||||
{
|
||||
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
|
||||
"extension": [
|
||||
{
|
||||
"url": "ombCategory",
|
||||
"valueCoding": {
|
||||
"system": "urn:oid:2.16.840.1.113883.6.238",
|
||||
"code": "2106-3",
|
||||
"display": "White"
|
||||
}
|
||||
},
|
||||
{
|
||||
"url": "text",
|
||||
"valueString": "White"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
|
||||
"extension": [
|
||||
{
|
||||
"url": "ombCategory",
|
||||
"valueCoding": {
|
||||
"system": "urn:oid:2.16.840.1.113883.6.238",
|
||||
"code": "2186-5",
|
||||
"display": "Not Hispanic or Latino"
|
||||
}
|
||||
},
|
||||
{
|
||||
"url": "text",
|
||||
"valueString": "Not Hispanic or Latino"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
|
||||
"valueString": "Sanda877 Kshlerin58"
|
||||
},
|
||||
{
|
||||
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
|
||||
"valueCode": "M"
|
||||
},
|
||||
{
|
||||
"url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
|
||||
"valueAddress": {
|
||||
"city": "Peabody",
|
||||
"state": "Massachusetts",
|
||||
"country": "US"
|
||||
}
|
||||
},
|
||||
{
|
||||
"url": "http://synthetichealth.github.io/synthea/disability-adjusted-life-years",
|
||||
"valueDecimal": 0.0
|
||||
},
|
||||
{
|
||||
"url": "http://synthetichealth.github.io/synthea/quality-adjusted-life-years",
|
||||
"valueDecimal": 16.0
|
||||
}
|
||||
],
|
||||
"identifier": [
|
||||
{
|
||||
"system": "https://github.com/synthetichealth/synthea",
|
||||
"value": "262b819a-5193-404a-9787-b7f599358035"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
|
||||
"code": "MR",
|
||||
"display": "Medical Record Number"
|
||||
}
|
||||
],
|
||||
"text": "Medical Record Number"
|
||||
},
|
||||
"system": "http://hospital.smarthealthit.org",
|
||||
"value": "262b819a-5193-404a-9787-b7f599358035"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
|
||||
"code": "SS",
|
||||
"display": "Social Security Number"
|
||||
}
|
||||
],
|
||||
"text": "Social Security Number"
|
||||
},
|
||||
"system": "http://hl7.org/fhir/sid/us-ssn",
|
||||
"value": "999-19-7941"
|
||||
},
|
||||
{
|
||||
"type": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
|
||||
"code": "DL",
|
||||
"display": "Driver's License"
|
||||
}
|
||||
],
|
||||
"text": "Driver's License"
|
||||
},
|
||||
"system": "urn:oid:2.16.840.1.113883.4.3.25",
|
||||
"value": "S99986287"
|
||||
}
|
||||
],
|
||||
"name": [
|
||||
{
|
||||
"use": "official",
|
||||
"family": "Heller342",
|
||||
"given": [
|
||||
"Abraham100"
|
||||
]
|
||||
}
|
||||
],
|
||||
"telecom": [
|
||||
{
|
||||
"system": "phone",
|
||||
"value": "555-803-7962",
|
||||
"use": "home"
|
||||
}
|
||||
],
|
||||
"gender": "male",
|
||||
"birthDate": "2002-04-15",
|
||||
"address": [
|
||||
{
|
||||
"extension": [
|
||||
{
|
||||
"url": "http://hl7.org/fhir/StructureDefinition/geolocation",
|
||||
"extension": [
|
||||
{
|
||||
"url": "latitude",
|
||||
"valueDecimal": 42.410027249980345
|
||||
},
|
||||
{
|
||||
"url": "longitude",
|
||||
"valueDecimal": -71.07762136029856
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"line": [
|
||||
"834 Hansen Run"
|
||||
],
|
||||
"city": "Somerville",
|
||||
"state": "Massachusetts",
|
||||
"postalCode": "02138",
|
||||
"country": "US"
|
||||
}
|
||||
],
|
||||
"maritalStatus": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
|
||||
"code": "S",
|
||||
"display": "Never Married"
|
||||
}
|
||||
],
|
||||
"text": "Never Married"
|
||||
},
|
||||
"multipleBirthBoolean": false,
|
||||
"communication": [
|
||||
{
|
||||
"language": {
|
||||
"coding": [
|
||||
{
|
||||
"system": "urn:ietf:bcp:47",
|
||||
"code": "en-US",
|
||||
"display": "English"
|
||||
}
|
||||
],
|
||||
"text": "English"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"related_resources": null
|
||||
}],
|
||||
"success": true
|
||||
}
|
|
@ -0,0 +1,454 @@
|
|||
{
|
||||
"data": [{
|
||||
"id": "4c0ab718-2236-4933-bb31-2ff3a62f3c97",
|
||||
"created_at": "2023-06-21T10:30:19.76805-07:00",
|
||||
"updated_at": "2023-06-21T10:30:19.76805-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "d86f988c-81b9-4b07-acb6-2e5894bd4b78",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "d86f988c-81b9-4b07-acb6-2e5894bd4b78",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:1a3bbe38-b7c3-43fc-b175-740adfcaa83a"
|
||||
},
|
||||
"effectiveDateTime": "2012-04-23T12:22:44-04:00",
|
||||
"issued": "2012-04-23T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 50.83337173371525,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "6fa1b324-1951-4704-9257-41a8959c87d4",
|
||||
"created_at": "2023-06-21T10:30:37.580984-07:00",
|
||||
"updated_at": "2023-06-21T10:30:37.580984-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "a06df51f-be7e-446b-b130-ff6c015197c7",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "a06df51f-be7e-446b-b130-ff6c015197c7",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cde6c902-957a-48c1-883f-38c808188fe3"
|
||||
},
|
||||
"effectiveDateTime": "2016-05-16T12:22:44-04:00",
|
||||
"issued": "2016-05-16T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 72.87763876057473,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "75b5050f-a52c-4838-a860-fdf643e99bb4",
|
||||
"created_at": "2023-06-21T10:30:12.10784-07:00",
|
||||
"updated_at": "2023-06-21T10:30:12.10784-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "10d0066d-df64-47cc-aa26-91d8515befe8",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "10d0066d-df64-47cc-aa26-91d8515befe8",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d051d64b-5b2f-4465-92c3-4e693d54f653"
|
||||
},
|
||||
"effectiveDateTime": "2010-04-12T12:22:44-04:00",
|
||||
"issued": "2010-04-12T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 34.076302569156475,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "7bfe2e7e-0484-4fc7-90f5-35c2bace9742",
|
||||
"created_at": "2023-06-21T10:30:31.477868-07:00",
|
||||
"updated_at": "2023-06-21T10:30:31.477868-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "7631babf-ac63-4a68-ac60-f904ca811665",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "7631babf-ac63-4a68-ac60-f904ca811665",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9f4e40e3-6f6b-4959-b407-3926e9ed049c"
|
||||
},
|
||||
"effectiveDateTime": "2014-05-05T12:22:44-04:00",
|
||||
"issued": "2014-05-05T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 48.44696267722808,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "84c89bf1-aead-481f-8cec-b1ef9683eddd",
|
||||
"created_at": "2023-06-21T10:30:15.860444-07:00",
|
||||
"updated_at": "2023-06-21T10:30:15.860444-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "7245ab6c-9a3a-4870-b4ed-ecfd8dc9c333",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "7245ab6c-9a3a-4870-b4ed-ecfd8dc9c333",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:cb3ae560-0a65-41f8-9712-aa3c5766ffe5"
|
||||
},
|
||||
"effectiveDateTime": "2011-04-18T12:22:44-04:00",
|
||||
"issued": "2011-04-18T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 42.58491202920048,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "9a11be87-b435-4e39-b060-76b9d892f5d6",
|
||||
"created_at": "2023-06-21T10:30:52.338823-07:00",
|
||||
"updated_at": "2023-06-21T10:30:52.338823-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "9ad47387-cc5a-4be6-b42c-440a51b3ff02",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "9ad47387-cc5a-4be6-b42c-440a51b3ff02",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:92b439da-6fdd-48e5-aa8d-b0543f840a1b"
|
||||
},
|
||||
"effectiveDateTime": "2019-06-03T12:22:44-04:00",
|
||||
"issued": "2019-06-03T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 96.76402696153822,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "a425342e-cb4b-4391-b320-634fcb91ec79",
|
||||
"created_at": "2023-06-21T10:30:34.150903-07:00",
|
||||
"updated_at": "2023-06-21T10:30:34.150903-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "076abe82-ca7b-45d1-a291-4352f67da147",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "076abe82-ca7b-45d1-a291-4352f67da147",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:9ea75521-441c-41e4-96df-237219e5ca63"
|
||||
},
|
||||
"effectiveDateTime": "2015-05-11T12:22:44-04:00",
|
||||
"issued": "2015-05-11T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 59.362647916721876,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "a737caca-f54e-4896-b846-f4d1fa9b518c",
|
||||
"created_at": "2023-06-21T10:30:22.288958-07:00",
|
||||
"updated_at": "2023-06-21T10:30:22.288958-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "cead148c-1544-49fd-990d-7d802ba41d5f",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "cead148c-1544-49fd-990d-7d802ba41d5f",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:d9a7c76f-dfe4-41c6-9924-82a405613f44"
|
||||
},
|
||||
"effectiveDateTime": "2013-04-29T12:22:44-04:00",
|
||||
"issued": "2013-04-29T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 39.61004192084209,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "b771e5b8-6c57-4b45-beb7-88f5a3676991",
|
||||
"created_at": "2023-06-21T10:30:41.306405-07:00",
|
||||
"updated_at": "2023-06-21T10:30:41.306405-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "d5b46576-377f-4b1a-a011-da8c5107f490",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "d5b46576-377f-4b1a-a011-da8c5107f490",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:e44ec534-b752-4647-acd3-3794bc51db6d"
|
||||
},
|
||||
"effectiveDateTime": "2017-05-22T12:22:44-04:00",
|
||||
"issued": "2017-05-22T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 86.04162138432913,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}, {
|
||||
"id": "fc8b95c3-8068-4704-ac54-d3248ecdc64b",
|
||||
"created_at": "2023-06-21T10:30:44.726575-07:00",
|
||||
"updated_at": "2023-06-21T10:30:44.726575-07:00",
|
||||
"user_id": "8b6a16f4-4a5f-4b01-bf4c-93c73c9ff0e8",
|
||||
"source_id": "9d6c6593-4349-4a35-830a-b6eef25b80cc",
|
||||
"source_resource_type": "Observation",
|
||||
"source_resource_id": "01802c42-f734-4229-8101-bd34725133e3",
|
||||
"sort_date": null,
|
||||
"sort_title": null,
|
||||
"resource_raw": {
|
||||
"resourceType": "Observation",
|
||||
"id": "01802c42-f734-4229-8101-bd34725133e3",
|
||||
"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": "29463-7",
|
||||
"display": "Body Weight"
|
||||
}],
|
||||
"text": "Body Weight"
|
||||
},
|
||||
"subject": {
|
||||
"reference": "urn:uuid:b426b062-8273-4b93-a907-de3176c0567d"
|
||||
},
|
||||
"encounter": {
|
||||
"reference": "urn:uuid:51dec3d2-a098-4671-99bc-d7cf68561903"
|
||||
},
|
||||
"effectiveDateTime": "2018-05-28T12:22:44-04:00",
|
||||
"issued": "2018-05-28T12:22:44.702-04:00",
|
||||
"valueQuantity": {
|
||||
"value": 91.84249104812005,
|
||||
"unit": "kg",
|
||||
"system": "http://unitsofmeasure.org",
|
||||
"code": "kg"
|
||||
}
|
||||
},
|
||||
"related_resources": null
|
||||
}],
|
||||
"success": true
|
||||
}
|
|
@ -5,6 +5,9 @@ import {FastenApiService} from '../../services/fasten-api.service';
|
|||
import {HTTP_CLIENT_TOKEN} from '../../dependency-injection';
|
||||
import {HttpClient} from '@angular/common/http';
|
||||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import {of} from 'rxjs';
|
||||
import patientVitalsObservationFixture from "../fixtures/patient_vitals_observation.json"
|
||||
import patientVitalsPatientFixture from "../fixtures/patient_vitals_patient.json"
|
||||
|
||||
describe('PatientVitalsWidgetComponent', () => {
|
||||
let component: PatientVitalsWidgetComponent;
|
||||
|
@ -28,6 +31,8 @@ describe('PatientVitalsWidgetComponent', () => {
|
|||
]
|
||||
})
|
||||
.compileComponents();
|
||||
mockedFastenApiService.queryResources.and.returnValue(of(patientVitalsObservationFixture));
|
||||
|
||||
|
||||
fixture = TestBed.createComponent(PatientVitalsWidgetComponent);
|
||||
component = fixture.componentInstance;
|
||||
|
@ -37,4 +42,37 @@ describe('PatientVitalsWidgetComponent', () => {
|
|||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
|
||||
|
||||
describe('vitalsProcessQueryResults', () => {
|
||||
describe('PatientVitals - PatientVitalsWidget', () => {
|
||||
it('should parse data', () => {
|
||||
expect(component).toBeTruthy();
|
||||
|
||||
|
||||
//test
|
||||
let processedVitalsQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[0].q, patientVitalsObservationFixture)
|
||||
let processedPatientQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[1].q, patientVitalsPatientFixture)
|
||||
component.chartProcessQueryResults([processedVitalsQueryResponse, processedPatientQueryResponse])
|
||||
|
||||
//assert
|
||||
// name: string = ''
|
||||
// age: string = ''
|
||||
// gender: string = ''
|
||||
// vitalSigns: {
|
||||
// display: string,
|
||||
// code: string,
|
||||
// date: string,
|
||||
// value: string,
|
||||
// unit: string
|
||||
// }[] = []
|
||||
|
||||
|
||||
expect(component.name).toEqual('Abraham100 Heller342')
|
||||
expect(component.age).toEqual('21 years')
|
||||
expect(component.gender).toEqual('male')
|
||||
expect(component.vitalSigns.length).toEqual(16)
|
||||
});
|
||||
})
|
||||
})
|
||||
});
|
||||
|
|
|
@ -72,12 +72,12 @@ export class PatientVitalsWidgetComponent extends DashboardWidgetComponent imple
|
|||
|
||||
} as DashboardWidgetConfig
|
||||
super.ngOnInit();
|
||||
this.chartDatasetsSubject.subscribe(this.processQueryResults.bind(this))
|
||||
this.chartDatasetsSubject.subscribe(this.vitalsProcessQueryResults.bind(this))
|
||||
}
|
||||
|
||||
//process query results
|
||||
|
||||
processQueryResults(queryResults: any[]): void {
|
||||
vitalsProcessQueryResults(queryResults: any[]): void {
|
||||
if(!queryResults || queryResults.length < 2){
|
||||
return
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ import { TableWidgetComponent } from './table-widget.component';
|
|||
import {FastenApiService} from '../../services/fasten-api.service';
|
||||
import {HTTP_CLIENT_TOKEN} from '../../dependency-injection';
|
||||
import {HttpClient} from '@angular/common/http';
|
||||
import encountersFixture from "../fixtures/encounters.json"
|
||||
|
||||
describe('TableWidgetComponent', () => {
|
||||
let component: TableWidgetComponent;
|
||||
|
@ -36,4 +37,81 @@ describe('TableWidgetComponent', () => {
|
|||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
|
||||
describe('tableProcessQueryResults', () => {
|
||||
describe('Recent Encounters - TableWidget', () => {
|
||||
it('should parse data', () => {
|
||||
expect(component).toBeTruthy();
|
||||
|
||||
//setup
|
||||
component.widgetConfig = {
|
||||
"title_text": "Recent Encounters",
|
||||
"description_text": "Recent interactions with healthcare providers",
|
||||
"x": 4,
|
||||
"y": 10,
|
||||
"width": 8,
|
||||
"height": 4,
|
||||
"item_type": "table-widget",
|
||||
"queries": [{
|
||||
"q": {
|
||||
"select": [
|
||||
"serviceProvider.display as institution",
|
||||
"period.start as date",
|
||||
"reasonCode.coding.display.first() as reason",
|
||||
"participant.individual.display as provider"
|
||||
],
|
||||
"from": "Encounter",
|
||||
"where": {}
|
||||
}
|
||||
}],
|
||||
"parsing": {
|
||||
"Id": "id",
|
||||
"Institution": "institution",
|
||||
"Reason": "reason",
|
||||
"Provider": "provider"
|
||||
}
|
||||
}
|
||||
//test
|
||||
let processedQueryResponse = component.processQueryResourcesSelectClause(component.widgetConfig.queries[0].q, encountersFixture)
|
||||
component.chartProcessQueryResults([processedQueryResponse])
|
||||
|
||||
//assert
|
||||
expect(component.keys).toEqual([
|
||||
'id',
|
||||
'institution',
|
||||
'reason',
|
||||
'provider',
|
||||
])
|
||||
expect(component.headers).toEqual([
|
||||
'Id',
|
||||
'Institution',
|
||||
'Reason',
|
||||
'Provider',
|
||||
])
|
||||
expect(component.rows).toEqual([
|
||||
[ '9ea75521-441c-41e4-96df-237219e5ca63', 'PCP1336', '', 'Dr. Mariela993 Schamberger479'],
|
||||
[ 'cb3ae560-0a65-41f8-9712-aa3c5766ffe5', 'PCP1336', '', 'Dr. Mariela993 Schamberger479'],
|
||||
[ '47f5936b-ef68-4404-9183-8971e75e5a1d', 'HALLMARK HEALTH SYSTEM', 'Acute bronchitis (disorder)', 'Dr. Renato359 Jenkins714' ],
|
||||
[ 'd051d64b-5b2f-4465-92c3-4e693d54f653', 'PCP1336', '', 'Dr. Mariela993 Schamberger479'],
|
||||
[ 'cde6c902-957a-48c1-883f-38c808188fe3', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
[ '9f4e40e3-6f6b-4959-b407-3926e9ed049c', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
[ 'cd4bfc24-8fff-4eb0-bd93-3c7054551514', 'PROMPT CARE WALK-IN CLINIC', '', 'Dr. Candyce305 Prohaska837' ],
|
||||
[ '9adf6236-72dc-4abf-ab7e-df370b02701c', 'HALLMARK HEALTH SYSTEM', 'Otitis media', 'Dr. Renato359 Jenkins714' ],
|
||||
[ '9a6f9230-3549-43e1-83c8-f0fd740a24f3', 'HALLMARK HEALTH SYSTEM', 'Viral sinusitis (disorder)', 'Dr. Renato359 Jenkins714' ],
|
||||
[ '919f002e-ff43-4ea6-8acb-be3f1139c59d', 'HALLMARK HEALTH SYSTEM', 'Viral sinusitis (disorder)', 'Dr. Renato359 Jenkins714' ],
|
||||
[ '7a38b6bf-1787-4227-af08-ae10c29632e4', 'HALLMARK HEALTH SYSTEM', 'Viral sinusitis (disorder)', 'Dr. Renato359 Jenkins714' ],
|
||||
[ 'e44ec534-b752-4647-acd3-3794bc51db6d', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
[ '51dec3d2-a098-4671-99bc-d7cf68561903', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
[ '1a3bbe38-b7c3-43fc-b175-740adfcaa83a', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
[ '3fba349b-e165-45f7-9cf2-66c391f293b6', 'HALLMARK HEALTH SYSTEM', 'Viral sinusitis (disorder)', 'Dr. Renato359 Jenkins714' ],
|
||||
[ '24f73ec3-9b7a-42a9-be03-53bffd9b304c', 'HALLMARK HEALTH SYSTEM' , 'Acute viral pharyngitis (disorder)', 'Dr. Renato359 Jenkins714' ],
|
||||
[ '92b439da-6fdd-48e5-aa8d-b0543f840a1b', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
[ 'd9a7c76f-dfe4-41c6-9924-82a405613f44', 'PCP1336', '', 'Dr. Mariela993 Schamberger479' ],
|
||||
])
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
});
|
||||
|
|
|
@ -18,10 +18,10 @@ export class TableWidgetComponent extends DashboardWidgetComponent implements O
|
|||
rows: any[] = []
|
||||
ngOnInit(): void {
|
||||
super.ngOnInit()
|
||||
this.chartDatasetsSubject.subscribe(this.processQueryResults.bind(this))
|
||||
this.chartDatasetsSubject.subscribe(this.tableProcessQueryResults.bind(this))
|
||||
}
|
||||
|
||||
processQueryResults(queryResults: any[]) {
|
||||
tableProcessQueryResults(queryResults: any[]) {
|
||||
if(!queryResults || queryResults.length < 1){
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue