quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.99 to 0.0.1-alpha.100
@@ -44,3 +44,3 @@ import * as t from 'io-ts'; | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -67,7 +67,7 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
@@ -80,3 +80,3 @@ atestado: t.IntersectionC<[t.TypeC<{ | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -139,3 +139,3 @@ emitente: t.IntersectionC<[t.TypeC<{ | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
}>, t.PartialC<{ | ||
@@ -426,3 +426,3 @@ obsProc: t.StringC; | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -449,7 +449,7 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
@@ -462,3 +462,3 @@ atestado: t.IntersectionC<[t.TypeC<{ | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -521,3 +521,3 @@ emitente: t.IntersectionC<[t.TypeC<{ | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
}>, t.PartialC<{ | ||
@@ -524,0 +524,0 @@ obsProc: t.StringC; |
@@ -31,3 +31,3 @@ import * as t from 'io-ts'; | ||
indComunPolicia: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
codSitGeradora: t.NumberC; | ||
codSitGeradora: t.StringC; | ||
iniciatCAT: t.UnionC<[t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
@@ -54,7 +54,7 @@ localAcidente: t.IntersectionC<[t.TypeC<{ | ||
parteAtingida: t.TypeC<{ | ||
codParteAting: t.NumberC; | ||
codParteAting: t.StringC; | ||
lateralidade: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
}>; | ||
agenteCausador: t.TypeC<{ | ||
codAgntCausador: t.NumberC; | ||
codAgntCausador: t.StringC; | ||
}>; | ||
@@ -67,3 +67,3 @@ atestado: t.IntersectionC<[t.TypeC<{ | ||
indAfast: t.UnionC<[t.LiteralC<"S">, t.LiteralC<"N">]>; | ||
dscLesao: t.NumberC; | ||
dscLesao: t.StringC; | ||
codCID: t.StringC; | ||
@@ -70,0 +70,0 @@ emitente: t.IntersectionC<[t.TypeC<{ |
@@ -91,3 +91,3 @@ "use strict"; | ||
/// Validação: Deve ser um código válido e existente na Tabela 15 ou na Tabela 16. | ||
codSitGeradora: t.number, | ||
codSitGeradora: t.string, | ||
/// Iniciativa da CAT. | ||
@@ -167,3 +167,3 @@ iniciatCAT: t.union([ | ||
/// Validação: Deve ser um código válido e existente na Tabela 13. | ||
codParteAting: t.number, | ||
codParteAting: t.string, | ||
/// Lateralidade da(s) parte(s) atingida(s). | ||
@@ -187,3 +187,3 @@ /// Nos casos de órgãos bilaterais, ou seja, que se situam dos lados do corpo, assinalar o lado (direito ou esquerdo). Ex.: Caso o órgão atingido seja perna, apontar qual foi a atingida (perna direita, perna esquerda ou ambas). Se o órgão atingido é único (como, por exemplo, a cabeça), assinalar este campo como não aplicável. | ||
/// Validação: Deve ser um código válido e existente na Tabela 14 ou na Tabela 15. | ||
codAgntCausador: t.number | ||
codAgntCausador: t.string | ||
}), | ||
@@ -209,3 +209,3 @@ /// Atestado médico. | ||
/// Validação: Deve ser um código válido e existente na Tabela 17. | ||
dscLesao: t.number, | ||
dscLesao: t.string, | ||
/// Informar o código da tabela de Classificação Internacional de Doenças - CID. | ||
@@ -212,0 +212,0 @@ /// Validação: Deve ser preenchido com caracteres alfanuméricos, conforme opções constantes na tabela CID. |
@@ -31,3 +31,3 @@ import * as t from 'io-ts'; | ||
dtExm: t.StringC; | ||
procRealizado: t.NumberC; | ||
procRealizado: t.StringC; | ||
}>, t.PartialC<{ | ||
@@ -34,0 +34,0 @@ obsProc: t.StringC; |
@@ -90,3 +90,3 @@ "use strict"; | ||
/// Validação: Deve ser um código válido e existente na Tabela 27. | ||
procRealizado: t.number | ||
procRealizado: t.string | ||
}), | ||
@@ -93,0 +93,0 @@ t.partial({ |
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.99", | ||
"version": "0.0.1-alpha.100", | ||
"description": "A small library to expose the broker types", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
Sorry, the diff of this file is too big to display
997152