{
  "name": "@openfn/language-fhir-4",
  "label": "FHIR r4",
  "version": "0.5.3",
  "description": "OpenFn FHIR r4 adaptor",
  "author": "Open Function Group",
  "license": "LGPLv3",
  "type": "module",
  "fhir": {
    "specUrl": "https://hl7.org/fhir/R4B/definitions.json.zip",
    "adaptorGeneratedDate": "2026-04-17T08:28:36.946Z",
    "generatorVersion": "0.7.8",
    "options": {
      "simpleBuilders": true
    }
  },
  "dependencies": {
    "@swc/core": "^1.10.9",
    "@types/fhir": "^0.0.41",
    "fhir": "^4.12.0",
    "lodash-es": "^4.18.1",
    "swc-loader": "^0.2.6",
    "tsx": "^4.19.2",
    "@openfn/language-common": "3.3.2"
  },
  "devDependencies": {
    "@types/mocha": "^10.0.10",
    "assertion-error": "2.0.0",
    "chai": "4.3.6",
    "deep-eql": "4.1.1",
    "mocha": "^10.7.3",
    "rimraf": "3.0.2",
    "ts-node": "10.9.1",
    "typescript": "5.9.2",
    "undici": "^7.24.7"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/openfn/adaptors.git"
  },
  "types": "types/index.d.ts",
  "main": "dist/index.cjs",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./types/index.d.ts",
      "require": "./dist/index.cjs"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist/",
    "types/",
    "ast.json",
    "configuration-schema.json"
  ],
  "scripts": {
    "build": "pnpm clean && build-adaptor fhir-4 src docs",
    "build:src": "pnpm generate-fhir fhir-4",
    "build:spec": "pnpm generate-fhir fhir-4 --respec",
    "test": "TS_NODE_TRANSPILE_ONLY=true mocha  --experimental-specifier-resolution=node --no-warnings --loader=ts-node/esm test/**/*.test.ts",
    "test:watch": "mocha -w --experimental-specifier-resolution=node --no-warnings",
    "clean": "rimraf dist docs",
    "clean:gen": "rimraf src/profiles test/resources",
    "pack": "pnpm pack --pack-destination ../../dist"
  }
}