Skip to content

Instantly share code, notes, and snippets.

@p2
p2 / 0-README.md
Last active August 27, 2017 19:32
🔥FHIR Condition with mutation Observation example

🔥FHIR DSTU-2 data representing sample patient 1's cancer diagnosis: IDC diagnosis with 3 tumor mutation tests, 2 of them positive.

FHIR Version

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.

@p2
p2 / Example-FHIR-codings.md
Last active August 29, 2015 14:20
Example FHIR MedicationPrescription codings

Example FHIR codings

Example MedicationStatement resources on how certain scenarios can be stated. Only the parts relevant to the dosage are shown, Patient and Medication references as well as dates should be present as well.


Medication is taken daily, not further specified when:

@p2
p2 / Example-FHIR-codings-(basic).md
Created July 10, 2015 10:08
Example 🔥FHIR MedicationPrescription codings

Example FHIR codings (Basic Review)

Example MedicationStatement resources on how certain scenarios can be stated. Only the parts relevant to the dosage are shown, Patient and Medication references as well as dates should be present as well.


Medication is taken, as directed:

@p2
p2 / yesnodontknow.json
Last active August 29, 2015 14:24
🔥FHIR ValueSet: Yes/No/Don't know
{
"resourceType": "ValueSet",
"status": "draft",
"identifier": {
"system": "https://smarthealthit.org/ValueSet/questionnaire-yesnodontknow"
},
"name": "Yes/No/Don't Know",
"description": "Captures simple yes-no-don't know answers",
"compose": {
"import": [

C3-PRO Übersicht - Questionnaires

QuestionnaireController

Dient als Ausgangspunkt für den App Programmierer.

Soll ein Fragebogen (questionnaire, survey) angezeigt werden, wird ein FHIR Questionnaire aus dem Internet oder aus lokalem File in ein FHIR Objekt geladen, via FHIR library. Dann wird ein QuestionnaireController mit Referenz auf dieses questionnaire instanziiert.

//
// CBLUITableSource.h
// CouchbaseLite
//
// Created by Jens Alfke on 8/2/11.
// Copyright 2011-2013 Couchbase, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@p2
p2 / Vagrantfile
Created November 11, 2016 17:18
Let Vagrant set up an Ubuntu Xenial VM with Swift installed
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
# Create a shared folder for easy development
config.vm.synced_folder "../Ubuntu-Share", "/macOSshare"
config.vm.provision "shell", inline: <<-CMD
sudo apt-get update
sudo apt-get --assume-yes install clang libicu-dev libcurl3 libpython2.7