The entity represents newborns in a maternity hospital.
{
"name": {
"id": "d8ff176f-bd0a-4b8e-b329-871952e32e1f",
"use": "official",
"family": "Ivanov",
"given": [
"Ivan",
"Ivanovich"
]
},
"gender": "male",
"birthDate": "2024-01-13T18:25:43",
"active": true
}name.familybirthDate
- Gender:
male|female|other|unknown - Active:
true|false
The application should be developed using .NET Core (.NET 6) with any database of choice.
The search should comply with the HL7 FHIR date search specification.
search condition "lt" => p.BirthDate < birthDate, "le" => p.BirthDate <= birthDate, "gt" => p.BirthDate > birthDate, "ge" => p.BirthDate >= birthDate, "ne" => p => p.BirthDate != birthDate, "sa" => p => p.BirthDate > birthDate, "eb" => p => p.BirthDate < birthDate, "ap" => p => Math.Abs((p.BirthDate - birthDate).TotalDays) <= 5, _ => p => p.BirthDate.Date == birthDate.Date
The application should generate 100 Patient entities and add them via the API.
- Create a Dockerfile
- Configure the system to run (including the database) within Docker containers
- Add a patient
- Edit a patient
- Retrieve a patient by ID
- Delete a patient
- Various search queries using the
birthDateparameter