{"_id":"@automate-medical/fhir.ts","_rev":"1-a475e05501d07cd251b9af8864b580f8","name":"@automate-medical/fhir.ts","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@automate-medical/fhir.ts","version":"0.0.1","description":"TypeScript definitions for FHIR","main":"types/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepare":"tsc -p src/tsconfig.json && node src/build/index.js","build":"npm run prepare; cd types; tsc -p ./tsconfig.json"},"author":{"name":"Automate Medical Inc."},"license":"MIT","dependencies":{"typescript":"^4.2.4"},"type":"module","devDependencies":{"@types/node":"^15.0.2"},"gitHead":"51e1d9a36c4ebee92b074bf8871b89783d36e2e1","_id":"@automate-medical/fhir.ts@0.0.1","_nodeVersion":"14.16.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-HbDvFAa1uoN8CIT/CQBYXXz950eYtJs7j0hp1/C3g49SbNihLaxbr5B84PSiDoE83/AfIY3wMRYxbMvgEeBKvQ==","shasum":"cceeb2031d1fc90b05ef4a51f384f55192e5b15a","tarball":"https://registry.npmjs.org/@automate-medical/fhir.ts/-/fhir.ts-0.0.1.tgz","fileCount":3101,"unpackedSize":70460117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpvMZCRA9TVsSAnZWagAAorMP/A5B/NMO0pkUIr+P3XOE\n9vfO3vdRYQclccyvchg2QpHw0ok21UitOh3pAblHaAP4wlmFE4Wxxt67uR+F\nL4KB4CfowQ2GoULoU3rcgaJY3jfFFAsQR5Bc0M83tn3Hwac29t0Xwcb9deq+\nVMEI2pKiJlTOri4D93cfYfySKwHMGfvKhPjE9sMFsmpxTrhIq7CE7QuU2gvS\n29lx7nPQ4xPcTGPOxuIk1Qdub15MR1gCxrvGRl6PdmR4bfbvTQiNtxuyiILa\nxr3TLTVD+nMkP8kfGv/53+tgaLpQtF+LaaQs1Q5P2KCP+lglnSwA6gFSktIs\nO1Jxc2PbksD6C33zhO2vYYsrB94ZnpWwTPmCQ64UOarFJekJy4CxLpawPOZU\nbiw2bwRLglp4jWgotz4pY+cE1Ae+qzoEmdrwN2do/+1coqrP1vKVKUHv9Y62\nlruT8A7RQpoGL6qWIhNv0M0WgwTYJLusy46+f3wQtGU8cCbNc0vbdCt1pfix\ngl8/RATUAmJmNM8MCYKN81K01KIE+v8kb/6HOAqNKRqA9cB14Uok3sxgfJ2y\noG6dkgkAISs5QUkeru1gc2jXa6vtOwss26Uk1CX0uyV1hH0xTGuAP6qMmxkD\nOpDnI8WWZjYPkI32PV8a6uHwgF6D1Icj5ogrNiuT0bE0qUu9u6l4z8nsty3y\nS3kT\r\n=INPv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbi4sclLL33Ce2PuGPoAWm4ApoqlQ/MnWEBciIY+vSnAiEA6/KDnjNx5Hy14rYdbvWjojQ87veMLtCqI3lxFMlvcjc="}]},"_npmUser":{"name":"jdjkelly","email":"jdjkelly@gmail.com"},"directories":{},"maintainers":[{"name":"jdjkelly","email":"jdjkelly@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fhir.ts_0.0.1_1621553944537_0.19025389063539233"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-20T23:39:04.234Z","0.0.1":"2021-05-20T23:39:05.118Z","modified":"2022-04-04T16:38:14.455Z"},"maintainers":[{"name":"jdjkelly","email":"jdjkelly@gmail.com"}],"description":"TypeScript definitions for FHIR","author":{"name":"Automate Medical Inc."},"license":"MIT","readme":"# fhir.d.ts\n\nAn npm-published set of TypeScript definitions for Fast Healthcare Interoperability Resources (FHIR).\n\n## Installation and use\n\nInstall this into an existing TypeScript project with:\n\n`npm install @automate-medical/fhir.d.ts`\n\nThe definitions are exported in the root level of the module, by version. You can import the latest _stable_ version by default. You can also import named versions.\n\n`import FHIR from 'fhir.d.ts'`\n`import { R4 as FHIR } from 'fhir.d.ts'`\n\nYou can also import specific versions.\n\n`import { v4_6_0 as FHIR } from 'fhir.d.ts'`\n\nThis library exposes type and interface definitions in TypeScript for all of the elements and resources in FHIR. You can use it in your TypeScript projects to bring type-safety guarantees to your programs that manipulate FHIR documents. We wrote a custom JSON schema parser to achieve this, and to ensure maximum flexibility so that the project can be maintained into the future.\n\n## Features & Roadmap\n\n*Note* This project is semantically versioned. We make no commitments about the stability of our interfaces until 1.0.0.\n\n- [X] Simple translation of JSON Schema definitions to `type` and `interface` definitions\n- [X] Support for `const` values\n- [ ] Support for using named `enum` types instead of `union` types that enumerate field options\n- [ ] Support for `class` definitions instead of interfaces\n- [ ] Public test suite/CICD\n- [X] Support for version 4.0.1 (R4) and latest published 4.6.0\n- [ ] Programatically download JSON Schema definitions for every version of FHIR and export schema\n- [ ] Support definitions for the Graphql definitions provided in 4.6.0+\n- [ ] Define a contributor license agreement\n- [ ] Publish NPM module\n\n## Contributing\n\nBuilding the project can be done with:\n\n`npm run build`\n\nAt present, you must create a directory in the root of the project called `hl7`, inside of which you must create specific fhir.schema.json files for each of the versions you need to build. In the future, the project will download the assets itself.\n\n## License and notice\n\nFHIR® is the registered trademark of HL7 and is used with the permission of HL7.\n\nThe use of the term FHIR is in no way endorsed, or sponsored by, or part of the trademark steward. Automate Medical Inc. truthfully asserts that this project complies with version 4.0.1 and 4.6.0 of the FHIR standard as a matter of fair use.","readmeFilename":"README.md"}