Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Feb 19, 2024
1 parent 0808dbc commit d5c2204
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Minimalistic scalable microseconds precise FHIR application server in Elixir.
$ mix deps.get
$ iex -S mix
ISO/HL7 27931:2009 application server listening at port: 9234.
JSON Schema: draft-07, FHIR Protocol Version: R5.
JSON Schema: draft-07, FHIR Protocol Version: 5.0.0.
Interactive Elixir (1.12.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
```
Expand Down
7 changes: 5 additions & 2 deletions lib/hl7_application.ex
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
defmodule HL7.Application do
use Application
def port, do: Application.get_env(:hl7, :port, 9234)
def banner() do
:io.format "ISO/HL7 27931:2009 application server listening at port: #{port()}.~n"
:io.format "JSON Schema: draft-07, FHIR Protocol Version: 5.0.0.~n"
end
def start(_, _) do
children = [ { Plug.Cowboy, scheme: :http, plug: HL7.Endpoint, options: [port: port()] } ]
opts = [strategy: :one_for_one, name: App.Supervisor]
:io.format "ISO/HL7 27931:2009 application server listening at port: #{port()}.~n"
:io.format "JSON Schema: draft-07, FHIR Protocol Version: 5.0.0.~n"
banner()
Supervisor.start_link(children, opts)
end
end

0 comments on commit d5c2204

Please sign in to comment.