Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Query Question

    That was my fear. Thanks for your help.

  • RE: Query Question

    Each patient can only have 9 diagnosis. The table is structured like I this.
    Admission.Diagnosis9_1 to Admission.Diagnosis9_9
    I cannot make changes to any structures, just hoping someone may have an idea.

  • RE: Query Question

    Unfortunately, I cannot make changes to the database. We did not develop it.

  • RE: Query Question

    SELECT   dbo.mdhomadm.Patient_Number, dbo.mdhomadm.Diagnosis9_1, dbo.mdhomadm.Diagnosis9_2, dbo.mdhomadm.Diagnosis9_3, dbo.mdhomadm.Diagnosis9_4, dbo.mdhomadm.Diagnosis9_5,
             dbo.mdhomadm.Diagnosis9_6, dbo.mdhomadm.Diagnosis9_7, dbo.mdhomadm.Diagnosis9_8, dbo.mdhomadm.Diagnosis9_9, dbo.mdicdcde.ICD_Code_Description
    FROM    dbo.mdhomadm LEFT OUTER JOIN
             dbo.mdicdcde ON dbo.mdhomadm.Diagnosis9_1 = dbo.mdicdcde.ICD_Code

    Each patient may have...

  • RE: Query for work shift differential

    You Rock!!

    Thank you for your help. I had to tweak it a little in order to get the minutes but just getting the first part was tremendously helpful.

    Thanks again,

    Doug

Viewing 5 posts - 1 through 5 (of 5 total)