@arkhn/fhir.ts
Advanced tools
Comparing version 1.0.0 to 2.0.0
{ | ||
"name": "@arkhn/fhir.ts", | ||
"private": false, | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Open source typescript library providing FHIR utilities", | ||
@@ -9,3 +9,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsc --project tsconfig.build.json", | ||
"lint": "eslint ./src/**/*.ts", | ||
@@ -12,0 +12,0 @@ "release": "semantic-release", |
@@ -118,3 +118,3 @@ import { structurize, isChildOf } from 'definition' | ||
it('handles slices (snapshot', () => { | ||
it('handles slices (snapshot)', () => { | ||
const structured = structurize(definitionWithSlices.resource) | ||
@@ -121,0 +121,0 @@ |
@@ -42,3 +42,3 @@ { | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a", | ||
"min": 0, | ||
@@ -60,3 +60,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a", | ||
"min": 0, | ||
@@ -77,3 +77,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a.b", | ||
"min": 0, | ||
@@ -80,0 +80,0 @@ "max": "1" |
@@ -37,2 +37,34 @@ { | ||
{ | ||
"id": "Mock.id", | ||
"path": "Mock.id", | ||
"min": 0, | ||
"max": "1", | ||
"base": { | ||
"path": "Resource.id", | ||
"min": 0, | ||
"max": "1" | ||
}, | ||
"type": [ | ||
{ | ||
"code": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Mock.extension", | ||
"path": "Mock.extension", | ||
"min": 0, | ||
"max": "1", | ||
"base": { | ||
"path": "Resource.extension", | ||
"min": 0, | ||
"max": "1" | ||
}, | ||
"type": [ | ||
{ | ||
"code": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Mock.a", | ||
@@ -43,3 +75,3 @@ "path": "Mock.a", | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a", | ||
"min": 0, | ||
@@ -60,3 +92,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a.b", | ||
"min": 0, | ||
@@ -77,3 +109,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a.b.c", | ||
"min": 0, | ||
@@ -94,3 +126,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.a.d", | ||
"min": 0, | ||
@@ -111,3 +143,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.e", | ||
"min": 0, | ||
@@ -128,3 +160,3 @@ "max": "1" | ||
"base": { | ||
"path": "Resource.id", | ||
"path": "Mock.e.f", | ||
"min": 0, | ||
@@ -131,0 +163,0 @@ "max": "1" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20
0
417175
5233