Skip to content
Snippets Groups Projects
Commit 0b45f432 authored by edvs19's avatar edvs19
Browse files

revert

parent 0fbd41f3
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ schema = StructType([
StructField("cnes", LongType(), True),
StructField("ine", LongType(), True),
StructField("dataAtendimento", DateType(), True),
StructField("condicoesDeSaude", StructType([
StructField("descricaoCausaInternacaoEm12Meses", StringType(), True),
StructField("descricaoOutraCondicao1", StringType(), True),
StructField("descricaoOutraCondicao2", StringType(), True),
......@@ -50,7 +51,9 @@ schema = StructType([
StructField("statusTeveInternadoem12Meses", BooleanType(), True),
StructField("statusUsaOutrasPraticasIntegrativasOuComplementares", BooleanType(), True),
StructField("statusUsaPlantasMedicinais", BooleanType(), True),
StructField("statusDiagnosticoMental", StringType(), True),
StructField("statusDiagnosticoMental", StringType(), True)
]), True),
StructField("emSituacaoDeRua", StructType([
StructField("grauParentescoFamiliarFrequentado", StringType(), True),
StructField("higienePessoalSituacaoRua", ArrayType(StringType()), True),
StructField("origemAlimentoSituacaoRua", ArrayType(StringType()), True),
......@@ -62,7 +65,9 @@ schema = StructType([
StructField("statusSituacaoRua", BooleanType(), True),
StructField("statusTemAcessoHigienePessoalSituacaoRua", BooleanType(), True),
StructField("statusVisitaFamiliarFrequentemente", BooleanType(), True),
StructField("tempoSituacaoRua", StringType(), True),
StructField("tempoSituacaoRua", StringType(), True)
]), True),
StructField("identificacaoUsuarioCidadao", StructType([
StructField("nomeSocial", StringType(), True),
StructField("município", StringType(), True),
StructField("dataNascimentoCidadao", DateType(), True),
......@@ -87,7 +92,9 @@ schema = StructType([
StructField("microarea", LongType(), True),
StructField("stForaArea", BooleanType(), True),
StructField("cpfCidadao", StringType(), True),
StructField("cpfResponsavelFamiliar", StringType(), True),
StructField("cpfResponsavelFamiliar", StringType(), True)
]), True),
StructField("InformacoesSocioDemograficas", StructType([
StructField("deficienciasCidadao", ArrayType(StringType()), True),
StructField("grauInstrucaoCidadao", StringType(), True),
StructField("ocupacao", StringType(), True),
......@@ -104,11 +111,14 @@ schema = StructType([
StructField("identidadeGeneroCidadao", StringType(), True),
StructField("statusDesejaInformarIdentidadeGenero", BooleanType(), True),
StructField("responsavelPorCrianca", StringType(), True),
StructField("coPovoComunidadeTradicional", StringType(), True),
StructField("coPovoComunidadeTradicional", StringType(), True)
]), True),
StructField("statusTermoRecusaCadastroIndividualAtencaoBasica", BooleanType(), True),
StructField("saidaCidadaoCadastro", StructType([
StructField("motivoSaidaCidadao", StringType(), True),
StructField("dataObito", DateType(), True),
StructField("numeroDO", StringType(), True)
]), True)
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment