Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

#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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is cost plus pricing ?

Answered: 1 week ago

Question

1. What are the types of wastes that reach water bodies ?

Answered: 1 week ago

Question

Which type of soil has more ability to absorb water?

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago