PolyForm Shield License 1.0.0

Copyright (c) 2025 TorchLab (https://torchlab.dev)

This software and associated documentation files (the "Software") are
provided under the terms of the PolyForm Shield License 1.0.0, available at:
https://polyformproject.org/licenses/shield/1.0.0

---

# PolyForm Shield License 1.0.0

<https://polyformproject.org/licenses/shield/1.0.0>

## Acceptance

In order to get any license under these terms, you must agree
to them as both strict obligations and conditions to all your
licenses.

## Copyright License

The licensor grants you a copyright license for the software to
do everything you might do with the software that would otherwise
infringe the licensor's copyright in it for any permitted purpose.
However, you may only distribute the software according to
Distribution License and make changes or new works based on the
software according to Changes and New Works License.

## Distribution License

The licensor grants you an additional copyright license to
distribute copies of the software. Your license to distribute
covers distributing the software with changes and new works
permitted by Changes and New Works License.

## Notices

You must ensure that anyone who gets a copy of any part of the
software from you also gets a copy of these terms or the URL for
them above, as well as copies of any plain-text lines beginning
with "Required Notice:" that the licensor provided with the
software. For example:

> Required Notice: Copyright TorchLab (https://torchlab.dev)

## Changes and New Works License

The licensor grants you an additional copyright license to make
changes and new works based on the software for any permitted
purpose.

## Patent License

The licensor grants you a patent license for the software that
covers patent claims the licensor can license, or becomes able to
license, that you would infringe by using the software.

## Permitted Purposes

Any purpose is a permitted purpose, except for Competing Uses.

## Competing Uses

The following are competing uses. Use of the software in or for:

1.  offering any product or service that competes with the
    software or any product or service the licensor or any of its
    affiliates provides using the software

2.  analyzing the software to find competitive insights for
    building products or services that compete with the software
    or with the licensor's products or services using the software

## Personal Use

Personal use for research, experiment, and testing for the
benefit of public knowledge, personal study, private
entertainment, hobby projects, amateur pursuits, or religious
observance, without any anticipated commercial application, does
not count as use for a competing use.

## Noncommercial Organizations

Use by any charitable organization, educational institution,
public research organization, public safety or health
organization, environmental protection organization, or
government institution does not count as use for a competing use
regardless of the use's purpose.

## Defense

If you make any written claim that the software infringes or
contributes to infringement of any patent, your patent license
for the software granted under these terms ends immediately. If
your employer makes such a claim, your patent license ends
immediately for work on behalf of your employer.

## Copyright

The licensor is TorchLab (https://torchlab.dev), and this
copyright notice applies to all copies of the software.

## Violations

The first time you are notified in writing that you have violated
any of these terms, and you come into compliance within 30 days
of notice, your license continues permanently. If you receive a
notice of a violation more than once in any 12-month period, the
grace period in this paragraph does not apply.

## No Other Rights

These terms do not allow you to sublicense or transfer any of
your licenses to anyone else, or prevent the licensor from
granting licenses to anyone else. These terms do not imply any
other licenses.

## No Liability

As far as the law allows, the software comes as is, without any
warranty or condition, and the licensor will not be liable to you
for any damages arising out of these terms or the use or nature
of the software, under any kind of legal claim.

## Definitions

The **licensor** is TorchLab (https://torchlab.dev).

The **software** is the software the licensor makes available
under these terms — specifically, the @torchlab/fhir npm package
and all associated scripts and tooling.

**You** refers to the individual or entity agreeing to these
terms.

**Your company** is any legal entity, sole proprietorship, or
other kind of organization that you work for, plus all
organizations that have control over, are under the control of,
or are under common control with that organization. **Control**
means ownership of substantially all the assets of an entity, or
the power to direct its management and legal affairs.

**Your licenses** are all the licenses granted to you for the
software under these terms.

**Use** means anything you do with the software requiring one of
your licenses.
