Api-PWA/DocuMed.PWA/Shared/ItemTemplates/MedicalHistoryItemTemplate....

41 lines
1.6 KiB
Plaintext
Raw Normal View History

2023-10-20 19:40:23 +03:30
@using DocuMed.Domain.Dtos.SmallDtos
<MudCard @onclick="async ()=> await Clicked.InvokeAsync(MedicalHistory)" Class="mx-3 my-1 rounded-md" Elevation="2">
2023-10-10 17:02:38 +03:30
<div class="flex flex-row">
<div class="bg-[--color-primary] rounded-r-lg w-2"></div>
<MudStack class="grow mx-3.5 my-4">
<div class="flex flex-row">
2023-10-20 19:40:23 +03:30
<p class="font-extrabold font-iranyekan text-base my-auto text-[#37966F]">@MedicalHistory.FullName</p>
2023-10-28 23:57:28 +03:30
<MudPaper Elevation="0" Class="bg-gray-200 text-center rounded-full mr-auto py-0.5 px-3 text-gray-700 text-xs">
سن : @MedicalHistory.Age ساله
2023-10-10 17:02:38 +03:30
</MudPaper>
</div>
<MudGrid Row="true" Class="items-center justify-stretch">
2023-10-28 23:57:28 +03:30
<MudItem xs="6">
<MudPaper Elevation="0"
class="bg-[#FFDACF] text-[#D03405] rounded-full text-center py-0.5 px-3 text-xs font-iranyekan">
<p>شکایت اصلی : @MedicalHistory.ChiefComplaint</p>
2023-10-10 17:02:38 +03:30
</MudPaper>
</MudItem>
2023-10-28 23:57:28 +03:30
<MudItem xs="6">
2023-10-10 17:02:38 +03:30
<MudPaper Elevation="0" Class="bg-gray-200 text-center rounded-full py-0.5 px-3 text-gray-700 text-xs">
2023-10-28 23:57:28 +03:30
بخش @MedicalHistory.SectionName
2023-10-10 17:02:38 +03:30
</MudPaper>
</MudItem>
</MudGrid>
</MudStack>
</div>
</MudCard>
@code {
[Parameter]
2023-10-20 19:40:23 +03:30
public MedicalHistorySDto MedicalHistory { get; set; } = new();
2023-10-10 17:02:38 +03:30
[Parameter]
public EventCallback<MedicalHistorySDto> Clicked { get; set; }
2023-10-10 17:02:38 +03:30
}