<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302846#M2090</link>
    <description>Sorry, but what are you talking about?</description>
    <pubDate>Thu, 06 Oct 2016 06:14:23 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-10-06T06:14:23Z</dc:date>
    <item>
      <title>--TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302836#M2089</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to populate --TESTCD for the NOT DONE records in an SDTM dataset. eg.&lt;/P&gt;&lt;P&gt;in VS dataset per subject if there are 5 parameters out of which if one is not done then the TESTCD should be of that parameter and VSSTAT=NOT DONE. However for this visit if all parameters are NOT DONE then the entire panerfor that visit per subject should be collapsed to 1record with VSTESTCD=VSALL. How can this be done using SAS? Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 04:50:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302836#M2089</guid>
      <dc:creator>Hsas</dc:creator>
      <dc:date>2016-10-06T04:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302846#M2090</link>
      <description>Sorry, but what are you talking about?</description>
      <pubDate>Thu, 06 Oct 2016 06:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302846#M2090</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-10-06T06:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302852#M2091</link>
      <description>&lt;P&gt;Is this in SAS Clinical?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 06:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302852#M2091</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-06T06:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302855#M2092</link>
      <description>&lt;P&gt;Yes in SDTM clinical SAS.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 07:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302855#M2092</guid>
      <dc:creator>Hsas</dc:creator>
      <dc:date>2016-10-06T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302857#M2093</link>
      <description>&lt;P&gt;I've moved your post to the Healthcare forum. That said there aren't a lot of people who use this particular application on here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would highly recommend contacting SAS Tech Support. That's what you pay them for after all&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 07:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302857#M2093</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-06T07:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302858#M2094</link>
      <description>&lt;P&gt;ok thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 07:20:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302858#M2094</guid>
      <dc:creator>Hsas</dc:creator>
      <dc:date>2016-10-06T07:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302873#M2095</link>
      <description>&lt;P&gt;Well, if you can code its pretty simple:&lt;/P&gt;
&lt;PRE&gt;data have;
  length usubjid vstestcd vsstatus $20;
  usubjid="001"; vstestcd="PULSE"; vsstatus=""; output;
  usubjid="001"; vstestcd="HEIGHT"; vsstatus=""; output;
  usubjid="002"; vstestcd="PULSE"; vsstatus="NOT DONE"; output;
  usubjid="002"; vstestcd="HEIGHT"; vsstatus="NOT DONE"; output;
run;

proc sql;
  create table WANT as
  select  *
  from    HAVE
  where   USUBJID not in (select distinct USUBJID from (select * from HAVE where VSSTATUS="NOT DONE") group by USUBJID having count(*)=2)
  union all
  select  distinct
          USUBJID,
          "VSALL" as VSTESTCD,
          VSSTATUS
  from    HAVE
  where   USUBJID in (select distinct USUBJID from (select * from HAVE where VSSTATUS="NOT DONE") group by USUBJID having count(*)=2);
quit;&lt;/PRE&gt;
&lt;P&gt;Obviously change it to match your data.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 08:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/302873#M2095</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-06T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: --TESTCD XXALL for NOT DONE records in Findings SDTM dataset</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/303922#M2096</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 03:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/TESTCD-XXALL-for-NOT-DONE-records-in-Findings-SDTM-dataset/m-p/303922#M2096</guid>
      <dc:creator>Hsas</dc:creator>
      <dc:date>2016-10-12T03:03:54Z</dc:date>
    </item>
  </channel>
</rss>

