Skip to content

Instantly share code, notes, and snippets.

@grahamegrieve
Last active March 8, 2016 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamegrieve/4db388828c965e2dc0e4 to your computer and use it in GitHub Desktop.
Save grahamegrieve/4db388828c965e2dc0e4 to your computer and use it in GitHub Desktop.
Possible json-ld representation for FHIR
{
"@context" : "http://hl7.org/fhir/Patient.jsonld",
"id": { "@context" : "http://hl7.org/fhir/id.jsonld", "value" : "example" } ,
"text": {
"@context" : "http://hl7.org/fhir/narrative.jsonld",
"status": { "@context" : "http://hl7.org/fhir/code.jsonld", "value" : "generated" },
"div": "<div>Severe burn of left ear (Date: 24-May 2012)</div>"
},
"patient": {
"@context" : "http://hl7.org/fhir/Reference.jsonld",
"reference": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Patient/example" }
},
"code": {
"@context" : "http://hl7.org/fhir/CodeableConcept.jsonld",
"coding": [
{
"@context" : "http://hl7.org/fhir/Coding.jsonld",
"system": { "@context" : "http://hl7.org/fhir/uri.jsonld", "value" : "http://snomed.info/sct" },
"code": { "@context" : "http://hl7.org/fhir/code.jsonld", "value" : "39065001" },
"display": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Burn of ear" }
}
],
"text": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Burnt Ear" }
},
"category": {
"@context" : "http://hl7.org/fhir/CodeableConcept.jsonld",
"coding": [
{
"@context" : "http://hl7.org/fhir/Coding.jsonld",
"system": { "@context" : "http://hl7.org/fhir/uri.jsonld", "value" : "http://hl7.org/fhir/condition-category" },
"code": { "value" : "diagnosis" },
"display": { "value" : "Diagnosis" }
},
{
"@context" : "http://hl7.org/fhir/Coding.jsonld",
"system": { "@context" : "http://hl7.org/fhir/uri.jsonld", "value" : "http://snomed.info/sct" },
"code": { "@context" : "http://hl7.org/fhir/code.jsonld", "value" : "439401001" },
"display": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Diagnosis" }
}
]
},
"verificationStatus": { "@context" : "http://hl7.org/fhir/code.jsonld", "value" : "confirmed" },
"severity": {
"@context" : "http://hl7.org/fhir/CodeableConcept.jsonld",
"coding": [
{
"@context" : "http://hl7.org/fhir/Coding.jsonld",
"system": { "@context" : "http://hl7.org/fhir/uri.jsonld", "value" : "http://snomed.info/sct" },
"code": { "@context" : "http://hl7.org/fhir/code.jsonld", "value" : "24484000" },
"display": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Severe" }
}
]
},
"onsetDateTime": { "@context" : "http://hl7.org/fhir/date.jsonld", "value" : "2012-05-24" },
"bodySite": [
{
"@context" : "http://hl7.org/fhir/CodeableConcept.jsonld",
"coding": [
{
"@context" : "http://hl7.org/fhir/Coding.jsonld",
"system": { "@context" : "http://hl7.org/fhir/uri.jsonld", "value" : "http://snomed.info/sct" },
"code": { "@context" : "http://hl7.org/fhir/code.jsonld", "value" : "49521004" },
"display": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Left external ear structure" }
}
],
"text": { "@context" : "http://hl7.org/fhir/string.jsonld", "value" : "Left Ear" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment