{
  "name": "@records-fhir/validator",
  "version": "0.5.0",
  "description": "Pure-TypeScript FHIR R4/R4B/R5/R6 validation engine. Validates resources against StructureDefinitions, terminology, references, and custom rules with no database required.",
  "type": "module",
  "license": "Apache-2.0",
  "bin": {
    "records-fhir-validator": "dist/cli.js"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/medvertical/records-fhir-validator.git",
    "directory": "packages/validator"
  },
  "homepage": "https://github.com/medvertical/records-fhir-validator/tree/main/packages/validator#readme",
  "keywords": [
    "fhir",
    "validation",
    "fhirpath",
    "fhir-validator",
    "github-actions",
    "structuredefinition",
    "healthcare",
    "interoperability",
    "hl7",
    "mii",
    "ehds"
  ],
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./advisor": {
      "types": "./dist/advisor/index.d.ts",
      "import": "./dist/advisor/index.js"
    },
    "./business-rules": {
      "types": "./dist/business-rules/index.d.ts",
      "import": "./dist/business-rules/index.js"
    },
    "./business-rules/rule-registry": {
      "types": "./dist/business-rules/rule-registry.d.ts",
      "import": "./dist/business-rules/rule-registry.js"
    },
    "./host": {
      "types": "./dist/host/index.d.ts",
      "import": "./dist/host/index.js"
    },
    "./conformance": {
      "types": "./dist/conformance/index.d.ts",
      "import": "./dist/conformance/index.js"
    },
    "./fhir-schema": {
      "types": "./dist/fhir-schema/index.d.ts",
      "import": "./dist/fhir-schema/index.js"
    },
    "./core/batch-utils": {
      "types": "./dist/core/batch-utils.d.ts",
      "import": "./dist/core/batch-utils.js"
    },
    "./core/executors/custom-rule-executor": {
      "types": "./dist/core/executors/custom-rule-executor.d.ts",
      "import": "./dist/core/executors/custom-rule-executor.js"
    },
    "./core/executors/structural-executor-helpers": {
      "types": "./dist/core/executors/structural-executor-helpers.d.ts",
      "import": "./dist/core/executors/structural-executor-helpers.js"
    },
    "./core/operation-outcome-converter": {
      "types": "./dist/core/operation-outcome-converter.d.ts",
      "import": "./dist/core/operation-outcome-converter.js"
    },
    "./core/structure-definition-loader": {
      "types": "./dist/core/structure-definition-loader.d.ts",
      "import": "./dist/core/structure-definition-loader.js"
    },
    "./core/validation-utils": {
      "types": "./dist/core/validation-utils.d.ts",
      "import": "./dist/core/validation-utils.js"
    },
    "./core/validator-engine": {
      "types": "./dist/core/validator-engine.d.ts",
      "import": "./dist/core/validator-engine.js"
    },
    "./package/package-downloader": {
      "types": "./dist/package/package-downloader.d.ts",
      "import": "./dist/package/package-downloader.js"
    },
    "./package-resolver": {
      "types": "./dist/package-resolver/index.d.ts",
      "import": "./dist/package-resolver/index.js"
    },
    "./reference": {
      "types": "./dist/reference/index.d.ts",
      "import": "./dist/reference/index.js"
    },
    "./metadata": {
      "types": "./dist/metadata/index.d.ts",
      "import": "./dist/metadata/index.js"
    },
    "./strictness": {
      "types": "./dist/strictness/index.d.ts",
      "import": "./dist/strictness/index.js"
    },
    "./terminology": {
      "types": "./dist/terminology/index.d.ts",
      "import": "./dist/terminology/index.js"
    },
    "./validators/constraint-validator": {
      "types": "./dist/validators/constraint-validator.d.ts",
      "import": "./dist/validators/constraint-validator.js"
    },
    "./validators/invariant-registry": {
      "types": "./dist/validators/invariant-registry.d.ts",
      "import": "./dist/validators/invariant-registry.js"
    },
    "./validators/fhirpath-sandbox": {
      "types": "./dist/validators/fhirpath-sandbox.d.ts",
      "import": "./dist/validators/fhirpath-sandbox.js"
    },
    "./validators/valueset-cache": {
      "types": "./dist/validators/valueset-cache.d.ts",
      "import": "./dist/validators/valueset-cache.js"
    }
  },
  "scripts": {
    "build": "node ../../scripts/run-typescript-native.mjs -p tsconfig.build.json && tsx ../../scripts/fix-esm-specifiers.ts dist",
    "typecheck": "node ../../scripts/run-typescript-native.mjs -p tsconfig.json --noEmit",
    "prepack": "npm run build",
    "pack:dry": "npm pack --dry-run"
  },
  "dependencies": {
    "@lhncbc/ucum-lhc": "^5.0.0",
    "@records-fhir/validation-types": "^0.1.6",
    "axios": "^1.16.1",
    "date-fns": "^4.4.0",
    "fhirpath": "^4.11.0",
    "tar": "^7.5.16"
  },
  "peerDependencies": {
    "@records-fhir/bundled-profiles": "^0.1.0"
  },
  "peerDependenciesMeta": {
    "@records-fhir/bundled-profiles": {
      "optional": true
    }
  },
  "files": [
    "dist/",
    "examples/",
    "README.md",
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    "SECURITY.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=20.0.0"
  }
}
