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
function getMonday() { | |
var date = new Date(); | |
// Set date to Monday just gone | |
var day = date.getDay() | |
date.setDate(date.getDate() - (day == 0 ? -6:1)); | |
// Zero time | |
date.setHours(0); | |
date.setMinutes(0); |
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
SnomedCT_Release_INT_20140131/ | |
SnomedCT_Release_INT_20140131/Documentation/ | |
SnomedCT_Release_INT_20140131/Documentation/doc_Icd10MapTechnicalGuideExemplars_Current-en-US_INT_20140131.xlsx | |
SnomedCT_Release_INT_20140131/Documentation/doc_SnomedCTReleaseNotes_Current-en-US_INT_20140131.pdf | |
SnomedCT_Release_INT_20140131/Readme_en_20140131.txt | |
SnomedCT_Release_INT_20140131/Resources/ | |
SnomedCT_Release_INT_20140131/Resources/OrderedTypeReferenceSetExemplar/ | |
SnomedCT_Release_INT_20140131/Resources/OrderedTypeReferenceSetExemplar/zres2_icRefset_OrderedTypeFull_INT_20110731.txt | |
SnomedCT_Release_INT_20140131/Resources/OrderedTypeReferenceSetExemplar/zres2_icRefset_OrderedTypeSnapshot_INT_20110731.txt | |
SnomedCT_Release_INT_20140131/Resources/StatedRelationshipsToOwlKRSS/ |
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
Count EffectiveDate | |
326016 20020131 | |
15338 20020731 | |
14770 20030131 | |
11061 20030731 | |
6766 20040131 | |
10706 20040731 | |
8488 20050131 | |
5014 20050731 | |
8389 20060131 |
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
kaikewley:~$ curl -I browser.ihtsdotools.org | |
HTTP/1.1 200 OK | |
Server: nginx/1.1.19 | |
Date: Wed, 18 Mar 2015 10:01:19 GMT | |
Content-Type: text/html; charset=utf-8 | |
Content-Length: 70878 | |
Last-Modified: Thu, 12 Mar 2015 08:17:31 GMT | |
Connection: keep-alive | |
X-Clacks-Overhead: GNU Terry Pratchett | |
Accept-Ranges: bytes |
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
select distinct SUBSTRING_INDEX(term, '(', -1) from description_s as d left join concept_s as c on d.conceptid = c.id where d.typeid = 900000000000003001 and d.active = 1 and c.active = 1 limit 1000; | |
+--------------------------------+ | |
| SUBSTRING_INDEX(term, '(', -1) | | |
+--------------------------------+ | |
| finding) | | |
| body structure) | | |
| disorder) | | |
| procedure) | | |
| morphologic abnormality) | | |
| regime/therapy) | |
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
set @branch='MAIN/WRPTEST/WRPTEST-336' | |
delete from component_change where concept_change_id in (select id from concept_change where activity_id in (select id from activity where branch = (select id from branch where branch_path=@branch))); | |
delete from concept_change where activity_id in (select id from activity where branch = (select id from branch where branch_path=@branch)); | |
delete from activity where branch = (select id from branch where branch_path=@branch); | |
delete from branch where branch_path=@branch; |
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 java.io.IOException; | |
import java.util.List; | |
import javax.servlet.FilterChain; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.springframework.security.authentication.AbstractAuthenticationToken; |
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
map $http_cookie $ihtsdo_cookie { default ""; "~(;\s|^)dev-ims-ihtsdo=(?<token>[^\;]+)" "dev-ims-ihtsdo=$token"; } | |
server { | |
server_name _; | |
listen 80; | |
rewrite ^ https://$host$request_uri permanent; | |
#endofhttpServer | |
} | |
server { |
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
library(httr) | |
library(jsonlite) | |
# ECL examples here https://confluence.ihtsdotools.org/display/DOCECL/6.+Examples | |
# Can test them in the browser here: | |
ecl <- "< 404684003 |Clinical finding|: | |
363698007 |Finding site| = << 39057004 |Pulmonary valve structure|, | |
116676008 |Associated morphology| = << 415582006 |Stenosis|" |
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
$ java -Xms6g -jar snomed-owl-toolkit*executable.jar -rf2-to-owl -rf2-snapshot-archives SnomedCT_InternationalRF2_PRODUCTION_20200131T120000Z.zip -version 20200131 | |
Creating Ontology using the following options: | |
Snapshot archives: [SnomedCT_InternationalRF2_PRODUCTION_20200131T120000Z.zip] | |
Delta archive: -none- | |
Ontology URI: http://snomed.info/sct/900000000000207008 | |
Ontology Version: 20200131 | |
Include Description Annotations: true | |
2020-02-28 13:44:00,759 [INFO ] [main] org.snomed.otf.owltoolkit.conversion.RF2ToOWLService - Loading RF2 files |
OlderNewer