Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
29 changed files
with
671 additions
and
47 deletions.
There are no files selected for viewing
Binary file modified
BIN
-1 Byte
(100%)
Documentation/Projects/Analytics/fakedata/data/gadm36_NOR_1_sp.rds
Binary file not shown.
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 |
---|---|---|
@@ -1,4 +1,17 @@ | ||
{ | ||
"artifacts": { | ||
"ca3ff584-73e1-4d07-8963-b4071b445a9d": { | ||
"commands": [], | ||
"events": [ | ||
{ | ||
"artifact": "540464b9-7262-4060-b609-b6902769ee50", | ||
"generation": 1, | ||
"type": "Events.Reporting.CaseReports.CaseReportReceived, Events.Reporting" | ||
} | ||
], | ||
"eventSources": [], | ||
"readModels": [], | ||
"queries": [] | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,16 @@ | ||
{ | ||
|
||
"modules": [], | ||
"features": [ | ||
{ | ||
"feature": "b1521670-d8e8-4fff-8df2-36866d320d3e", | ||
"name": "Reporting", | ||
"subFeatures": [ | ||
{ | ||
"feature": "ca3ff584-73e1-4d07-8963-b4071b445a9d", | ||
"name": "CaseReports", | ||
"subFeatures": [] | ||
} | ||
] | ||
} | ||
] | ||
} |
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,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Dolittle.SDK" Version="2.0.0-alpha2.278" /> | ||
</ItemGroup> | ||
|
||
</Project> |
28 changes: 28 additions & 0 deletions
28
Source/Alerts/Events.Admin/HealthRisks/HealthRiskCreated.cs
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,28 @@ | ||
using System; | ||
using Dolittle.Artifacts; | ||
using Dolittle.Events; | ||
|
||
namespace Events.Admin.HealthRisks | ||
{ | ||
[Artifact("43c5c245-40ff-426d-a6f7-226427c142bb")] | ||
public class HealthRiskCreated : IEvent | ||
{ | ||
public HealthRiskCreated(Guid id, int readableId, string name, string confirmedCase, string note, string suspectedCase, string probableCase, string communityCase, string keyMessage) | ||
{ | ||
this.Id = id; | ||
this.ReadableId = readableId; | ||
this.Name = name; | ||
|
||
} | ||
public Guid Id { get; } | ||
public int ReadableId { get; } | ||
public string Name { get; } | ||
//public int? Threshold { get; } | ||
//public string ConfirmedCase { get; } | ||
//public string Note { get; } | ||
//public string SuspectedCase { get; } | ||
//public string ProbableCase { get; } | ||
//public string CommunityCase { get; } | ||
//public string KeyMessage { get; } | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
Source/Alerts/Events.Reporting/CaseReports/CaseReportRecieved.cs
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,42 @@ | ||
using Dolittle.Artifacts; | ||
using Dolittle.Events; | ||
using System; | ||
|
||
namespace Events.Reporting.CaseReports | ||
{ | ||
[Artifact("540464b9-7262-4060-b609-b6902769ee50")] | ||
public class CaseReportReceived : IEvent | ||
{ | ||
public CaseReportReceived(Guid caseReportId, Guid dataCollectorId, Guid healthRiskId, | ||
string origin, string message, int numberOfMalesUnder5, int numberOfMalesAged5AndOlder, | ||
int numberOfFemalesUnder5, int numberOfFemalesAged5AndOlder, double longitude, | ||
double latitude, DateTimeOffset timestamp) | ||
{ | ||
this.CaseReportId = caseReportId; | ||
this.DataCollectorId = dataCollectorId; | ||
this.HealthRiskId = healthRiskId; | ||
this.Origin = origin; | ||
this.Message = message; | ||
this.NumberOfMalesUnder5 = numberOfMalesUnder5; | ||
this.NumberOfMalesAged5AndOlder = numberOfMalesAged5AndOlder; | ||
this.NumberOfFemalesUnder5 = numberOfFemalesUnder5; | ||
this.NumberOfFemalesAged5AndOlder = numberOfFemalesAged5AndOlder; | ||
this.Longitude = longitude; | ||
this.Latitude = latitude; | ||
this.Timestamp = timestamp; | ||
|
||
} | ||
public Guid CaseReportId { get; } | ||
public Guid DataCollectorId { get; } | ||
public Guid HealthRiskId { get; } | ||
public string Origin { get; } | ||
public string Message { get; } | ||
public int NumberOfMalesUnder5 { get; } | ||
public int NumberOfMalesAged5AndOlder { get; } | ||
public int NumberOfFemalesUnder5 { get; } | ||
public int NumberOfFemalesAged5AndOlder { get; } | ||
public double Longitude { get; } | ||
public double Latitude { get; } | ||
public DateTimeOffset Timestamp { get; } | ||
} | ||
} |
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,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Dolittle.SDK" Version="2.0.0-alpha2.278" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
Oops, something went wrong.