Skip to content

Instantly share code, notes, and snippets.

View patrick-werner's full-sized avatar

Patrick Werner patrick-werner

View GitHub Profile
@patrick-werner
patrick-werner / ICD10-Code-properties.json
Last active November 25, 2021 12:38
ICD10-Examples
{
"resourceType": "CodeSystem",
"id": "icd-10-gm",
"meta": {
"profile": [
"http://hl7.org/fhir/StructureDefinition/shareablecodesystem"
]
},
"url": "http://fhir.de/CodeSystem/bfarm/icd-10-gm",
"version": "2021",
<?xml version="1.0" encoding="UTF-8"?><Bundle xmlns="http://hl7.org/fhir">
<id value="father"/>
<meta>
<lastUpdated value="2013-05-28T22:12:21Z"/>
</meta>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0"/>
</identifier>
@patrick-werner
patrick-werner / first demo.json
Last active March 24, 2020 14:57
Multiple Specimen Testing
[
{
"resourceType": "Specimen",
"id": "tumor",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0487",
"code": "TUMOR",
"display": "Tumor"
@patrick-werner
patrick-werner / .editorconfig
Created November 27, 2019 16:43
Google Java CodeStyle editorconfig
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
max_line_length = 100
tab_width = 2
ij_continuation_indent_size = 4
ij_formatter_off_tag = @formatter:off
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="familymemberhistory-genetic"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">to do</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="2"/>
{
"resourceType": "Questionnaire",
"id": "3142",
"meta": {
"versionId": "1",
"lastUpdated": "2019-01-29T17:07:01.234Z"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>meta</b>: </p><p><b>contained</b>: </p><p><b>version</b>: v1.0</p><p><b>title</b>: QLQ C30 Kurzform</p><p><b>status</b>: active</p><p><b>publisher</b>: Molit Institut</p><p><b>description</b>: Der QLQ-C30 ist ein Fragebogen welcher entwickelt wurde um die Lebensqualit&#228;t von Krebs-Patienten zu bewerten.</p><p><b>subjectType</b>: Patient</p></div>"
@patrick-werner
patrick-werner / gist:c8652e88b2c9dab20b5986ac8c07f445
Created September 29, 2018 19:13
error valdidation obs-baser
<?xml version="1.0" encoding="UTF-8"?>
<OperationOutcome xmlns="http://hl7.org/fhir"
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Error parsing resource Xml (Unknown Content (isModifierReason) at /StructureDefinition/snapshot/element @ /StructureDefinition/snapshot/element/isModifierReason)</p>
</div>
</text>
<issue>
<severity value="error"/>
@patrick-werner
patrick-werner / gist:d2b276ed1ebfcc392b3ee39f0d93e69a
Created June 19, 2018 12:19
AppleScript to launch Forge on OSX
tell application "Terminal"
do script "WINEPREFIX=\"$HOME/.forge\" WINEARCH=win32 wine ~/.forge/setup.exe"
end tell