smart-classic / smart-issues

2 stars 0 forks source link

Family History API #125

Closed nschwertner closed 11 years ago

nschwertner commented 11 years ago
nschwertner commented 11 years ago

Zack: JetCom have already implemented family relations. We should look into it.

jmandel commented 11 years ago

GEDCOM

jmandel commented 11 years ago

Examples of the kinds of things we want to say, in English:

vitals (height, weight, BMI)

"patient's father was 178cm tall."

problem list

"patient's father had Type 2 Diabetes."

some demographics

"patient's father died in 1940." "patient's father died in 1890."

How relations / family members are identified

(note: need ~sp:dateOfDeath in SMART demographics.)

dhml commented 11 years ago

In addition to family relations, SNOMED also has family history of clinical findings: http://schemes.caregraf.info/snomed#!281666001. Diabetes for instance: http://schemes.caregraf.info/snomed#!160303001 .

jmandel commented 11 years ago

Indeed! This comes down to a classic question of pre- vs. post-coordiantion.

If the SMART data model is specifically a data model for family history, then we can use post-coordinated expressions to break the disease from the context. E.g. We could say:

[ a sp:FamilyHistoryStatement;
  sp:belongsTo <http://my-smart-container/records/123>;
  sp:aboutRelative <http://snomed.info/grandfather> # (fake code for
grandfather)
  sp:problem [
    a sp:Problem;
    sp:problemName [
      sp:code <http://snomed.info/diabetes> # (fake code for diabetes)
    ]
  ]
]

On the other hand if we wanted more generic statements, we could embed the context into the code:

[ a sp:SomeGenericStatement;
  sp:belongsTo <http://my-smart-container/records/123>;
  sp:aboutRelative <http://snomed.info/grandfather> # (fake code for
grandfather)
  sp:snomedCode  <http://schemes.caregraf.info/snomed#!160303001>.
]

My sense is that the pre-coordinated approach requires app developers to understand a bit more of SNOMED CT to get started. So my preference is for the post-coordinated approach... but I'm swayable here. (The only thing I want to avoid is accidentally saying things like "my father has a family history of diabetes" unless it's really what I mean.)

nschwertner commented 11 years ago

Day of death is now part of the model: https://github.com/chb/smart_common/commit/fb1408ba6205fc5495093e36789e079523549189