Git Product home page Git Product logo

Comments (4)

isparks avatar isparks commented on June 13, 2024

You have nested folders which are a bit tricky with RWS. Here's an example that is putting some data into an AE form inside a top-level VISIT1 folder (repeat 1 of that folder) and AE_FOLDER[4] inside that visit1 so a structure like this:

\VISIT1\
              \AE_FOLDER[1]\AE...
              \AE_FOLDER[2]\AE...
              \AE_FOLDER[3]\AE...
              \AE_FOLDER[4]\AE...  <-- Updating this one

As I said, nested folders are not easy to deal with but I hope this helps.

<?xml version="1.0" encoding="UTF-8"?>
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.3" xmlns:mdsol="http://www.mdsol.com/ns/odm/metadata" ODMVersion="1.3" FileType="Transactional" CreationDateTime="2020-10-02T17:12:29" Originator="TrialGrid" FileOID="9b6d9518-5e77-409b-a8db-206a39092b3c" Granularity="AllClinicalData">
  <ClinicalData MetaDataVersionOID="1" StudyOID="TG_TEST (Dev)">
    <SubjectData SubjectKey="a0422cea-4715-4089-b4d0-dccff9193f9b" mdsol:SubjectKeyType="SubjectUUID" TransactionType="Update">
      <SiteRef LocationOID="CM100"/>
      <StudyEventData StudyEventOID="AE_FOLDER" TransactionType="Update" StudyEventRepeatKey="VISIT1[1]/AE_FOLDER[4]">
        <FormData FormOID="AE" TransactionType="Update" FormRepeatKey="1">
          <ItemGroupData ItemGroupOID="AE" TransactionType="Upsert" ItemGroupRepeatKey="1" mdsol:Submission="WholeItemGroup"/>
          <ItemGroupData ItemGroupOID="AE" ItemGroupRepeatKey="1" mdsol:Submission="WholeItemGroup">
            <ItemData ItemOID="AETERM" TransactionType="Update" Value="HEADACHE"/>
          </ItemGroupData>
        </FormData>
      </StudyEventData>
    </SubjectData>
  </ClinicalData>
</ODM>

from rwslib.

vagarwal77 avatar vagarwal77 commented on June 13, 2024

Thanks @isparks for your all the guidance.

How i know this indexing (1 and 4) - VISIT1[1]/AE_FOLDER[4] ?

I still feel that version_folder_request endpoint should provide this information.

from rwslib.

glow-mdsol avatar glow-mdsol commented on June 13, 2024

This is partly the fault of the ODM itself. Version 1 can't be nested and there's no complementary structure to a folder. We've added StudyEventGroup to the ODM v2 version (that can be nested). Things like the version_folder_request dataset were created for a reasonably constrained set of use cases so there's likely to be some edges there. It's a case of knowing the pattern and how it's adopted and working around it.

from rwslib.

glow-mdsol avatar glow-mdsol commented on June 13, 2024

Closing this.

from rwslib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.