Packages

ISO/HL7 FHIR Application Server

Current section

Files

Jump to
hl7 lib service hl7_delete.ex
Raw

lib/service/hl7_delete.ex

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