fhir-crucible / fhir_dstu2_models Goto Github PK
View Code? Open in Web Editor NEWSnapshot of generated FHIR DSTU2 Ruby Models
License: Apache License 2.0
Snapshot of generated FHIR DSTU2 Ruby Models
License: Apache License 2.0
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
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
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
?
see fhir-crucible/fhir_models#103 for full details
Not sure why mime-types are dependent on versions < 3.0, this causes issues with newer mime-types
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.