update fasten-sources to add support for phr, ndjson, jsonl, ips and json bundle uploads.

This commit is contained in:
Jason Kulatunga 2023-11-08 16:55:39 -08:00
parent 8fa331de00
commit 0479983bf4
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@
<div class="row row-sm">
<div class="col-lg">
<ngx-dropzone [multiple]="false" (change)="uploadSourceBundleHandler($event)" accept=".json">
<ngx-dropzone [multiple]="false" (change)="uploadSourceBundleHandler($event)" accept=".json,.phr,.ndjson,.jsonl">
<ngx-dropzone-label>Select your EMR/EHR bundle. Must be in JSON format</ngx-dropzone-label>
<ngx-dropzone-preview *ngFor="let f of uploadedFile" [removable]="false">
<ngx-dropzone-label>{{ f.name }} ({{ f.type }})</ngx-dropzone-label>

2
go.mod
View File

@ -14,7 +14,7 @@ require (
github.com/dave/jennifer v1.6.1
github.com/dominikbraun/graph v0.15.0
github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3
github.com/fastenhealth/fasten-sources v0.4.10
github.com/fastenhealth/fasten-sources v0.4.11
github.com/fastenhealth/gofhir-models v0.0.6
github.com/gin-gonic/gin v1.9.0
github.com/go-gormigrate/gormigrate/v2 v2.1.1

4
go.sum
View File

@ -101,8 +101,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/fastenhealth/fasten-sources v0.4.10 h1:VxMnoL0olfXa/4H/VmoZXzNbCgraPHNpwxOJftuJlIk=
github.com/fastenhealth/fasten-sources v0.4.10/go.mod h1:YxgwR6jSEU+edYqEDkm238n7HlvZdW3i04nIh7gSDaM=
github.com/fastenhealth/fasten-sources v0.4.11 h1:Kga7estpwYwBHHZCaEi7CuyR4J0ktur7FC6NMHIsS/w=
github.com/fastenhealth/fasten-sources v0.4.11/go.mod h1:ZO/X0+LE6gVp26mqm1oqnGePK8s9tniwuao4L3HPPiI=
github.com/fastenhealth/gofhir-models v0.0.6 h1:yJYYaV1eJtHiGEfA1rXLsyOm/9hIi6s2cGoZzGfW1tM=
github.com/fastenhealth/gofhir-models v0.0.6/go.mod h1:xB8ikGxu3bUq2b1JYV+CZpHqBaLXpOizFR0eFBCunis=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=