
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@openhi/types
Advanced tools
TypeScript types for FHIR and OpenHI domains. Published as a single npm package from the [OpenHI](https://github.com/codedrifters/openhi) monorepo.
TypeScript types for FHIR and OpenHI domains. Published as a single npm package from the OpenHI monorepo.
FHIR R4 types generated from HL7 FHIR R4 JSON Schemas (e.g. Patient, Bundle, CodeSystem, ValueSet, Resource, DomainResource). Use for EHR and FHIR-aligned APIs. The main entry re-exports all types.
pnpm add @openhi/types
# or
npm install @openhi/types
import type { Patient, Bundle, CodeableConcept } from "@openhi/types";
import type { Patient, HumanName, Identifier } from "@openhi/types";
function formatPatientName(patient: Patient): string {
const name = patient.name?.[0];
return name ? [name.given?.join(" "), name.family].filter(Boolean).join(" ") : "";
}
From the repository root:
pnpm install
pnpm build --filter @openhi/types
pnpm test --filter @openhi/types
From this package directory (packages/@openhi/types):
pnpm install # at repo root first if needed
pnpm run build
pnpm run test
FAQs
TypeScript types for FHIR and OpenHI domains. Published as a single npm package from the [OpenHI](https://github.com/codedrifters/openhi) monorepo.
We found that @openhi/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.