Skip to content

Commit

Permalink
Merge pull request #13 from vadi2/reducece-web-size
Browse files Browse the repository at this point in the history
Load minified FHIR schema data using web version
  • Loading branch information
vadi2 authored Dec 31, 2022
2 parents 3902d9c + 174de7a commit 763f5bc
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 106,447 deletions.
2 changes: 1 addition & 1 deletion src/fhirformats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ read_fhir_data = function(filename, fhirversion)

-- web version - use require_resource
if not data and require_resource then
data = json_decode(require_resource("fhir-data/"..fhirversion.."/fhir-elements.json"))
data = json_decode(require_resource("fhir-data/"..fhirversion.."/fhir-elements.min.json"))
end


Expand Down
Loading

0 comments on commit 763f5bc

Please sign in to comment.