• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Altering EOModel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Altering EOModel


  • Subject: Re: Altering EOModel
  • From: John Ours <email@hidden>
  • Date: Mon, 19 Jan 2009 14:50:34 -0500


On Jan 19, 2009, at 2:33 PM, Stavros Panidis wrote:

my customer is a major department in a public hospital. Each time they decide to perform an experiment and take in account different measurements. No one can predict this. So they need to have the ability to create and/or alter existing tables.



Hi Stavros,

We do a lot of similar systems for healthcare and the situation you're describing is fairly typical, especially when dealing with clinical data. I agree with Suzanne though, implementing it by changing the underlying tables is a recipe for trouble. Too many other pieces like validation, reports, data feeds, data cubes, etc get really complicated when the schema starts changing and the data gets ragged.

Typically we'd start to model this problem with a metadata structure like a Procedure entity (the header record), an Aspect entity (things that can be measured in a procedure, valid ranges, expected data types), and a ProcedureAspect entity (the value of a given Aspect for a Procedure).

Adding entries to the Aspect table is akin to changing the database schema...it defines which attributes you expect for a Procedure...and that's easily done at runtime.

-John




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Altering EOModel
      • From: "Elim PDT" <email@hidden>
    • Re: Altering EOModel
      • From: Susanne Schneider <email@hidden>
References: 
 >Re: Altering EOModel (From: Susanne Schneider <email@hidden>)
 >Re: Altering EOModel (From: Stavros Panidis <email@hidden>)

  • Prev by Date: Re: Altering EOModel
  • Next by Date: Re: Eclipse/WOLips not seeing multiple databases
  • Previous by thread: Re: Altering EOModel
  • Next by thread: Re: Altering EOModel
  • Index(es):
    • Date
    • Thread