
Enviado em 19/11/2019 - 17:48h
Boa tarde,select
a.nr_atendimento ATENDIMENTO,
obter_nome_pf_atend(a.nr_atendimento) NOME,
obter_data_nascto_pac_atend(a.nr_atendimento) NASCIMENTO,
'DOSE: ' || a.qt_dose,
'VOLUME: ' || a.qt_volume || ' ml' VOLUME,
obter_desc_material(a.cd_material) MEDICAMENTO,
d.qt_hora_min_sessao TEMPO,
e.nr_seq_tecnica ACESSO
-- Inserir aqui condicionais para cálculo de BOLUS e RATE
from
CPOE_material a, atend_paciente_unidade b, hd_escala_dialise c, cpoe_dialise d, hd_acesso e
where
a.cd_material = 49749 and
a.nr_atendimento = b.nr_atendimento and
d.nr_atendimento = b.nr_atendimento and
obter_cd_pes_fis_atend(b.nr_atendimento) = c.cd_pessoa_fisica and
b.dt_saida_unidade is null and
a.dt_liberacao is not null and
a.dt_suspensao is null and
d.dt_liberacao is not null and
d.dt_suspensao is null and
c.dt_fim is null and
e.cd_pessoa_fisica = obter_pessoa_atendimento(b.nr_atendimento,'C') and
e.ie_adequado = 'S' and
e.dt_perda_retirada is null and
c.nr_seq_turno = :turno and
c.nr_seq_escala = :escala
Case acesso = 'arteriovenoso' thene assim por diante...
case a.qt_dose = 2500 then bolus = volume e rate = null
Case a.qt_dose = 5000 then:
case tempo = 2:00h, 2:05h, 2:30h ou 2:35h then Bolus = volume e rate = '-'
case tempo = 3:00h ou 3:05 then Bolus = 6,0 e rate = 1,6
case tempo = 3:30h ou 3:35 then Bolus = 6,0 e rate = 1,3
LazyDocker – Interface de Usuário em Tempo Real para o Docker
Instalando COSMIC no Linux Mint
Turbinando o Linux Mint: o poder das Nemo Actions
Inteligência Artificial no desenvolvimento de software: quando começar a usar?
O widget do Plasma 6 Área de Notificação
[Resolvido] Algo deu errado ao abrir seu perfil
Quando vocês pararam de testar distros? (14)
Problema com som no laptop (3)
Não estou conseguindo fazer funcionar meu Postfix na versão 2.4 no Deb... (2)









