This file contains hidden or 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
[core] | |
editor = code --wait # set VS Code as default editor | |
quotepath = false # display cyrillic names properly | |
autocrlf = false # Windows only projects. Don't convert LF to CRLF and vice versa during commit & checkout. Read carefully https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration | |
[pull] | |
rebase = true # pull = 'fetch + rebase' instead of 'fetch + merge' | |
[alias] | |
co = checkout # 'git co' instead of 'git checkout' | |
st = status # 'git st' instead of 'git status' | |
[fetch] |
This file contains hidden or 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
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
This file contains hidden or 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
app.UseCookieAuthentication(new CookieAuthenticationOptions | |
{ | |
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie, | |
ExpireTimeSpan = TimeSpan.FromDays(30), | |
SlidingExpiration = true, | |
Provider = new CookieAuthenticationProvider | |
{ | |
OnValidateIdentity = async cookieCtx => | |
{ | |
var validator = DependencyResolver.Current.GetService<IAuthenticationSessionValidator>(); |
This file contains hidden or 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
public class DbConnectionPerformanceTests | |
{ | |
private readonly ITestOutputHelper _outputHelper; | |
public DbConnectionPerformanceTests(ITestOutputHelper outputHelper) | |
{ | |
_outputHelper = outputHelper; | |
} | |
[Theory] |
This file contains hidden or 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
public class PerformanceTester | |
{ | |
public TimeSpan TotalTime { get; private set; } | |
public TimeSpan AverageTime { get; private set; } | |
public TimeSpan MinTime { get; private set; } | |
public TimeSpan MaxTime { get; private set; } | |
public Action Action { get; set; } | |
public PerformanceTester(Action action) | |
{ |
We'll be addressing certain implementation details here.
To be able to detect whether a woman is pregnant, we would expect a [Condition
][res-condition] resource with start date, end date and the Snomed-CT code for patient currently pregnant (77386006) or one if its many child codes.
There is also a code for possible pregnancy (102874004) that we can consider using, if it makes sense from HCA's side.
🔥FHIR DSTU-2 data representing sample patient 1's cancer diagnosis: IDC diagnosis with 3 tumor mutation tests, 2 of them positive.
The current official FHIR version is DSTU-1. There is a new DSTU-2 ballot version for May 2015 that introduces some nice data model changes to be expected for DSTU-2. I propose using this ballot version for our pilot.
This file contains hidden or 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
################################################################################# | |
## | |
## PostgreSQL unattended install | |
## Author: Stefan Prodan | |
## Date : 16 Oct 2014 | |
## Company: VeriTech.io | |
################################################################################ | |
Function Install-Postgres | |
{ |
NewerOlder