Best way to create child nodes from within parent node?

Events happening in the community are now at Drupal community events on www.drupal.org.
f00b3r's picture

I've recently been investigating the possibility of using Drupal for a simple LIMS for our lab. I've looked at the various open-source LIMS options, and everything seems like overkill for our purposes. All I need is simple job tracking as a sample moves between various stages of prep/analysis/QA/QC, and I thought Drupal might fit the bill nicely.

Currently, we rely on paper forms for tracking samples. Technicians fill out a "COC" (Chain of Custody), add samples to it, and the whole COC is moved about the lab.

To duplicate this behavior, I created a content type called COC, and a few various Sample content types, both using CCK. My plan was to craft the Sample content types specific to the analysis, so there's a "ICP Sample" content type, "XRF Sample" content type, etc.

Now, what'd I'd like to do is have "COC" as a parent content type, and all the various "Sample"s as child content types. This is easy enough using CCK and node_reference.

However, the workflow is sort of clunky. A technician has to create Sample content types, then the COC content type, and find all the newly-created Samples to add to the COC.

What would be great is if, when a technician hit the COC "create content link", they would be presented with all of the COC fields, PLUS have the option to add Samples on the fly, from within the body of the COC creation page. Further, it would be awesome to have these various Samples referred to as child nodes from the COC itself.

So far, I've messed around with various modules, and haven't found anything that fits the bill yet. I can't imagine this idea is too foreign for anyone implementing a LIMS in Drupal. Does anyone have any suggestions as to how this might be accomplished?

Thanks for the help!

Comments

Have you looked at the

kostajh's picture

Have you looked at the modules listed here? http://drupal.org/node/679462

Node hierarchy

Rudy van der Blom's picture

Hi,

I've used the "Node Hierarchy" module alot, with sometimes some occasional tweaks to it

http://drupal.org/project/nodehierarchy

I was curious if anything

netentropy's picture

I was curious if anything came of this project as I would like to do something very similar.

Catching Up with the Group

jrdixey's picture

Hi all,

I have been out of the loop for a bit, since I'm unfortunately no longer actively looking to develop a Drupal LIMS, but I want to stay involved to see how things are panning out.

Netentropy, I know it's been a while since you posted but I hope you've perused the group discussions to date - Rudy and others have posted some great guides to putting together a relatively simple LIMS in Drupal.

Ultimately, what I hope to achieve through this group is a cooperative effort at building an install profile for a Drupal LIMS. Anyone who wants to take up that banner can use this group as an organizing point!

Best,

Jennifer Dixey

i like this one

ladyannaross's picture

Thanks for sharing this. Very helpful. I like your blog. Check this out Press Release Service.

For what it's worth, I just

davidneedham's picture

For what it's worth, I just came across https://drupal.org/project/entityconnect and it seems to do this all very well without crazy configuration.

--
David Needham
Team Lead of Training at Datadog

Science Applications

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: