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
https://docs.google.com/presentation/d/1mIW5lb-xvy9x8FybxOyaH1EJqvE-a_ygFSvwKi6jsbU/edit?usp=sharing |
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
grammar ECL; | |
expressionconstraint : ws ( refinedexpressionconstraint | compoundexpressionconstraint | dottedexpressionconstraint | subexpressionconstraint ) ws; | |
refinedexpressionconstraint : subexpressionconstraint ws COLON ws eclrefinement; | |
compoundexpressionconstraint : conjunctionexpressionconstraint | disjunctionexpressionconstraint | exclusionexpressionconstraint; | |
conjunctionexpressionconstraint : subexpressionconstraint (ws conjunction ws subexpressionconstraint)+; | |
disjunctionexpressionconstraint : subexpressionconstraint (ws disjunction ws subexpressionconstraint)+; | |
exclusionexpressionconstraint : subexpressionconstraint ws exclusion ws subexpressionconstraint; | |
dottedexpressionconstraint : subexpressionconstraint (ws dottedexpressionattribute)+; | |
dottedexpressionattribute : dot ws eclattributename; | |
subexpressionconstraint: (constraintoperator ws)? ( ( (memberof ws)? (eclfocusconcept | (LEFT_PAREN ws expressionconstraint ws RIGHT_PAREN)) (ws memberfilterconstraint)*) | (eclfocusconcept | (LEFT_PAREN ws e |
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
grammar ECL; | |
expressionconstraint : ws ( refinedexpressionconstraint | compoundexpressionconstraint | dottedexpressionconstraint | subexpressionconstraint ) ws; | |
refinedexpressionconstraint : subexpressionconstraint ws COLON ws eclrefinement; | |
compoundexpressionconstraint : conjunctionexpressionconstraint | disjunctionexpressionconstraint | exclusionexpressionconstraint; | |
conjunctionexpressionconstraint : subexpressionconstraint (ws conjunction ws subexpressionconstraint)+; | |
disjunctionexpressionconstraint : subexpressionconstraint (ws disjunction ws subexpressionconstraint)+; | |
exclusionexpressionconstraint : subexpressionconstraint ws exclusion ws subexpressionconstraint; | |
dottedexpressionconstraint : subexpressionconstraint (ws dottedexpressionattribute)+; | |
dottedexpressionattribute : dot ws eclattributename; | |
subexpressionconstraint : (constraintoperator ws)? (memberof ws)? (eclfocusconcept | (LEFT_PAREN ws expressionconstraint ws RIGHT_PAREN)) (ws filterconstraint)*; |
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
# LOINC | |
hapi-fhir-cli upload-terminology -d Loinc_2.72.zip -v r4 -t http://localhost:8080/fhir -u http://loinc.org | |
# ICD-10 | |
hapi-fhir-cli upload-terminology -d icdClaML2019ens.zip -v r4 -t http://localhost:8080/fhir -u http://hl7.org/fhir/sid/icd-10 | |
# ICD-10-CM | |
hapi-fhir-cli upload-terminology -d icd10cm_tabular_2021.xml -v r4 -t http://localhost:8080/fhir -u http://hl7.org/fhir/sid/icd-10-cm | |
# Custom |
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
import javax.net.ssl.SSLContext; | |
public class PrintSSLProtocols { | |
public static void main(String[] args) throws Exception { | |
System.out.println(String.join(" ", SSLContext.getDefault().getSupportedSSLParameters().getProtocols())); | |
} | |
} |
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
{ | |
"name": "COVID-19 Comorbidity Affects", | |
"criteria": { | |
"encounterCriteria": [ | |
{ | |
"conceptECL": "<<840539006|COVID-19|", | |
"has": true | |
} | |
] | |
}, |
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
file=der2_cRefset_LanguageDelta-en_INT_20200731.txt | |
effectiveTime=20200309 | |
for id in `cut -f1 $file | sort | uniq -d`; do echo ${id}; gsed -i "/$id\t${effectiveTime}\t.*/d" $file; done |
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
$ curl -i -XPOST -H 'Content-Type: application/json;charset=UTF-8' https://dev-ims.ihtsdotools.org/api/authenticate -d '{"login":"test-user", "password":"PutPasswordHere"}' | |
HTTP/1.1 200 | |
Server: nginx | |
Date: Fri, 17 Jul 2020 12:45:03 GMT | |
Content-Length: 0 | |
Connection: keep-alive | |
Set-Cookie: dev-ims-ihtsdo=CO1qkDHBRtjkCY9A6GjMnQAAAbbkskskACdGVzdC1hdXRobThingssdAA; Max-Age=259200; Expires=Mon, 20-Jul-2020 12:45:03 GMT; Domain=ihtsdotools.org; Path=/ | |
X-Content-Type-Options: nosniff | |
X-XSS-Protection: 1; mode=block | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate |
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
import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; | |
import java.io.*; | |
import java.util.Map; | |
public class Temp { | |
public static void main(String[] args) throws IOException { | |
run(); | |
} |
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
{ | |
"criteria": { | |
}, | |
"groups": [ | |
[ | |
{ | |
"name": "Annual", | |
"criteria": { | |
"encounterCriteria": [ | |
{ |
NewerOlder