Skip to content

Instantly share code, notes, and snippets.

{
"hookInstance": "f4727518-0a3e-11ee-98c9-e604a017f41a",
"fhirServer": "https://fhir-test.epic.medical.washington.edu/FHIR_POC/api/FHIR/R4",
"hook": "order-sign",
"fhirAuthorization": {
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ1cm46dXdtZWRpY2luZTpwb2MiLCJjbGllbnRfaWQiOiI0M2JmNGIwYS00YmVmLTQ5MzYtODVjYi00MDc1ZmRhYjgyMTYiLCJlcGljLmVjaSI6InVybjplcGljOlBPQyIsImVwaWMubWV0YWRhdGEiOiJiMDNyVDAyek9QNTNhQXU5M2FSay14UGdxZmM1S08zWUFiYW56RENqM3ZJcnBEQWJjMzdBTFE0cV9JQndjcTZGWlJFWjlOLWNwZ2IwQ0dWOFBVZElKSU5OS0FWdU5OTHlIXy0wVF9xUjVQS0U3QzhUd2lqTGdSTEtSc3hNOFlvYSIsImVwaWMudG9rZW50eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjg2NzAxMjAwLCJpYXQiOjE2ODY2OTc2MDAsImlzcyI6InVybjp1d21lZGljaW5lOnBvYyIsImp0aSI6IjYxNzE2ZDRiLTA4MWYtNDcwNS05ODI5LTJlZDljN2NlNmIyZiIsIm5iZiI6MTY4NjY5NzYwMCwic3ViIjoiZWdRQ0xBYTdCakVEaWszQTdOdEgwMXZZb1I0NW5NWEY0TWxESDYtTWs4b1kzIn0.N3arrFOz8_62mM1q19ren7e3-h-laKVjJ9Eedap5FTovSStPm5XWRK-q_B9_Y1e77IZ1MF0bqfcdnWxwuKHUZmWoJo6IE66Fw-UBIMUn3USTb5XjR-M__W0LYvCei0xEwrx24OHaQtXcEdWAfid7XChQ4ISN60AfhNa
{
"resourceType": "Bundle",
"id": "med-upload",
"type": "transaction",
"entry": [
{
"resource": {
"authoredOn": "2020-03-09",
"dispenseRequest": {
"expectedSupplyDuration": {
@ivan-c
ivan-c / .gitignore
Last active July 28, 2020 05:56
debootstrap script for rpi4
*.img
#!/bin/sh
# support 1440p on Dell U2713HM over HDMI, albiet at 30hz
# add 1440p @ 30hz profile to HDMI interface
xrandr --newmode "2560x1440_30.00_rb2" 115.71 2560 2568 2600 2640 1440 1447 1455 1461 +hsync -vsync
xrandr --addmode HDMI-1 "2560x1440_30.00_rb2"
@ivan-c
ivan-c / bootstrap-ansible.sh
Last active February 7, 2020 03:38
Ansible bootstrapping script; Install ansible and prerequisites; `wget --content-disposition https://git.io/fjOm2 `
#!/bin/sh
set -e
cmdname="$(basename "$0")"
usage() {
cat << USAGE >&2
Usage:
$cmdname [-h] [--help]
-h
@ivan-c
ivan-c / idchanger.c
Created October 30, 2018 17:42 — forked from imasaru/idchanger.c
Program derived from AR5k posted some time ago to overwrite regional domain code set in Atheros adapters, and repurposed to modify EEPROM addresses. Found at dagarlas.org. Thanks, Mr. Davide!
/*
* This program is derived from code bearing the following Copyright(s)
/* -*- linux-c -*-
* _ _ ____ __ _ ___ ____ ____ __ _ _ _ _ |
* . \/ |--| | \| | |--< [__] | \| | _X_ | s e c u r e s y s t e m s
*
* .vt|ar5k - PCI/CardBus 802.11a WirelessLAN driver for Atheros AR5k chipsets
*
* Copyright (c) 2002, .vantronix | secure systems
@ivan-c
ivan-c / .gitmodules
Created September 7, 2018 05:57 — forked from 0xcaff/0_README.md
OpenVPN, rTorrent and Flood Docker Compose Configuration
[submodule "wait-for"]
path = wait-for
url = https://github.com/Eficode/wait-for
@ivan-c
ivan-c / build-git.sh
Last active August 29, 2023 03:38 — forked from LaggAt/build-git.sh
compile git with openssl instead of gnutls
#!/usr/bin/env bash
# original gist from pescobar/build-git.sh
# changes by LaggAt:
# * to be usable on Raspbian / tested RPi3 and
# * for automatic depency resolving
# Clear out all previous attempts
rm -rf "/tmp/source-git/"
# Get the dependencies for git, then get openssl
@ivan-c
ivan-c / install_composer.sh
Created March 6, 2018 07:39
install composer
#!/bin/sh -e
COMPOSER_SCRIPT_VERSION="${COMPOSER_SCRIPT_VERSION:-a68fc08d2de42237ae80d77e8dd44488d268e13d}"
wget "https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_SCRIPT_VERSION}/web/installer"
php installer \
--filename composer \
--install-dir "$HOME/bin" \
--version 1.4.1
#!/bin/sh
set -euxo pipefail
# docker install script for debian
# https://docs.docker.com/engine/installation/linux/docker-ce/debian/
apt-get update
apt-get install --yes --no-install-recommends \
apt-transport-https \