Coder Social home page Coder Social logo

Comments (11)

p2-apple avatar p2-apple commented on August 23, 2024 5

I do agree that it makes sense to align with what we're adding in capabilities, which is health-cards. I'm also thinking we can drop the "VC" part because we're issuing health cards, which are VCs. What I like with the existing proposal is the implicit namespacing using the period, so something like $health-cards.issue seems preferable to me.

from health-cards.

jmandel avatar jmandel commented on August 23, 2024 4

Please respond to this comment with a thumbs-up if you'd like to rename $HealthWallet.issueVc to $health-cards-issue.

  • Feel free to add another comment with an alternative proposal (try to keep the comment brief/narrow so we can interpret reactions).
  • Vote thumbs-up on as many proposals as you like (i.e., anything you'd be happy with)

from health-cards.

jmandel avatar jmandel commented on August 23, 2024 3

Keep the current name $HealthWallet.issueVc

from health-cards.

jmandel avatar jmandel commented on August 23, 2024

Does FHIR have explicit conventions for naming OperationDefinitions? I see some jurisdiction specific guidance like https://developer.nhs.uk/apis/fhir-policy/naming.html#FHIR-NAME-05 (which uses a mix of capital and lower case letters, for what it's worth) but not universal guidance.

In the examples you listed, the common pattern is verb-noun (e.g., find-matches, submit-data, collect-data), but this is mostly the case when they apply directly to a FHIR resource e.g., Measure/$submit-data), but your proposal is noun-verb -- it's only superficially aligned with the syntax of the FHIR examples.

I'm not sure it's helpful to break current implementations by renaming this operation, especially if there's no ecosystem-wide convention that we'd be aligning to.

from health-cards.

yunwwang avatar yunwwang commented on August 23, 2024

I found it here: https://confluence.hl7.org/display/FHIR/Guide+to+Designing+Resources:

be lowerCamelCase for elements, UpperCamelCase for resources, be lowercase for operations

from health-cards.

jmandel avatar jmandel commented on August 23, 2024

This guidance applies to core FHIR content; it doesn't say much about operations beyond lower-case (as you point out), and different jurisdictions have set different rules. I see a clear cost associated with changing the name of $HealthWallet.issueVc, and I don't see a benefit. Can you clarify the goals of renaming?

from health-cards.

zsura avatar zsura commented on August 23, 2024

I agree that there is a cost associated to renaming the operation but if we do decide to rename it, do we need consider "HealthCard" instead of "HealthWallet". The wallet naming has been dropped everywhere except the operation name.

from health-cards.

yunwwang avatar yunwwang commented on August 23, 2024

My goal is keep consistency with FHIR core naming convention. A possible naming would be $issue-healthcard. I assume another operation missing (for future development) is $verify-healthcard (section https://smarthealth.cards/#presenting-health-cards-to-a-verifier). I am sure what the "cost" is.

from health-cards.

jmandel avatar jmandel commented on August 23, 2024

My goal is keep consistency with FHIR core naming convention.

Given that Health Cards is not part of FHIR core, the value is unclear here. The cost is breaking existing implementations that folks have been working on; if we're going to do so, now is certainly the time! (The cost will only grow.)

Keep in mind that the operation "Grouping" structure ("HealthWallet") is also used in SMART capability discovery; if we changed the operation name, we'd want to change the capability name too.

I very much wouldn't want to make the "common part" a suffix; it should be a prefix, to make the grouping function clear.

@zsura I do agree with your point about the word "wallet". If we were going to rename this operation, I guess I'd want to call it health-cards-issue-vc. Let me try a straw poll; I'll add a follow-up comment with a precise question.

from health-cards.

AlexJonsson avatar AlexJonsson commented on August 23, 2024

healthcard-issuevc

from health-cards.

jmandel avatar jmandel commented on August 23, 2024

$health-cards.issue has the most votes but doesn't meet Yunwei's syntax requirement which kicked off this issue in the first place. I'll go forward with $health-cards-issue

from health-cards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.