Coder Social home page Coder Social logo

fhir_dstu2_models's People

Contributors

360dgries avatar andrequina avatar arscan avatar asross avatar dehall avatar dependabot[bot] avatar etiennedepaulis avatar jammjammjamm avatar jawalonoski avatar jmandel avatar jtferns avatar radamson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fhir_dstu2_models's Issues

Add license?

Hi -- I'm building a list of licenses that the software my company uses, and I'm using some software to do so -- Pivotal's license_finder (https://github.com/pivotal/LicenseFinder).

I see that refer to your Apache license in the README, but the software would pick up the license if you added a LICENSE file with the Apache text. Here's how to do it. (I might normally do a pull request for this, but it strikes me as something a repo owner would want to do herself.)

https://docs.github.com/en/github/building-a-strong-community/adding-a-license-to-a-repository

Extra search parameters defined

For example: Appointment
Code:
https://github.com/fhir-crucible/fhir_dstu2_models/blob/master/lib/fhir_dstu2_models/fhir/resources/AppointmentResponse.rb#L8

Spec: https://www.hl7.org/fhir/DSTU2/appointment.html#search
There shouldn't be an 'appointment' parameter.

Similar issues with other resources:

  • Device:
    parent, source, category, parent, device, subject, etc

  • Communication:
    priority, requested, requester, time

  • Immunization:
    dose-number, information, support, vaccine-type

  • Medication:
    destination, dispenser, identifier, medication, patient, prescription, receiver, responsibleparty, status, type, whenhandedover, whenprepared, effectivedate, identifier, medication, patient, source, status, device, effectivetime, encounter, identifier, medication, notgiven, patient, practitioner, prescription, status, datewritten, encounter, identifier, medication, patient, prescriber, status

  • Procedure:
    orderer

  • Questionnaire:
    author, authored, encounter, patient, questionnaire, source, subject

  • Order:
    code, fulfillment, request, who, additive, datetime, encounter, formula, oraldiet, provider, status, supplement, code, datewritten, encounter, medication, prescriber, status, actor, bodysite, code, encounter, event-date, event-status, item-date, item-past-status, item-status, orderer, specimen, status

It looks like the code to generate the definition from the spec does a prefix match for the resource name, instead of an exact string match.
For example, the parameters for Questionnaire accidentally includes the parameters for QuestionnaireResposne

Without Mongoid

Is it possible to use this gem without mongoid? If not, would it be difficult rebuild the models without including Mongoid mixins or stripping those out? Would they still work?

Or to phrase my question differently: Why do all models have this line include Mongoid::Document?

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.