Skip to content

Instantly share code, notes, and snippets.

@ybon3
Last active November 1, 2016 07:35
Show Gist options
  • Save ybon3/06a6397c525197d64c0a5a1b29f8433f to your computer and use it in GitHub Desktop.
Save ybon3/06a6397c525197d64c0a5a1b29f8433f to your computer and use it in GitHub Desktop.
DialysisQC 的「缺失改進」功能無法正常進入的原因
{
"resourceType":"Provenance",
"id":"3890242",
"meta":{
"versionId":"1",
"lastUpdated":"2016-10-28T21:58:22.000+08:00"
},
"recorded":"2016-10-28T21:58:10.168+08:00",
"reason":[
{
"coding":[
{
"code":"issue"
}
]
}
],
"activity":{
"coding":[
{
"code":"assigned"
}
]
},
"agent":[
{
"role":{
"code":"publisher"
},
"actor":{
"reference":"Organization/SQC430000"
}
}
]
}

死亡的起點依序是:

  1. org.getId()orgnull
  2. OrganizationUtil.getLevel()
  3. IssueTrackGrid 中 L71 給的 item = null
  4. IssueTrackGrid 中 L67 findAgentByRoleType() 取得的是 null
  5. 原因:當 Provenance 找不到 receiver 就掛了
  6. 該筆資料建立方式是否有問題?

failProvenanceData.json 是該筆資料的內容,我已經將該筆資料先從 fhir server 中移除。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment