Giter VIP home page Giter VIP logo

Comments (5)

ehrscape avatar ehrscape commented on May 27, 2024

Default for EHR_STATUS.subject is PARTY_SELF - do you think it is sufficient to reword this text to:

When provided it will also be created as part of the same request, otherwise default EHR_STATUS will be created automatically by the service with the following defaults:

is_queryable: true
is_modifiable: true
subject: PARTY_SELF

All other attributes will be left empty (null).

from specifications-its-rest.

serefarikan avatar serefarikan commented on May 27, 2024

@ehrscape yes, that deals with the issue.

Do you think it would be worth suggesting a REST specific set of values for mandatory fields inherited from LOCATABLE? EHR_STATUS should also have a name and an attribute id,

The spec could either suggest values for these, or express that these values should be assigned by the implementing back-end.

If you think about it, "all other attributes will be left empty (null)" should not include name and archetype id.

from specifications-its-rest.

bostjanl avatar bostjanl commented on May 27, 2024

Sorry, realized I am using the wrong half of my split personality ;-)

It will be a real pain to list all of these attributes, how about something like:
When provided it will also be created as part of the same request, otherwise default EHR_STATUS will be created automatically by the service with the following defaults:

is_queryable: true
is_modifiable: true

All other attributes will be created as needed by the backend.

from specifications-its-rest.

serefarikan avatar serefarikan commented on May 27, 2024

I think as long as there is a clear statement that allows implementers understands what to do, all is well. may I suggest the slightly amended version:

All other attributes will be created as needed by the backend to ensure that a valid RM type instance is created.

(I'm a bit explicit when it comes to instructions, your version is just fine too..)

from specifications-its-rest.

bostjanl avatar bostjanl commented on May 27, 2024

I love it! Will reword like you suggest.

from specifications-its-rest.

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.