Skip to content

Instantly share code, notes, and snippets.

@louismullie
Last active July 27, 2020 17:05
Show Gist options
  • Save louismullie/345b03cee9704c2dece489270395b6f6 to your computer and use it in GitHub Desktop.
Save louismullie/345b03cee9704c2dece489270395b6f6 to your computer and use it in GitHub Desktop.
JSON template for the Encounter FHIR resource
{
// The type of resource
"resourceType" : "Encounter",
// Identifier. No special coding system.
"id": "some-encounter-id",
// The status of the encounter
"status": "in-progress",
// The type of the encounter
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "IMP",
"display": "inpatient encounter"
},
"subject": {
"reference": "Patient/24235135"
},
"period": {
"start": "YYYY-MM-DDThh:mm:ss+zz:zz",
"end": "YYYY-MM-DDThh:mm:ss+zz:zz"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment