gerint 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gerint/servicos/alta.rb +4 -0
- data/lib/gerint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f11ef9c8ca836d5adba29acc4e725750fb2bed1998c4870a66f68613eb82f85c
|
4
|
+
data.tar.gz: e78aa00ce8c4282ff67f8392b156d388b47f32463fe89766176982866e547f72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4bbf5dfb690f79a72ebcb6fa3c2a5eb6ca6e1e940cc0bc50a8a6c60f6257e33dc2209293e158f5ce7347772b8949e25d1c1ecb0a456a70a718a3ff4be6c018b
|
7
|
+
data.tar.gz: 8363447e64635e89d84b8e036a519348ca027d27ecb944fd6555baaa0ee59630ad883116298ad792180df2fcb9c5f7de153b3a608ce2d676f0af312c5a7458bd
|
data/lib/gerint/servicos/alta.rb
CHANGED
@@ -4,6 +4,7 @@ module Gerint
|
|
4
4
|
class Alta < Gerint::Padrao
|
5
5
|
attr_accessor :protocoloSolicitacao, :dataAlta, :identMotivoAlta, :cpfMedicoAlta, :identEncaminhamentoPosAlta
|
6
6
|
attr_accessor :resumoInternacao, :prescricaoAlta, :cidPrincipal
|
7
|
+
attr_accessor :fileName, :mimeType, :conteudo
|
7
8
|
|
8
9
|
def as_json(options={})
|
9
10
|
h = {
|
@@ -11,6 +12,9 @@ module Gerint
|
|
11
12
|
dataAlta: @dataAlta,
|
12
13
|
identMotivoAlta: @identMotivoAlta
|
13
14
|
}
|
15
|
+
h.store(:fileName, @fileName) unless @fileName.nil?
|
16
|
+
h.store(:mimeType, @mimeType) unless @mimeType.nil?
|
17
|
+
h.store(:conteudo, @conteudo) unless @conteudo.nil?
|
14
18
|
h.store(:cpfMedicoAlta, @cpfMedicoAlta) unless @cpfMedicoAlta.nil?
|
15
19
|
h.store(:identEncaminhamentoPosAlta, @identEncaminhamentoPosAlta) unless @identEncaminhamentoPosAlta.nil?
|
16
20
|
h.store(:resumoInternacao, @resumoInternacao) unless @resumoInternacao.nil?
|
data/lib/gerint/version.rb
CHANGED