 Hello again. I will start sharing my screen in a minute. We are going to have a session now on data sets and validation rules. So welcome back on the break. So data sets, sorry for those who have just listened to this for minutes. I'm going to repeat everything because I didn't share my screen. Data sets are integrated to programs in the home screen. They just look as one more activity and they follow the same principles for sharing settings. And icons and colors also apply. So they are just listed here as one more activity. This is how data sets look on your application. You can navigate the sections with tabs. In this case we only have one that they would appear here. These little arrows are letting you adapt the width of your column based on the length of your data element name. And you can have inside the tab as many tables as you want. And if you set it will, you will be able to navigate the different headers, the different columns. And once the tab, the table is completed, it will roll to the next section. We only have one. So in this demo we will not see it. This is the detail screen. Same navigation bar that we have all across the application. You can do data entry or details. So in the details you see if the event, if the data set is open or completed, you see the period and the odd unit. You have also the information up here anyway. So it's just the status. And when one data set is complete, you can reopen it by using the three dots here. We will also display here if the data set is not editable, we will display here the reason. If it's because the status is complete, if it's and you don't have permission to reopen, if the period has expired or the odd unit is closed or any other non-editable reason. Validation rules. We are not explaining what validation rules were. We understand you know validation rules because you know DHS too. But what is important for the Android app? The description and the instructions. They will be displayed here. These are rules will be a bit higher. This is the description. And this is the action you want to tell your user to do when they find an error. So this is the important thing to pay attention to in addition to the validation rule itself or Android. How it works. As you know, validation rules can be mandatory or optional. So when they are optional and when your user saves the data, the app will ask, do you also want to check data quality? So if you say no, then it will close. If you say yes and an error is found, it will show you the error screen. And it will allow you users to complete anyway because you didn't make it mandatory. So they can either fix the error or complete. If everything is fine, then it will tell you everything looks good. Do you want to complete the data set as well? Now, if your validation rules are mandatory, meaning you have picked this. It is in your data set. Then when the user saves, the validation rules are going to run without asking. And then we go directly to the result. If there is an error, the user will be prompted with the error and the instruction to fix it. There will be no option to complete. You need to fix the error because the rules are mandatory. So once the error is fixed, if all is good, then the app will ask you if you want to complete and you will be done. Let's quickly have a look at our app because I already wasted some time with my mistake on the screen. I didn't waste it. I lost. Okay. Where did it go? So these are all data sets. So let's open. No, let's create one. So we will check the rules later. But I know there is a rule, a program rule, I'm sorry, a validation rule, which is saying that there should be no more patients hospitalized than tested because all tested, all admitted patients should be hospitalized. So I'm going to force an error. This is what I was saying. You can navigate if the table is bigger. You can swipe. If we have more sections, once we reach the end, which is a big one, it would move to the next section, but I'm going to stop here. Here is where you play with the columns. So I'm going to say that we have six patients hospitalized and five tested. And I'm going to say, and the same, okay, you saved it. It's not mandatory. So do you want to check data quality? Yes. Okay. There is one error. And this is the description. The number of patients cannot be higher than the number of patients. All admitted patients will be tested. Please review the numbers in the second table. This is my instruction. You have six hospitalized, five tested. I can't complete anyway, but I don't want to. I'm going to fix this because it was an error. So I have six patients now. And I want to say, and check quality. Everything looks good. Do you want to complete? Yes. So this is actually what you have to do in the exercise. I'm going to have a look at the server. So if we look at our validation rules, there are three. This is the one I have triggered. You see, number of patients cannot be higher. We have all the same data set. So you only need to enter data and force the error. Okay. So I'm going to change now. The other one is there cannot be more deaths confirmed than cases confirmed. They should be equilibrated. And there cannot be more PCR tests than all tests because there are other methods, right? But we cannot have more PCR than the global number. So there are three rules. You just need to trigger one with an error and then fix the error. So I'm going to change the configuration of the data set now for the more purposes. So this is the tick complete allowed only if validation passes. This is going to make the validation mandatory. So if we sync now, you can start with your exercise already. I will not leave it mandatory later. Oh, yes. I mean, it doesn't matter what you need to you need to trigger the error and fix it. So are there any questions? Not so far in the chat. I'm not in a slack. I think Oridia and Pacific as well was having some issues, but I'm a talker has been held in him. Okay, I think you should be okay. This is done. So if I go now to my dataset, use the same one. I'm going to reopen. So I'm going to force you again. Now you will see the difference is that it's not going to ask if I want to check validation rules. Oh, no, I didn't force the error. We should have more hospitalized and tested. Okay, you see, it didn't ask is telling me straight away that I need to fix this. And I don't have an option to complete. So this is what you have to do. You need to force the error and then fix the error and take a screenshot of the error and then a screenshot of everything looks good. So let's go to our exercise. So you need to enter data for the dataset COVID-19 surveillance. We all shared it, but you are each one of you in a different unit. So you will not see any value in principle. You need to enter one period, force an error in the validation rules, see the error, then fix the error and save the dataset and complete the dataset. What we expect you to submit is to screenshots. One of the dataset entry screen with the error showing the error message. And then screenshot of the dataset entry screen showing that everything looks good. You have fixed the error. This is a simple exercise. We hope you can complete it with the time we have. Jaime, we are here until... Wow, that was quick. Until 11.35. So please use this time. We have 25 minutes to do this exercise and the previous one, if you couldn't finish it. Please share your questions. We are here. All of us to help you with that. Good luck. Let me check the chat. Hello, sorry. Someone was asking for help. Unfortunately, my Zoom closed twice, so I lost the chat. So if you can please ask the question again, either in the chat or in the Slack. Jaime, there's lights from Jose Archer now. Yes, they should be there. I went through them and they're there. Are you taking the validation rules, permissions that people are asking on the chat? No, I didn't see that, sorry. And also, I know someone was telling me I'm waiting for support, Jaime, but the thing is my Zoom drop. I don't know what happened when I tried to put an accent. It closes, so I think there's something wrong. So I could not... I have lost the chat. So if you were asking me something, please go to Slack and put it on the Android Help channel. The validation rules are shared. Why do you cannot see? Maybe they don't have access to the... No, no. Is it public? I didn't see. They are. Did you change this? Because maybe you have to wait. I need to force the cash. No, I think they are not in the group. But in access, they are, no? Let me login with a different army. No, they are not. Yeah, they are there. They are... I'm using an admin user and the validation rules are there. Who cannot see them if we can ask? And the legend. Yeah, probably because we have not opened it to edit. Because otherwise we cannot make sure... You can duplicate if you want and play with it, maybe. No, you cannot. We cannot open the edit permissions for the legend now, because then we cannot make sure the exercise will work well. So, for example, I do not have permissions on validation rules. Do you see the validation rules? Which kind of permissions you need? Are you trying to edit or to see? Yeah, you don't have permissions to edit. Again, we cannot open for editing. Because the exercise completion depends on the rules, unfortunately. If that's what you mean, for example, are we recording? Yes, I meant are we recording? Yes, this is the one that you had an issue. Wait, I don't see it. Ah, it's here, yes, okay. Because I'm sharing the screen and then the bar disappears and... Yeah, I know. We're having some support. So if at one point you see that, we forget to reply to you, please don't hesitate to comment there or ping us, because I know I've been replying to many questions. So if I apologize already, if I miss some of you, but please let us know. I'm trying to go through all of them, but I might miss something. So please ping us. Question. Why can't I create a validation rule? You don't have your permission? Yeah. Can we give them the permission? Yes, let me... Just asking if it's okay. But I have... I thought I have... No, I have the same for the wrong rule variables. Yeah, in the... Is this one, no? The second one, yeah. We have enabled you to create validation rules in case. I know, but they will run, they will run for everyone. It's going to be a bit confusing. No, no, no, no, no, no, no, no. Because we are sharing the... We are setting the dataset. And then if you create the validation rule, it will run for everyone. And then maybe it's impossible to correct all errors and to know all the rules that are running. So I'm sorry, Pacific. You can play with the validation rules in the either your testing server or the demo VHS2 server, but in this training server, just to make sure you can complete the exercise, we cannot allow you to add validation rules, because we are sharing one dataset for all in the exercise. But the answer is there is an authority for that that needs to be assigned to the user role. Marta, sorry, I was on the slack. I don't know if you have been following on the chat. Maybe you will play over the answer. No, I haven't been on the slack. Sorry. Jaime, I'm still waiting for help. That's the one. That's all. Jean-Paul, I'm following what you are saying unless you want. Jean-Paul, is this old? Jaime, was this a conversation with you? The assignment is not to create a validation rule. It's in the screen. Enter data. You don't need to create a validation rule. You need to enter data in your dataset and force an error. You don't need to create validation rules. It's a very simple exercise. Only enter values. Jean-Paul, I don't know if you want to share again your visual. I'm going to share the screen again and show you what you have to do. I'm going to repeat the exercise. You need to open the dataset and enter one period, any, and now you need to force an error. The easiest one is the one I explained, which is that you cannot have more hospitalized patients and tested. So if I have five patients hospitalized and three people tested, when I save, there is an error. This is what you have to do. We only want you to do this. And now we are telling you how to fix the error. Please review your numbers. Neospitalize and test it. So now if I fix this and save again, now everything looks good. This is the second screenshot we would like you to submit. So that's the exercise. You don't need to actually change the program rules.