bluehalo / node-fhir-server-core

An Open Source secure REST implementation for the HL7 FHIR Specification. For API documentation, please see https://github.com/Asymmetrik/node-fhir-server-core/wiki.
https://asymmetrik.com/healthcare
MIT License
391 stars 120 forks source link

Update documentation to reflect breaking changes in 2.1.0 #254

Closed zeevo closed 3 years ago

zeevo commented 3 years ago

resolveSchema has changed in 2.1.0. Let's update the docs.

// Old way
const Patient = require(resolveSchema('4_0_0', 'Patient'))
// New way
const Patient = resolveSchema('4_0_0', 'Patient')