View Source Kindling.SchemaDownloader (kindling v1.0.2)
Handles downloading and unzipping FHIR JSON schemas from the hl7 server.
Summary
Functions
Download and unzip the JSON schema file for the given version
into the _build directory for
the library to reference.
Check if the version
JSON schema is downloaded and unzipped for use. If not, download and unzip
it. If that download & unzip fails, raise an error.
Functions
@spec download_version(Kindling.Schema.version_string()) :: :ok | {:error, any()}
Download and unzip the JSON schema file for the given version
into the _build directory for
the library to reference.
Check if the version
JSON schema is downloaded and unzipped for use. If not, download and unzip
it. If that download & unzip fails, raise an error.