defmodule HL7.Get do import Plug.Conn def get(conn,_,type,id,spec) do :io.format 'GET/4:#{type}/#{id}/#{spec}', [] send_resp(conn, 200, HL7.Service.encode([%{"type" => type, "id" => id, "spec" => spec}])) end end