In the Goal resource for FHIR r4 , the identifier attribute identifies the External Ids for this goal
"identifier": [
{
"value": "123"
}
]
"identifier": [
{
"value": "123"
}
]
"lifecycleStatus": "on-hold"
"achievementStatus":
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/goal-category",
"code": "dietary"
}
]
}
]
"priority": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/goal-priority",
"code": "high-priority",
"display": "High Priority"
}
],
"text": "high"
}
"description": {
"text": "Target weight is 160 to 180 lbs."
}
"subject": {
"reference": "Patient/example",
"display": "Peter James Chalmers"
}
"start[x]":
"target": [
{
"measure": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "Weight Measured"
}
]
},
"detailRange": {
"low": {
"value": 160,
"unit": "lbs",
"system": "http://unitsofmeasure.org",
"code": "[lb_av]"
},
"high": {
"value": 180,
"unit": "lbs",
"system": "http://unitsofmeasure.org",
"code": "[lb_av]"
}
},
"dueDate": "2016-04-05"
}
]
"statusDate": "2016-02-14"
"statusReason": "Patient wants to defer weight loss until after honeymoon."
"expressedBy": {
"reference": "Patient/example",
"display": "Peter James Chalmers"
}
"addresses": [
{
"display": "obesity condition"
}
]
"note":
"outcomeCode":
"outcomeReference": [
{
"reference": "Observation/example",
"display": "Body Weight Measured"
}
]