I'm new to FHIR and having some basic questions: I need to transform my raw txt data file into FHIR resource format for storage. Please find my questions and my solutions below and let me know if anything doesn't look appropriate. Thank you very much!
- URL for category:code:system not resolved?
In the example of resource observation https://www.hl7.org/fhir/observation-example-sample-data.html. The URL for "category:code:system" can't be resolved (http://terminology.hl7.org/CodeSystem/observation-category). I wondered if I should use the following link instead https://www.hl7.org/fhir/codesystem-observation-category.html#observation-category for the system value?
"category": [
{
"coding": [
{
"system": "https://www.hl7.org/fhir/codesystem-observation-category.html#observation-category",
"code": "activity",
"display": "Activity"
}
]
}
]
- If I can't find controlled terminology code (for example, SNOMED or LOINC) for my measurements, I use text instead to describe the measurement.
The measurements including: Rotation rate (x,y,z axis), acceleration (x,y,z axis) from apple watch accelerometer and gyroscope, type of utensil (fork, hand, ...) used during the meal and datetime the meal was started/end. I couldn't find appropriate controlled terminology for my measurements so I use text to describe, for example:
"code": {
"text": "acceleration"
}
- Use observation resource for meal time and utensil records.
My raw data in txt file (Time:Event observed):
2019-05-23 17:01:31 +0000: meal started
2019-05-23 17:10:37 +0000: meal completed
2019-05-23 17:16:07 +0000: utensil used is 3
For FHIR version, as the 3 records belongs to the same session. I use 4 components to store all the information (Datetime meal started and completed, datetime when type of utensil was recorded, and type of utensil been used).
"component": [
{
"code": {
"text": "meal started"
},
"valueDateTime": "2019-05-23T17:01:31+00:00"
},
{
"code": {
"text": "meal completed"
},
"valueDateTime": "2019-05-23T17:10:37+00:00"
},
{
"code": {
"text": "datetime, untensil used"
},
"valueDateTime": "2019-05-23T17:16:07+00:00"
},
{
"code": {
"text": "utensil"
},
"valueString": [
"3"
]
}