myCSG © |Area: SDTM| Concept: PE : Physical Examination | Lesson: L101 : Physical Examination - L101 |

  • Complete key programming of PE domain
  • Programming includes:
    • Derivation of --LOBXFL as per SDTM IG 3.3
    • Study day creation
    • --SEQ variable creation
    • And other general SDTM variables of PE domain

PHYSEXAM : Physical Examination
Question Response
Date of Examination
[PEDAT_RAW]

Body System
[BODSYS]


Cardiovascular
Ear/Nose/Throat
Gastrointestinal
Respiratory
Central Nervous System
Musculoskelatal
Result
[RESULT]


Normal
Abnormal
If Abnormal, specify
[ABNSP]

If Abnormal, clinically signficant?
[CLSIG]


Yes
No



SUPPVARIABLE_NAMEVARIABLE_LABELTYPEGENERAL_COMMENTFORM_PHYSEXAM
_ STUDYID Study Identifier Char Populate as "statschoice"
_ DOMAIN Domain Abbreviation Char Populate as "PE"
_ USUBJID Unique Subject Identifier Char Concatenate STUDYID and SUBJECT with a hyphen in between.
_ PESEQ Sequence Number Num Sort the final dataset by USUBJID, PETESTCD, PEDTC and set to 1 on the first record of the subject and increment by 1 on subsequent records.
_ PETESTCD Body System Examined Short Name Char Populate as "ENT" when PETEST is "Ear/Nose/Throat".
Populate as "CNS" when PETEST is "Central Nervous System".
For other PETEST values, populate with the first eight characters of PETEST in upper case.
_ PETEST Body System Examined Char Populate with the values from BODSYS variable.
_ PEORRES Verbatim Examination Finding Char Populate with the values from RESULT variable.
_ PESTRESC Character Result/Finding in Std Format Char Convert PEORRES to upper case.
_ PELOBXFL Last Observation Before Exposure Flag Char Populate as "Y" on the latest record on or before RFXSTDTC per subject and PETESTCD.
_ VISITNUM Visit Number Num Populate with the value from FOLDERSEQ variable.
_ VISIT Visit Name Char Populate with the value from FOLDERNAME variable.
_ PEDTC Date/Time of Examination Char Populate using PEDAT_RAW after converting to ISO 8601 format.
_ PEDY Study Day of Examination Num Derive study day for PEDTC.
x PEABNSP Abnormal Specify Num Populate using ABNSP variable
x PECLSIG Clinically Significant Num Populate as "Y" when CLSIG is "Yes", else if CLSIG="No" then populate as "N".
Complete SAS code to generate the output is available for registered users!

Already registered! Login
Not registered, you can signup here! Signup

Dont want to register?
You can directly purchase this lesson (code+input data) here


You can purchase this lesson (code+input data) here

If you are looking to purchase subscription for full access to data and programs for all lessons (TASKS+SDTM+ADaM+TFLs), you can send us a message on +91-7330--77--66--49-- on Whatsapp.