Skip to content

Instantly share code, notes, and snippets.

@louismullie
Created July 20, 2020 20:14
Show Gist options
  • Save louismullie/e46a6e117b4b24cfb39ad8e952c1e8b9 to your computer and use it in GitHub Desktop.
Save louismullie/e46a6e117b4b24cfb39ad8e952c1e8b9 to your computer and use it in GitHub Desktop.
JSON template for the FHIR Patient resource.
{
// The type of resource
"resourceType" : "Patient",
// An identifier for this patient
"identifier" : [{
// Indicate that this ID is a medical record number
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR"
}
]
},
// The medical record number ID
"value" : "453265624",
// The organisation assigning the ID
"assigner" : {
"reference" : "CHUM",
"type" : "Organization"
}
}],
// The patient's name
"name" : [
{
"text" : "Boris Macdonald", // Full name
"family" : "Macdonald", // Surname
"given" : ["Boris"] // First name
}
],
// The gender of the individual
"gender" : {
"code" : "male" // male | female | other | unknown
},
// The date of birth of the individual
"birthDate" : "YYYY-MM-DD",
// Indicates if the individual is deceased or not.
"deceasedBoolean" : true,
// Indicates the time of death, if applicable.
"deceasedDateTime" : "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