Answered step by step
Verified Expert Solution
Question
1 Approved Answer
#30-2 Anesthesia events are stored in the ED_IEV_EVENT_INFO table. One row in ED_IEV_EVENT_INFO represents an event. This table can be joined to ED_IEV_PAT_INFO on ED_IEV_EVENT_INFO.EVENT_ID
#30-2 Anesthesia events are stored in the ED_IEV_EVENT_INFO table. One row in ED_IEV_EVENT_INFO represents an event. This table can be joined to ED_IEV_PAT_INFO on ED_IEV_EVENT_INFO.EVENT_ID = ED_IEV_PAT_INFO.EVENT_ID to get information about the patient about whom the event was documented. ED_IEV_EVENT_INFO.EVENT_TYPE identifies the event that took place. ED_IEV_EVENT_INFO.EVENT_TIME stores the date and time the event took place. ED_IEV_PAT_INFO.PAT_ID identifies the patient about whom the event was documented. ED_IEV_PAT_INFO.PAT_CSN identifies the patient contact on which the event was documented. You are writing a query to return one row per patient contact on which anesthesia events were documented, including information about certain events that were documented on that anesthesia contact. Part 2 of 2 For intubation, EVENT_TYPE = 1120000009. Which of the following will return when a patient was intubated for the contact in question? SELECT ONE OF THE FOLLOWING (2 PTS) A. CASE WHEN EVENT_TYPE = 1120000009 THEN MAX( EVENT_TIME) ELSE NULL END B. MAX( CASE WHEN EVENT_TYPE = 1120000009 THEN EVENT_TIME ELSE NULL END ) C. CASE WHEN EVENT_TYPE = 1120000009 THEN NULL ELSE MAX( EVENT_TIME ) END D. MAX( CASE WHEN EVENT_TYPE = 1120000009 THEN NULL ELSE EVENT_TIME END)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started