InformaticsGenomicMedicine / DraftCoreDataModel

Draft of CoreDataModel
Apache License 2.0
0 stars 0 forks source link

Target package organization #16

Open rrfreimuth opened 1 year ago

rrfreimuth commented 1 year ago

In order to keep organized as things scale, we need to structure the packages a little differently.

Each online resource should have an interface class:

Each format should have a class:

Additional classes (future):

rrfreimuth commented 1 year ago

@SalemBajjali Scan through the issues I just created so you get an idea of what is there. Address the issues as they pertain to the classes in the order given below.

Work from the top-down in the list above. Begin with the 2 interface classes since they should just need a bit of cut/paste from what you already have. Then check the VRS packages to see if they have everything we need as per above.

Let me know when you start on the HGVS package because I want to make sure we're on the same page regarding implementation (subclass/extension/wrapping).

The SPDI class should be straightforward.

Once those are done (hopefully it won't take very long) we can hit the gen std core class again. The guts of it shouldn't change much (see existing code and the associated issues I created tonight), and the methods for to_spdi/hgvs/vrs should be mostly pass throughs. The ingest method might take a bit of work but if we're using the pre-built objects it might be easier than taking strings.

While you're doing this I'll work with Jeff on the db schema, so it should be up and running by the time you start thinking about the core db interface class. You can take what you already have for that and update it as needed, then test it against the db he creates.

At that point we'll be ready to load some data and do some testing.

We'll do the FHIR classes last, of course.