Skip to content

Unable to require the reference schema #347

@availity-droo

Description

@availity-droo

Do you want to request a feature, report a bug, or improve documentation?

bug

If you are reporting a bug?

What is the current behavior?
After upgrading from 2.0.10 to 2.2.5 we're unable to resolve the Reference object in the Schema.

const Reference = FHIRServer.resolveSchema('4_0_0', 'reference');

What is the expected behavior?
Class is exported from the index.js file in the resources directory

What are the steps to reproduce?
Try to resolve the reference schema as shown

What OS are you using and what version of node.js and @asymmetrik/node-fhir-server-core are you running?
N/A

We are using the Reference class to explode/rebuild a bundle containing only a composition resource with full URLs to references

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions