Giter Site home page Giter Site logo

compass-implementation-guide's People

Contributors

alena456 avatar johannesoehm avatar mbastian93 avatar me-d4l avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jferriol

compass-implementation-guide's Issues

Suggestions for Questionnaire versioning documentation

Current text

Questionnaire-IDs and Versioning

Besides the technical identifiers, which are stored in Questionnaire.id and Questionnaire.identifier, there is another "world-wide unique" identifier per Questionnaire, called Questionnaire.url. Often, the metadata (Questionnaire) is changed during the data capturing process. Therefore, FHIR provides the Questionnaire.version field to version metadata. Please note that this version is different from Questionnaire.meta.versionId, which corresponds to the FHIR repositories internal versioning.

The QuestionnaireResponse references its corresponding Questionnaire by QuestionnaireResponse.questionnaire, which is a canonical url. Its value MUST correspond to Questionnaire.url. The FHIR standard allows appending the version to a canonical url by seperating it with a pipe (|) character. If you follow this implementation guide, QuestionnaireResponse.questionnaire should always contain also Questionnaire.version.

  1. The documentation of canonical URLs makes it clear that canonicals are the preferred way to refer resources that have one: "The canonical URL is the preferred way to reference a resource instance for the resource types on which it is defined." (emphasis in the original). Accordingly, I think it would be good to make it clear. that this is the main way to refer to the questionnaire (and move the fact that it's a canonical URL (with link to the documentation) to this first section, so readers become aware of this term and know where to find the meaning)
  2. The current text says: "Often, the metadata (Questionnaire) is changed during the data capturing process. Therefore, FHIR provides the Questionnaire.version field to version metadata." I don't quite understand this usage of the term "metadata" here. I would not consider Questionnaire content - the questions, allowed answers etc. - meta-data, since they are actually the data that define the questionnaire. In that context, meta-data would only be things like Questionnaire.version, Questionnaire.publisher etc. that provide context. Even if the current usage may reflect current usage specifically within the NUM-COMPASS project, I think it will be confusing to people coming from the outside or from a general FHIR-background. Likewise, the changes to be tracked with version are typically actual changes in the questions etc. themselves, i.e. in the core data of the questionnaire. Accordingly, I would rephrase these sentences without using the term "metadata", e.g. "Often, questionnaires are updated while the data capturing process is already ongoing. Therefore, FHIR provides the Questionnaire.version field to version Questionnaire resources, allowing users to distinguish between different version of the same questionnaire."
  3. I think the last paragraph would be clearer if the rules are collected at the end, e.g. smt. like: "The QuestionnaireResponse references its corresponding Questionnaire by QuestionnaireResponse.questionnaire, which is a canonical url. The FHIR standard allows appending the version to a canonical url by separating it with a pipe (|) character. Implementers following this implementation guide MUST put the Questionnaire.url with the appended Questionnaire.version. in QuestionnaireResponse.questionnaire."
  4. If the Questionnaire version must be added to the URL, I suppose it implies that Questionnaire.version must also always be filled in Questionnaire. If so, I guess that should be added to the documentation. Alternatively, if the version is not required to be set, one would have to change the above to say that the version must be added if it is set in Questionnaire.

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.