Skip to content

Instantly share code, notes, and snippets.

View ewoutkramer's full-sized avatar

Ewout Kramer ewoutkramer

View GitHub Profile

Ewout's Chicago WGM 2014 notes

PA

  1. Want to rename the Schedule datatype, is that ok with core team?
  2. Are our resource proposals we sent to FMG in May acceptable? Where can we find feedback?
  3. When is the QA period for DSTU2?
  4. PA has finished making a ServiceDeliveryLocation profile on Location
  5. What is balloted in May? Leftovers from the january ballot? Can we still do major changes after january WGM?
<element>
<path value="DiagnosticReport.diagnostic[x]"/>
<slicing>
<!-- because I'm slicing on type,right? -->
<discriminator value="type"/>
<ordered value="false"/>
<rules value="closed"/>
</slicing>
<!-- both dateTime and Period are allowed. There are no constraints on dateTime. However, if you use a Period, you have to provide a begin time ánd end time -->
<definition>

Interpretation of ElementDefinition in different contexts

The pseudo-datatype ElementDefinition is used both in StructureDefinition and ExtensionDefinition, and even within those resources, the way its elements are to be used and interpreted depend on the context where ElementDefinition used.

Common properties

  • short, formal, comments, requirements, synonym can be used in any context to convey a change to the interpretation of the constrained element as compared to the base definition.
  • condition and constraint may be used in all contexts
  • mapping may be used in all contexts

First (root) element in a structure

NamingSystem
Profile Conformance ExtensionDefinition DataElement SearchParameter OperationDefinition ValueSet
--- !clarkevans.com/^invoice
invoice: 34843
date : 2001-01-23
bill-to: &id001
given : Chris
family : Dumars
address:
lines: |
458 Walkman Dr.
Suite #292

First try, a ValueSet that follows the human readable page as closely as possible. A parser should look for table headers and fixed phrases to distill a ValueSet resource from this text

ValueSet ParticipantType

ValueSet url: http://hl7.org/fhir/vs/participant-type

A set of codes that can be used to indicate how an individual participates in an encounter.

This valueset defines its own terms in the system http://hl7.org/fhir/participant-type

Remarks:
#### In credits.html
>The Management board is Lorraine Constable, Jean Duteau, Hugh Glover, David Hay, Lloyd McKenzie, John Moehrke, Brian Pech, John Quinn and Ron Parker
I think this list is outdated
#### In summary.html
(nothing)
@ewoutkramer
ewoutkramer / XmlSignatureHelper.cs
Last active January 3, 2016 03:39
Code from Furore's Spark FHIR server that is used to validate incoming signed xml data
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography.Xml;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
@ewoutkramer
ewoutkramer / conformance-domain.md
Last active July 12, 2016 12:06
Draft of text for conformance domain page

Scope

The base FHIR specification describes a set of base resources, frameworks and APIs that are used in many different contexts in healthcare. However there is wide variability between jurisdictions and across the healthcare ecosystem around practices, requirements, regulations, education and what actions are feasible and/or beneficial.

For this reason, the FHIR specification is a "platform specification" - it creates a common platform or foundation on which a variety of different solutions are implemented. As a consequence, this specification usually requires further adaptation to particular contexts of use.

Typically, these adaptations specify:

@ewoutkramer
ewoutkramer / snapshot-comparison-stu3.md
Created March 1, 2017 15:15
Overview of differences found in the snapshot generators for the Java and .NET FHIR stack

Comparison of .NET versus Java generated core snapshots

Include the <representation> on primitives

Whenever we encounter a primitive element (like value in all datatypes, and id in all stuctures), the Java generator will emit a <representation> element:

<element id="Account.coverage.id">
      <path value="Account.coverage.id"/>
      <representation value="xmlAttr"/>