Skip to content

Instantly share code, notes, and snippets.

View vlindhol's full-sized avatar

Ville Lindholm vlindhol

View GitHub Profile

System preferences

Trackpad

  • Tap to click
  • Turn off extra click methods etc

Dock

  • Automatically show and hide the dock

Mission Control

  • Turn off Automatically rearrange Spaces based on most recent use

Notifications

  • Turn off most of the notifications
{
"editor.tabSize": 2,
"editor.renderWhitespace": "boundary",
"git.confirmSync": false,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "Inconsolata for Powerline",
"terminal.integrated.fontSize": 14,
"window.zoomLevel": -1,
"git.autofetch": true,
"editor.codeActionsOnSave": {
@vlindhol
vlindhol / graphics-copy.md
Last active April 22, 2020 07:11
Notes on the copying of graphicstools data to devtools

Copying new graphics to tools

Below is a listing of the things that have changed in the graphics 2.0 project and should thus be moved.

Assets

These are words, images, sounds and animations. They are referenced by daily study units (DSUs, see below).

Notes

  • There are 206 newly created assets. The created_at property reflects which ones have been touched.
{
"resourceType": "Bundle",
"type": "collection",
"id": "form-2-1403-bundle/fi-fi",
"entry": [
{
"fullUrl": "https://duodecim.fi/fhir/stu3/CodeSystem/questionnaire-option-2-1403/fi-fi",
"resource": {
"resourceType": "CodeSystem",
"id": "questionnaire-option-2-1403/fi-fi",
@vlindhol
vlindhol / config.jsonc
Last active September 21, 2018 06:40
EBMEDS multitenancy config
{
// do we have multitenancy?
"authentication": true,
"otherGlobalConfigFlag": "example",
"users": [
{
"name": "oda",
// tokens should be UUIDv4
"tokens": ["asdf", "qwerty"],
"config": {
{
"dlv": {
"40": {
"name": {
"fi": "asetyylisalisyylihappo"
},
"route": "systemic", // all | systemic | topical | enteral | parenteral
"legacyRoute": 1,
"nephrotoxic": true,
"articleId": "11831",
@vlindhol
vlindhol / careplan-template.json
Created February 26, 2018 20:17
JSON format of care plan template
{
"resourceType": "PlanDefinition",
"url": "https://national.templates.fi/plandefinition/yearly-blood-pressure",
"meta": {
"profile": [ "https://national.templates.fi/profiles/template" ]
},
"title": "Yearly blood pressure checkup.",
"description": "This is the template PlanDefinition whose 'action' elements form a hierarchy of all modules that may occur in the template, and in what order. The first element in the 'action' list is the start of the template. Every action must reference a PlanDefinition that implements a template module profile.",
"contained": [
{
@vlindhol
vlindhol / templaatit-villen-ehdotus.xml
Last active February 20, 2018 15:01
Villen ehdotus templaattien rakenteesta. Pohjana Erkan ehdotus.
<!-- Tämä PlanDefinition on templaatin "juuri". Se sisältää koko templaatin kaikki mahdollisuudet, eli tässä on listattu kaikki templaattifragmentit ja niiden väliset riippuvuudet, riippumatta siitä minkä "polun" yksittäinen potilas tekee. -->
<PlanDefinition xmlns="http://hl7.org/fhir" id="T0">
<url value="https://duodecim.fi/fhir/templates/blood-pressure">
<title value="Verenpainepotilaan vuosiseuranta">
<!-- muut metadatat skipattu tässä esimerkissä -->
<action id="loop-yearly-check">
<title value="Laita pyörimään ikuinen looppi joka kerran vuodessa laukaisee fragmentin T2"/>
<definition>
<!-- Tässä viitataan PlanDefinitioniin. Se sijaitsee omassa paikassaan, mutta tässä esimerkissä se on listattu tässä samassa tiedostossa, alempana. -->
@vlindhol
vlindhol / actdef-example.json
Created October 10, 2017 06:48
ActivityDefinition Example (Tieto 10.10)
{
"cards": [
{
"summary": "Info card",
"indicator": "info",
"source": {
"name": "EBMeDS",
"url": "https://oda.ebmedscloud.org"
},
"suggestions": [
@vlindhol
vlindhol / n-suggested-actions.md
Last active August 24, 2017 08:54
What to do when we have N suggested actions

N suggested actions in reminders

As related to issue 83 on github.

EBMeDS internal XML format

EBMeDS produces Reminders that have a unique Text and 0-N SuggestedActions. Each SuggestedAction carries a code and a textual descriptor.

Example: