VISIT_DETAIL表

VISIT_DETAIL表是一個可選表,用于表示父visit_occurrence表中每條記錄的詳細信息恳守。對于visit_occurrence表中的每個記錄,visit_detail表中可能有0個或更多記錄,呈1:n比例若河,其中n可能為0. visit_detail。表在結(jié)構(gòu)上與visit_occurrence表非常相似寞宫,屬于與訪問類似的域萧福。

The VISIT_DETAIL table is an optional table used to represents details of each record in the parent visit_occurrence table. For every record in visit_occurrence table there may be 0 or more records in the visit_detail table with a 1:n relationship where n may be 0. The visit_detail table is structurally very similar to visit_occurrence table and belongs to the similar domain as the visit.

Field Required Type Description
visit_detail_id Yes integer A unique identifier for each Person's visit or encounter at a healthcare provider.
就診-詳情-id -- -- 居民在任何醫(yī)療機構(gòu)就診行為的唯一標識符。
person_id Yes integer A foreign key identifier to the Person for whom the visit is recorded. The demographic details of that Person are stored in the PERSON table.
居民-id -- -- 外鍵辈赋,指向該表所記錄的就診居民的標識符鲫忍。該人員的人口統(tǒng)計詳細信息存儲在PERSON表中。
visit_detail_concept_id Yes integer A foreign key that refers to a visit Concept identifier in the Standardized Vocabularies belonging to the 'Visit' Vocabulary.
就診-詳情-概念-id -- -- 外鍵钥屈,指向標準詞匯表中“就診”詞匯表的就診概念的標識符悟民。
visit_detail_start_date No date The start date of the visit.
就診-詳情-起始-日期 -- -- 就診的起始時間
visit_detail_start_datetime Yes datetime The date and time of the visit started.
就診-詳情-起始-日期時間 -- -- 就診的起始日期+時間
visit_detail_end_date No date The end date of the visit. If this is a one-day visit the end date should match the start date.
就診-詳情-截止-日期 -- -- 就診的結(jié)束日期。如果這是一天就診篷就,則結(jié)束日期應與開始日期匹配射亏。
visit_detail_end_datetime Yes datetime The date and time of the visit end.
就診-詳情-截止-日期時間 -- -- 就診的詳細截止日期和時間
visit_detail_type_concept_id Yes Integer A foreign key to the predefined Concept identifier in the Standardized Vocabularies reflecting the type of source data from which the visit record is derived belonging to the 'Visit Type' vocabulary.
就診-詳情-類型-概念-id -- -- 外鍵,標準詞匯表中預定義的概念標識符腻脏,反映從中導出訪問記錄的源數(shù)據(jù)類型鸦泳,屬于“訪問類型”詞匯表。
provider_id No integer A foreign key to the provider in the provider table who was associated with the visit.
共享者-id -- -- 外鍵永品,指向與就診關(guān)聯(lián)的貢獻者表中的貢獻者們做鹰。
care_site_id No integer A foreign key to the care site in the care site table that was visited.
醫(yī)療機構(gòu) -- -- 外鍵,訪問的護理站點表中護理站點鼎姐。
visit_detail_source_value No string(50) The source code for the visit as it appears in the source data.
就診-詳情-源-值 -- -- 訪問源代碼在源數(shù)據(jù)中存儲钾麸。
visit_detail_source_concept_id Yes Integer A foreign key to a Concept that refers to the code used in the source.
就診-詳情-源-概念-id -- -- 外鍵更振,指向源數(shù)據(jù)使用的編碼、代碼
admitted_from_source_value No Varchar(50) The source code for the admitting source as it appears in the source data.
允許-從-源-值 --- -- 源數(shù)據(jù)中允許的饭尝、顯示的源代碼肯腕。
admitted_from_concept_id Yes Integer A foreign key to the predefined concept in the 'Place of Service' Vocabulary reflecting the admitting source for a visit.
允許-來自-概念-id -- -- 外鍵,指向“醫(yī)療機構(gòu)地點”詞匯表中預設(shè)的概念钥平,反映了就診的準入來源
discharge_to_source_value No Varchar(50) The source code for the discharge disposition as it appears in the source data.
出院-到-源-值 -- -- 源數(shù)據(jù)里存儲的出院后目的地的源碼
discharge_to_concept_id Yes Integer A foreign key to the predefined concept in the 'Place of Service' Vocabulary reflecting the discharge disposition for a visit.
出院-到-概念-值 -- -- 外鍵实撒,指向“醫(yī)療機構(gòu)地點”詞匯表中預置的概念,反映一次就診后涉瘾,出院的目的地
preceding_visit_detail_id No Integer A foreign key to the VISIT_DETAIL table of the visit immediately preceding this visit
先前-就診-詳情-id -- -- 外鍵知态,指向該次就診的前1次就診所對應的VISIT_DETAIL表
visit_detail_parent_id No Integer A foreign key to the VISIT_DETAIL table record to represent the immediate parent visit-detail record.
就診-詳情-父代-id -- -- 外鍵,VISIT_DETAIL表所記錄的立叛,指向上一級父代 visit-detail 記錄
visit_occurrence_id Yes Integer A foreign key that refers to the record in the VISIT_OCCURRENCE table. This is a required field, because for every visit_detail is a child of visit_occurrence and cannot exist without a corresponding parent record in visit_occurrence.
就診-發(fā)生-id -- -- 外鍵负敏,指向VISIT_OCCURRENCE表中的記錄。這是一個必填字段秘蛇,因為每個visit_detail都是visit_occurrence的子代文件其做,且若在visit_occurrence中沒有相應的父記錄時則不能存在。

共識

所有VISIT_OCCURRENCE表的共識都適用于VISIT_DETAIL表赁还,另外還需注意的請見以下詳情:

All conventions used in VISIT_OCCURRENCE apply to VISIT_DETAIL, with some notable exceptions as detailed below

No. Convention Description 共識
1 A Visit Detail is an optional detail record for each Visit Occurrence to a healthcare facility. For every record in VISIT_DETAIL there has to be a parent VISIT_OCCURRENCE record. 就診詳情是選填信息妖泄,記錄每次到醫(yī)療機構(gòu)的就診詳情。對于VISIT_DETAIL中的每條記錄秽浇,必須有父VISIT_OCCURRENCE記錄浮庐。
2 One record in VISIT_DETAIL can only have one VISIT_OCCURRENCE parent. VISIT_DETAIL中的一條記錄只能有一個父代VISIT_OCCURRENCE。
3 A single VISIT_OCCURRENCE record may have many child VISIT_DETAIL records. 一個VISIT_OCCURRENCE記錄可能有許多子VISIT_DETAIL記錄柬焕。
4 Valid Visit Concepts belong to the 'Visit' domain. Standard Visit Concepts are yet to be defined, but will represent a detail of the Standard Visit Concept in VISIT_OCCURRENCE. 有效的訪問概念屬于“訪問”域。標準訪問概念尚未定義梭域,但將代表VISIT_OCCURRENCE中標準訪問概念的詳細信息斑举。
5 Handling of death: In the case when a patient died during admission (VISIT_DETAIL.DISCHARGE_TO_CONCEPT_ID = 4216643 'Patient died'), a record in the Observation table should be created with OBSERVATION_TYPE_CONCEPT_ID = 44818516 (EHR discharge status 'Expired'). 死亡處理:如果患者在住院時死亡(VISIT_DETAIL.DISCHARGE_TO_CONCEPT_ID = 4216643'患者死亡'),應創(chuàng)建觀察表中的OBSERVATION_TYPE_CONCEPT_ID = 44818516(EHR出院狀態(tài)'過期')記錄病涨。
6 Source Concepts from place of service vocabularies are mapped into these Standard Visit Concepts in the Standardized Vocabularies. 來自機構(gòu)地點詞匯表的源概念被映射到標準化詞匯表中的“標準就診概念”富玷。
7 On any one day, there could be more than one visit. VISIT_OCCURRENCE allows for more than one visit within a single day. VISIT_DETAIL is to be used to only capture details within the visit. 在任何一天,可能會有不止一次就診既穆。VISIT_OCCURRENCE允許記錄一天內(nèi)進行的多次就診赎懦。VISIT_DETAIL用于僅捕獲就診中的詳細信息。
8 One visit may involve multiple Providers, in which case, in VISIT_OCCURRENCE, the ETL must specify how a single PROVIDER_ID is selected or leave the PROVIDER_ID field null. VISIT_DETAIL allows for the ETL to specify multiple child records per VISIT_OCCURRENCE - and each of these child records may represent different PROVIDER_IDs. 一次就診可能涉及多個貢獻者幻工,在這種情況下励两,在VISIT_OCCURRENCE中,ETL必須指定如何選擇單個PROVIDER_ID或?qū)ROVIDER_ID字段保留為空囊颅。VISIT_DETAIL允許ETL為每個VISIT_OCCURRENCE指定多個子記錄 - 并且每個子記錄可以表示不同的PROVIDER_ID当悔。
9 One visit may involve multiple Care Sites, in which case, in VISIT_OCCURRENCE, the ETL must specify how a single CARE_SITE_ID is selected or leave the CARE_SITE_ID field null. VISIT_DETAIL allows for the ETL to specify multiple child records per visit occurrence - and each of these child records may represent different CARE_SITEs. 一次就診可能涉及多個醫(yī)療機構(gòu)傅瞻,這種情況下,在VISIT_OCCURRENCE中盲憎,ETL必須指定如何選擇單個CARE_SITE_ID或?qū)ARE_SITE_ID字段保留為null嗅骄。VISIT_DETAIL允許ETL為每次就診發(fā)生表指定多個子記錄 - 并且這些子記錄中的每一個可以表示不同的CARE_SITE。
10 Just like in VISIT_OCCURRENCE, records in VISIT_DETAIL may be sequentially related to each. These sequential relations are represented using PRECEDING_VISIT_DETAIL_ID. 就像在VISIT_OCCURRENCE中一樣饼疙,VISIT_DETAIL中的記錄可能根據(jù)每個記錄的順序相關(guān)聯(lián)溺森。使用PRECEDING_VISIT_DETAIL_ID表示這些順序關(guān)系。
11 Unlike VISIT_OCCURRENCE, VISIT_DETAIL may have nested visits with hierarchical relationships to each other. These relationships are represented using VISIT_DETAIL_PARENT_ID. 與VISIT_OCCURRENCE不同窑眯,VISIT_DETAIL可能存在彼此具有層級嵌套關(guān)系的就診關(guān)系屏积。這些關(guān)系使用VISIT_DETAIL_PARENT_ID表示。
12 In US claims data Header/summary data that summarizes the entire claim and Line/detail that details a claim, detail is thus a child of the summary, and for every record in summary there is one or more records in detail. i.e. there will be at least one foreign key link from VISIT_DETAIL to VISIT_OCCURRENCE. 在“美國索賠數(shù)據(jù)”中伸但,標題/摘要數(shù)據(jù)總結(jié)了詳細說明索賠的整個索賠和行/詳細信息肾请,因此詳細信息是摘要的子項,對于摘要中的每個記錄更胖,都有一個或多個詳細記錄铛铁。即從VISIT_DETAIL到VISIT_OCCURRENCE將至少有一個外鍵鏈接。

例如:患者的整個住院期可能是VISIT_OCCURRENCE表中的一條記錄却妨。這可以有一個或多個詳細記錄饵逐,例如ER,ICU彪标,醫(yī)療樓層倍权,康復樓層等。這些就診細節(jié)中的每一個可以具有不同的開始/結(jié)束日期 - 時間捞烟,不同的concept_id和fact_id薄声。這些將成為VISIT_DETAIL中的獨立記錄,其中包含指向VISIT_OCCURRENCE的外鍵鏈接题画。

For example: an entire inpatient stay maybe one record in the VISIT_OCCURRENCE table. This may have one or more detail records such as ER, ICU, medical floor, rehabilitation floor etc. Each of these visit details may have different start/end date-times, different concept_ids and fact_ids. These would become separate records in VISIT_DETAIL with a FK link to VISIT_OCCURRENCE.

VISIT_DETAIL內(nèi)的每條記錄可以相互順序性關(guān)聯(lián) - > ER到ICU再到住院病房默辨,到康復科,或父子層級關(guān)聯(lián) - >在ICU住院期間去透析治療室苍息。

Each record within VISIT_DETAIL may be related to each other, sequentially –> ER leading to ICU leading to medical floor, leading to rehabilitation, or in hierarchical parent-child visit –> a visit for dialysis while in ICU.


請注意缩幸,域是“就診”,它在OMOP CDM中的VISIT_OCCURRENCE和VISIT_DETAIL之間共享使用竞思。VISIT_OCCURRENCE的關(guān)鍵區(qū)別是:

  • 自引用鍵:新的外鍵visit_detail_parent_id允許嵌套就診關(guān)系的的自引用表谊。
  • VISIT_DETAIL指向VISIT_OCCURRENCE表中的父記錄(visit_occurrence_id)

Note the domain is Visit, and it is shared between VISIT_OCCURRENCE and VISIT_DETAIL in OMOP CDM. The key deviation from VISIT_OCCURRENCE is

  • self-referencing key: a new foreign key visit_detail_parent_id allows self referencing for nested visits.
  • VISIT_DETAIL points to its parent record in the VISIT_OCCURRENCE table (visit_occurrence_id)

本系列在介紹目前世界上最適用于臨床科研+衛(wèi)生經(jīng)濟學的標準醫(yī)療大數(shù)據(jù)格式(未經(jīng)嚴謹考證,但有相關(guān)研究發(fā)表在專業(yè)期刊上)盖喷,儼然是真實世界研究方案里面最接進成熟的基礎(chǔ)建設(shè)方案爆办。感興趣的介紹請移步B站觀看視頻。

OHDSI——觀察性健康醫(yī)療數(shù)據(jù)科學與信息學传蹈,是一個世界性的公益型非盈利研究聯(lián)盟押逼,主要研究全方位醫(yī)學大數(shù)據(jù)分析的開源解決方案步藕,旨在通過大規(guī)模數(shù)據(jù)分析和挖掘來提升臨床醫(yī)學數(shù)據(jù)價值,實現(xiàn)跨學科挑格、跨行業(yè)的多方合作咙冗。目前,目前,已有來自美國、加拿大献汗、澳大利亞菩混、英國等幾十個國家地區(qū)的上百個組織機構(gòu)刨晴,高校,醫(yī)院和公司企業(yè)參與了OHDSI全球協(xié)作網(wǎng)絡(luò),如斯坦福、哈佛桑腮、杜克大學醫(yī)學院,強生蛉幸、諾華破讨、甲骨文、IBM公司奕纫,擁有超過6億人口的臨床數(shù)據(jù)規(guī)模提陶,累計協(xié)作研究發(fā)表了上百篇論文。

我們在這里邀請國內(nèi)對相關(guān)工作感興趣匹层、愿共同學習的好學人士參與到中文興趣小組隙笆,互通有無,一起彌補跨行業(yè)升筏、跨學科的知識積累撑柔。前期主要以對OHDSI在github上的開源工作進行翻譯、交流您访、學習為主乏冀,并會對醫(yī)療大數(shù)據(jù)、醫(yī)學統(tǒng)計學洋只、生物信息學等學科知識建立學習互助、互督的機制昼捍。有興趣的請看文檔识虚,微信群二維碼在內(nèi):OHDSI中文興趣小組共識&OHDSI介紹

OHDSI秉持開源、開放的宗旨妒茬,加快全球醫(yī)學數(shù)據(jù)研究的步伐担锤,本文內(nèi)容原創(chuàng)來自Github(https://github.com/OHDSI/CommonDataModel/wiki),若有利益沖突乍钻,請在本頁面留言肛循,真-侵刪铭腕。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市多糠,隨后出現(xiàn)的幾起案子累舷,更是在濱河造成了極大的恐慌,老刑警劉巖夹孔,帶你破解...
    沈念sama閱讀 219,427評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件被盈,死亡現(xiàn)場離奇詭異,居然都是意外死亡搭伤,警方通過查閱死者的電腦和手機只怎,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,551評論 3 395
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來怜俐,“玉大人身堡,你說我怎么就攤上這事∨睦穑” “怎么了贴谎?”我有些...
    開封第一講書人閱讀 165,747評論 0 356
  • 文/不壞的土叔 我叫張陵,是天一觀的道長殿漠。 經(jīng)常有香客問我赴精,道長,這世上最難降的妖魔是什么绞幌? 我笑而不...
    開封第一講書人閱讀 58,939評論 1 295
  • 正文 為了忘掉前任蕾哟,我火速辦了婚禮,結(jié)果婚禮上莲蜘,老公的妹妹穿的比我還像新娘谭确。我一直安慰自己,他們只是感情好票渠,可當我...
    茶點故事閱讀 67,955評論 6 392
  • 文/花漫 我一把揭開白布逐哈。 她就那樣靜靜地躺著,像睡著了一般问顷。 火紅的嫁衣襯著肌膚如雪昂秃。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,737評論 1 305
  • 那天杜窄,我揣著相機與錄音肠骆,去河邊找鬼。 笑死塞耕,一個胖子當著我的面吹牛蚀腿,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播扫外,決...
    沈念sama閱讀 40,448評論 3 420
  • 文/蒼蘭香墨 我猛地睜開眼莉钙,長吁一口氣:“原來是場噩夢啊……” “哼廓脆!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起磁玉,我...
    開封第一講書人閱讀 39,352評論 0 276
  • 序言:老撾萬榮一對情侶失蹤停忿,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后蜀涨,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體瞎嬉,經(jīng)...
    沈念sama閱讀 45,834評論 1 317
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,992評論 3 338
  • 正文 我和宋清朗相戀三年厚柳,在試婚紗的時候發(fā)現(xiàn)自己被綠了氧枣。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 40,133評論 1 351
  • 序言:一個原本活蹦亂跳的男人離奇死亡别垮,死狀恐怖便监,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情碳想,我是刑警寧澤烧董,帶...
    沈念sama閱讀 35,815評論 5 346
  • 正文 年R本政府宣布,位于F島的核電站胧奔,受9級特大地震影響逊移,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜龙填,卻給世界環(huán)境...
    茶點故事閱讀 41,477評論 3 331
  • 文/蒙蒙 一胳泉、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧岩遗,春花似錦扇商、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,022評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至梆靖,卻和暖如春控汉,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背返吻。 一陣腳步聲響...
    開封第一講書人閱讀 33,147評論 1 272
  • 我被黑心中介騙來泰國打工暇番, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人思喊。 一個月前我還...
    沈念sama閱讀 48,398評論 3 373
  • 正文 我出身青樓,卻偏偏與公主長得像次酌,于是被迫代替她去往敵國和親恨课。 傳聞我的和親對象是個殘疾皇子舆乔,可洞房花燭夜當晚...
    茶點故事閱讀 45,077評論 2 355

推薦閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,336評論 0 10
  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 9,511評論 0 23
  • 財富獎勵:購物 財富獎勵規(guī)則: 1.顯化3000元現(xiàn)金 2.顯化5個落地輔導 3.顯化1個內(nèi)部學員 親愛的天使,去...
    吸引力修煉閱讀 112評論 0 0
  • 第一次參加農(nóng)村的葬禮剂公,應該說比較完整的第一次參加希俩。 一個自家親戚,盡管我不認識纲辽,因為很少回村颜武,小時候不在村里長大,...
    萌二君閱讀 590評論 0 1
  • 一個拖吼,生活在普通家庭的女孩鳞上。卻有著一個別人想都不敢想的夢想--演員。還有著一些奇怪的想法和一些不平凡的經(jīng)歷吊档。 這個...
    Smiling晴閱讀 283評論 2 1