Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Consider using SchemaBlocks as payload #298

Open
mfiume opened this issue Mar 20, 2020 · 3 comments
Open

Consider using SchemaBlocks as payload #298

mfiume opened this issue Mar 20, 2020 · 3 comments

Comments

@mfiume
Copy link
Contributor

mfiume commented Mar 20, 2020

For clinical and other kinds of beacons (e.g. an infectious disease beacon we created), it is difficult to return structured data (e.g. patient records) as a flat list of string-only key-value pairs via the info property. Can we consider leveraging SchemaBlocks as a way to return custom or standardized data models in the Beacon payload?

@mbaudis @jfuerth @mcupak

@mbaudis
Copy link
Member

mbaudis commented Mar 20, 2020

@mfiume The currently working way would be to use a handover item (i.e. link object) to point to a data file/stream. You could stick with GA4GH specs by providing then the clinical ... etc. data as phenopackets (or FHIR .... etc.; anything with a GA4GH blessed standard).

IMO the next step for authenticated Beacons v2 is to provide phenopackets directly in a response; I'm not a fan of this (i.e. any direct response which goes beyond variant data), conceptually, but maybe.

Now, if there are other standards blessed by GA4GH, you can push them to an {S}[B] repo; and then they become "reusable", e.g. for Beacon responses (so v2 supports this kind of payload).

@jrambla
Copy link
Collaborator

jrambla commented Mar 20, 2020 via email

@mbaudis
Copy link
Member

mbaudis commented Mar 24, 2020

@mfiume Also with regards to yesterday's call - Some of the issues (e.g. what data v2 is supposed to support in protocol, how you can already use {S}[B] for payload formatting…) are already being addressed; so it is just a question of exploring the documentation & if needed discuss specific needs, improvements, changes:

So I think a bit of "proactive alignment" could drive things nicely - challenge & improve what is being developed at the default standard repos!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants