Mappings for the athena-familyhistory-profile resource profile.
AthenaFamilyMemberHistory |
FamilyMemberHistory | FHIRR4_FAMILYMEMBERHISTORYVIEW |
id | MakeId(%FAMILYHEALTHHISTORYID%) |
meta | |
lastUpdated | %DB_UPDATED_DATE% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
tag | MakeChangeTagList(%CHANGE%) |
identifier | MakeIdentifier("U",getSiteSystem("FamilyMemberHistoryId"),%FAMILYHEALTHHISTORYID%) |
status | MapCode(%STATUS%,"FAMILYHISTORYSTATUS") |
patient | MakeReference(null,%PID%,"Patient") |
date | %DB_UPDATED_DATE% |
relationship | MakeConcept(%CODE%,"http://snomed.info/sct",%RELATION%) |
sex | MapConcept(%GENDER%, "GENDER") |
note | MakeAnnotation(%FHXCOMMENTS%) |
condition | |
code | |
coding | |
code | %SNOMEDCODE% |
display | %LONGDESCRIPTION% |
text | %DESCRIPTION% |
AthenaFamilyMemberHistory |
FamilyMemberHistory | FHIRR4_FAMILYMEMBERHISTORYVIEW |
id | MakeId(%FAMILYHEALTHHISTORYID%) |
meta | |
lastUpdated | %DB_UPDATED_DATE% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
tag | MakeChangeTagList(%CHANGE%) |
identifier | MakeIdentifier("U",getSiteSystem("FamilyMemberHistoryId"),%FAMILYHEALTHHISTORYID%) |
status | MapCode(%STATUS%,"FAMILYHISTORYSTATUS") |
patient | MakeReference(null,%PID%,"Patient") |
date | %DB_UPDATED_DATE% |
relationship | MakeConcept(%CODE%,"http://snomed.info/sct",%RELATION%) |
sex | MapConcept(%GENDER%, "GENDER") |
note | MakeAnnotation(%FHXCOMMENTS%) |
condition | |
code | |
coding | |
code | %SNOMEDCODE% |
display | %LONGDESCRIPTION% |
text | %DESCRIPTION% |
AthenaFamilyMemberHistory |
FamilyMemberHistory | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN] |
meta | |
id | n/a |
extension | n/a |
security | |
security (SENSITIVECHART) | |
security (CONFABBR) | |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | Act.text? |
contained | N/A |
extension | N/A |
modifierExtension | N/A |
identifier | id |
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target |
instantiatesUri | .outboundRelationship[typeCode=DEFN].target |
dataAbsentReason | .reasonCode |
patient | participation[typeCode=SBJ].role |
date | participation[typeCode=AUT].time |
name | name |
relationship | code |
born[x] | player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG) |
age[x] | participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code="age"].value |
deceased[x] | player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG) For age, you'd hang an observation off the role |
reasonCode | .reasonCode |
reasonReference | .outboundRelationship[typeCode=RSON].target |
note | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value |
condition | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value<Diagnosis] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
code | .value |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
outcome | outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value |
onset[x] | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="Subject Age at measurement", value<Diagnosis].value[@xsi:typeCode='TS' or 'IVL_TS'] Use originalText for string |
note | inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value |