To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/BN1PR02MB021844104D4494FDF7E9E2C93040%40BN1PR02MB021.namprd02.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
I do think that most usages take a simple form, and therefore we could start with this simple pattern:
- UUID
- DisplayName
This makes it clear that any reference data I might store as a service is a persisted entity in reference data (UUID), and then gives common meta-data that most entities have: a display name aimed at the user. Moving beyond this we might add displayOrder for when we typically want to show items in drop down lists or as part of form elements - and it can hide reference data's implementation of display order when the resultant set is a combination of different entities display orders (e.g. product category and facility type approved product on the requisition form). We could also easily reason about and implement equals() and compareable This would need some more thought, but I do think we should stick to keeping the representations that are universally shared and referenced simpler overall as it'll keep our expectations clear, simplify our general strategy for caching and most importantly ensure we're tending toward a higher degree for separation of concerns - a key goal of the re-architecture.
When we really need more complete representations, I think we'd be explicit about that type in the context (service) that it's needed, and not necessarily as a shared library among all services.
Best,
Josh
>email to openlmis-dev+unsubscribe@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/579B5D06.3020403%40soldevel
>o.com.
>For more options, visit https://groups.google.com/d/optout.
>
>--
>You received this message because you are subscribed to the Google Groups
>"OpenLMIS Dev" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to openlmis-dev+unsubscribe@googlegroups.com.
>email to openlmis-dev...@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/579B5D06.3020403%40soldevel
>o.com.
>For more options, visit https://groups.google.com/d/optout.
>
>--
>You received this message because you are subscribed to the Google Groups
>"OpenLMIS Dev" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to openlmis-dev...@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/BN1PR02MB021844104D4494FDF7
>E9E2C93040%40BN1PR02MB021.namprd02.prod.outlook.com.
>For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9c2dd9b7-a89b-455c-b359-05b4cca588ac%40googlegroups.com.
>email to openlmis-dev+unsubscribe@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/579B5D06.3020403%40soldevel
>o.com.
>For more options, visit https://groups.google.com/d/optout.
>
>--
>You received this message because you are subscribed to the Google Groups
>"OpenLMIS Dev" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to openlmis-dev+unsubscribe@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/BN1PR02MB021844104D4494FDF7
>E9E2C93040%40BN1PR02MB021.namprd02.prod.outlook.com.
>For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9c2dd9b7-a89b-455c-b359-05b4cca588ac%40googlegroups.com.
Hello,
just wanted to bump this and clarify some things since we are
moving the reference data to it's own separate service and
currently connecting the two. Do we have a final decision on how
reference data should be represented on the side of requisitions?
From what I understand the idea is to store the id and
display-name of the reference data object (for example a program)
in the requisition database. We will have an automagic solution on
the side of requisitions, so that calling getProgram() on a
requisition will retrieve that program from the reference data
service.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e1d3e484-c8c0-445d-8e07-c37b5be38557%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e1d3e484-c8c0-445d-8e07-c37b5be38557%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9a63a20a-93d6-cf5a-65c2-f1bdd560e5d9%40soldevelo.com.
>email to openlmis-dev...@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/579B5D06.3020403%40soldevel
>o.com.
>For more options, visit https://groups.google.com/d/optout.
>
>--
>You received this message because you are subscribed to the Google Groups
>"OpenLMIS Dev" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to openlmis-dev...@googlegroups.com.
>To post to this group, send email to openlm...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/openlmis-dev/BN1PR02MB021844104D4494FDF7
>E9E2C93040%40BN1PR02MB021.namprd02.prod.outlook.com.
>For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9c2dd9b7-a89b-455c-b359-05b4cca588ac%40googlegroups.com.
--
Darius JazayeriPrincipal Architect - Global Health
- djaz...@thoughtworks.com
- Telephone
- +1 617 383 9369
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e1d3e484-c8c0-445d-8e07-c37b5be38557%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/9a63a20a-93d6-cf5a-65c2-f1bdd560e5d9%40soldevelo.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e7935192-071c-4d5a-a048-62c5051773c8%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e7935192-071c-4d5a-a048-62c5051773c8%40googlegroups.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/5d6d2b5d-2f53-439a-ab80-4cd9dcc0f433%40googlegroups.com.