-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/palladiumkenya/dwapi
- Loading branch information
Showing
629 changed files
with
441,282 additions
and
3,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Run DWAPI Unit Tests | ||
|
||
on: | ||
push: | ||
branches: [ dev ] | ||
|
||
|
||
jobs: | ||
build: | ||
name: Run-Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 2.1.805 | ||
- name: Install dependencies | ||
run: dotnet restore Dwapi.sln | ||
- name: Build | ||
run: dotnet build src/Dwapi/Dwapi.csproj --configuration Release --no-restore | ||
- name: Test | ||
run: ls test/*/*.Tests.csproj | xargs -L 1 dotnet test | ||
- name: Setup Angular | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
- run: npm install --prefix src/Dwapi | ||
- run: npm run build --prefix src/Dwapi | ||
|
||
- name: Pub .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.201 | ||
- name: Publish | ||
run: dotnet publish src/Dwapi/Dwapi.csproj --configuration Release -o dwapi | ||
- name: Zip Folder | ||
run: zip -r dwapi.zip dwapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docker build -t kenyahmis/dwapi:qa . | ||
docker push kenyahmis/dwapi:qa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docker build -t kenyahmis/dwapi:upi . | ||
docker push kenyahmis/dwapi:upi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docker build -t kenyahmis/dwapi:latest . | ||
docker push kenyahmis/dwapi:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Crs | ||
{ | ||
public interface IClientRegistry | ||
{ | ||
string CCCNumber { get; set;} | ||
string NationalId { get; set;} | ||
string Passport { get; set;} | ||
string HudumaNumber { get; set;} | ||
string BirthCertificateNumber { get; set;} | ||
string AlienIdNo { get; set;} | ||
string DrivingLicenseNumber { get; set;} | ||
string PatientClinicNumber { get; set;} | ||
string FirstName { get; set;} | ||
string MiddleName { get; set;} | ||
string LastName { get; set;} | ||
DateTime? DateOfBirth { get; set;} | ||
string Sex { get; set;} | ||
string MaritalStatus { get; set;} | ||
string Occupation { get; set;} | ||
string HighestLevelOfEducation { get; set;} | ||
string PhoneNumber { get; set;} | ||
string AlternativePhoneNumber { get; set;} | ||
string SpousePhoneNumber { get; set;} | ||
string NameOfNextOfKin { get; set;} | ||
string NextOfKinRelationship { get; set;} | ||
string NextOfKinTelNo { get; set;} | ||
string County { get; set;} | ||
string SubCounty { get; set;} | ||
string Ward { get; set;} | ||
string Location { get; set;} | ||
string Village { get; set;} | ||
string Landmark { get; set;} | ||
string FacilityName { get; set;} | ||
string MFLCode { get; set;} | ||
DateTime? DateOfInitiation { get; set;} | ||
string TreatmentOutcome { get; set;} | ||
DateTime? DateOfLastEncounter { get; set;} | ||
DateTime? DateOfLastViralLoad { get; set;} | ||
DateTime? NextAppointmentDate { get; set;} | ||
string LastRegimen { get; set;} | ||
string LastRegimenLine { get; set;} | ||
string CurrentOnART { get; set;} | ||
DateTime? DateOfHIVdiagnosis { get; set;} | ||
string LastViralLoadResult { get; set;} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Ct | ||
{ | ||
public interface ICovid | ||
{ | ||
string FacilityName { get; set; } | ||
int? VisitID { get; set; } | ||
DateTime? Covid19AssessmentDate { get; set; } | ||
string ReceivedCOVID19Vaccine { get; set; } | ||
DateTime? DateGivenFirstDose { get; set; } | ||
string FirstDoseVaccineAdministered { get; set; } | ||
DateTime? DateGivenSecondDose { get; set; } | ||
string SecondDoseVaccineAdministered { get; set; } | ||
string VaccinationStatus { get; set; } | ||
string VaccineVerification { get; set; } | ||
string BoosterGiven { get; set; } | ||
string BoosterDose { get; set; } | ||
DateTime? BoosterDoseDate { get; set; } | ||
string EverCOVID19Positive { get; set; } | ||
DateTime? COVID19TestDate { get; set; } | ||
string PatientStatus { get; set; } | ||
string AdmissionStatus { get; set; } | ||
string AdmissionUnit { get; set; } | ||
string MissedAppointmentDueToCOVID19 { get; set; } | ||
string COVID19PositiveSinceLasVisit { get; set; } | ||
DateTime? COVID19TestDateSinceLastVisit { get; set; } | ||
string PatientStatusSinceLastVisit { get; set; } | ||
string AdmissionStatusSinceLastVisit { get; set; } | ||
DateTime? AdmissionStartDate { get; set; } | ||
DateTime? AdmissionEndDate { get; set; } | ||
string AdmissionUnitSinceLastVisit { get; set; } | ||
string SupplementalOxygenReceived { get; set; } | ||
string PatientVentilated { get; set; } | ||
string TracingFinalOutcome { get; set; } | ||
string CauseOfDeath { get; set; } | ||
DateTime? Date_Created { get; set; } | ||
DateTime? Date_Last_Modified { get; set; } | ||
|
||
string COVID19TestResult { get; set; } | ||
string Sequence { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Ct | ||
{ | ||
public interface IDefaulterTracing | ||
{ | ||
string FacilityName { get; set; } | ||
int? VisitID { get; set; } | ||
DateTime? VisitDate { get; set; } | ||
int? EncounterId { get; set; } | ||
string TracingType { get; set; } | ||
string TracingOutcome { get; set; } | ||
int? AttemptNumber { get; set; } | ||
string IsFinalTrace { get; set; } | ||
string TrueStatus { get; set; } | ||
string CauseOfDeath { get; set; } | ||
string Comments { get; set; } | ||
DateTime? BookingDate { get; set; } | ||
DateTime? Date_Created { get; set; } | ||
DateTime? Date_Last_Modified { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Prep | ||
{ | ||
public interface IPatientPrep | ||
{ | ||
string FacilityName { get; set; } | ||
string PrepNumber { get; set; } | ||
string HtsNumber { get; set; } | ||
DateTime? PrepEnrollmentDate { get; set; } | ||
string Sex { get; set; } | ||
DateTime? DateofBirth { get; set; } | ||
string CountyofBirth { get; set; } | ||
string County { get; set; } | ||
string SubCounty { get; set; } | ||
string Location { get; set; } | ||
string LandMark { get; set; } | ||
string Ward { get; set; } | ||
string ClientType { get; set; } | ||
string ReferralPoint { get; set; } | ||
string MaritalStatus { get; set; } | ||
string Inschool { get; set; } | ||
string PopulationType { get; set; } | ||
string KeyPopulationType { get; set; } | ||
string Refferedfrom { get; set; } | ||
string TransferIn { get; set; } | ||
DateTime? TransferInDate { get; set; } | ||
string TransferFromFacility { get; set; } | ||
DateTime? DatefirstinitiatedinPrepCare { get; set; } | ||
DateTime? DateStartedPrEPattransferringfacility { get; set; } | ||
string ClientPreviouslyonPrep { get; set; } | ||
string PrevPrepReg { get; set; } | ||
DateTime? DateLastUsedPrev { get; set; } | ||
DateTime? Date_Created { get; set; } | ||
DateTime? Date_Last_Modified { get; set; } | ||
string NUPI { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Prep | ||
{ | ||
public interface IPrepAdverseEvent | ||
{ | ||
string FacilityName { get; set; } | ||
string PrepNumber { get; set; } | ||
string AdverseEvent { get; set; } | ||
DateTime? AdverseEventStartDate { get; set; } | ||
DateTime? AdverseEventEndDate { get; set; } | ||
string Severity { get; set; } | ||
DateTime? VisitDate { get; set; } | ||
string AdverseEventActionTaken { get; set; } | ||
string AdverseEventClinicalOutcome { get; set; } | ||
string AdverseEventIsPregnant { get; set; } | ||
string AdverseEventCause { get; set; } | ||
string AdverseEventRegimen { get; set; } | ||
DateTime? Date_Created { get; set; } | ||
DateTime? Date_Last_Modified { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Prep | ||
{ | ||
public interface IPrepBehaviourRisk | ||
{ | ||
string FacilityName { get; set; } | ||
string PrepNumber { get; set; } | ||
string HtsNumber { get; set; } | ||
DateTime? VisitDate { get; set; } | ||
int? VisitID { get; set; } | ||
string SexPartnerHIVStatus { get; set; } | ||
string IsHIVPositivePartnerCurrentonART { get; set; } | ||
string IsPartnerHighrisk { get; set; } | ||
string PartnerARTRisk { get; set; } | ||
string ClientAssessments { get; set; } | ||
string ClientRisk { get; set; } | ||
string ClientWillingToTakePrep { get; set; } | ||
string PrEPDeclineReason { get; set; } | ||
string RiskReductionEducationOffered { get; set; } | ||
string ReferralToOtherPrevServices { get; set; } | ||
DateTime? FirstEstablishPartnerStatus { get; set; } | ||
DateTime? PartnerEnrolledtoCCC { get; set; } | ||
string HIVPartnerCCCnumber { get; set; } | ||
DateTime? HIVPartnerARTStartDate { get; set; } | ||
string MonthsknownHIVSerodiscordant { get; set; } | ||
string SexWithoutCondom { get; set; } | ||
string NumberofchildrenWithPartner { get; set; } | ||
DateTime? Date_Created { get; set; } | ||
DateTime? Date_Last_Modified { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace Dwapi.Contracts.Prep | ||
{ | ||
public interface IPrepCareTermination | ||
{ | ||
string FacilityName { get; set; } | ||
string PrepNumber { get; set; } | ||
string HtsNumber { get; set; } | ||
DateTime? ExitDate { get; set; } | ||
string ExitReason { get; set; } | ||
DateTime? DateOfLastPrepDose { get; set; } | ||
DateTime? Date_Created { get; set; } | ||
DateTime? Date_Last_Modified { get; set; } | ||
} | ||
} |
Oops, something went wrong.