@medplum/core 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1350,8 +1350,6 @@
1350
1350
  display: "Element",
1351
1351
  properties: {
1352
1352
  id: {
1353
- min: 0,
1354
- max: "1",
1355
1353
  type: [
1356
1354
  {
1357
1355
  code: "string"
@@ -1359,7 +1357,6 @@
1359
1357
  ]
1360
1358
  },
1361
1359
  extension: {
1362
- min: 0,
1363
1360
  max: "*",
1364
1361
  type: [
1365
1362
  {
@@ -1373,8 +1370,6 @@
1373
1370
  display: "BackboneElement",
1374
1371
  properties: {
1375
1372
  id: {
1376
- min: 0,
1377
- max: "1",
1378
1373
  type: [
1379
1374
  {
1380
1375
  code: "string"
@@ -1382,7 +1377,6 @@
1382
1377
  ]
1383
1378
  },
1384
1379
  extension: {
1385
- min: 0,
1386
1380
  max: "*",
1387
1381
  type: [
1388
1382
  {
@@ -1391,7 +1385,6 @@
1391
1385
  ]
1392
1386
  },
1393
1387
  modifierExtension: {
1394
- min: 0,
1395
1388
  max: "*",
1396
1389
  type: [
1397
1390
  {
@@ -1405,8 +1398,6 @@
1405
1398
  display: "Address",
1406
1399
  properties: {
1407
1400
  id: {
1408
- min: 0,
1409
- max: "1",
1410
1401
  type: [
1411
1402
  {
1412
1403
  code: "string"
@@ -1414,7 +1405,6 @@
1414
1405
  ]
1415
1406
  },
1416
1407
  extension: {
1417
- min: 0,
1418
1408
  max: "*",
1419
1409
  type: [
1420
1410
  {
@@ -1423,8 +1413,6 @@
1423
1413
  ]
1424
1414
  },
1425
1415
  use: {
1426
- min: 0,
1427
- max: "1",
1428
1416
  type: [
1429
1417
  {
1430
1418
  code: "code"
@@ -1432,8 +1420,6 @@
1432
1420
  ]
1433
1421
  },
1434
1422
  type: {
1435
- min: 0,
1436
- max: "1",
1437
1423
  type: [
1438
1424
  {
1439
1425
  code: "code"
@@ -1441,8 +1427,6 @@
1441
1427
  ]
1442
1428
  },
1443
1429
  text: {
1444
- min: 0,
1445
- max: "1",
1446
1430
  type: [
1447
1431
  {
1448
1432
  code: "string"
@@ -1450,7 +1434,6 @@
1450
1434
  ]
1451
1435
  },
1452
1436
  line: {
1453
- min: 0,
1454
1437
  max: "*",
1455
1438
  type: [
1456
1439
  {
@@ -1459,8 +1442,6 @@
1459
1442
  ]
1460
1443
  },
1461
1444
  city: {
1462
- min: 0,
1463
- max: "1",
1464
1445
  type: [
1465
1446
  {
1466
1447
  code: "string"
@@ -1468,8 +1449,6 @@
1468
1449
  ]
1469
1450
  },
1470
1451
  district: {
1471
- min: 0,
1472
- max: "1",
1473
1452
  type: [
1474
1453
  {
1475
1454
  code: "string"
@@ -1477,8 +1456,6 @@
1477
1456
  ]
1478
1457
  },
1479
1458
  state: {
1480
- min: 0,
1481
- max: "1",
1482
1459
  type: [
1483
1460
  {
1484
1461
  code: "string"
@@ -1486,8 +1463,6 @@
1486
1463
  ]
1487
1464
  },
1488
1465
  postalCode: {
1489
- min: 0,
1490
- max: "1",
1491
1466
  type: [
1492
1467
  {
1493
1468
  code: "string"
@@ -1495,8 +1470,6 @@
1495
1470
  ]
1496
1471
  },
1497
1472
  country: {
1498
- min: 0,
1499
- max: "1",
1500
1473
  type: [
1501
1474
  {
1502
1475
  code: "string"
@@ -1504,8 +1477,6 @@
1504
1477
  ]
1505
1478
  },
1506
1479
  period: {
1507
- min: 0,
1508
- max: "1",
1509
1480
  type: [
1510
1481
  {
1511
1482
  code: "Period"
@@ -1518,8 +1489,6 @@
1518
1489
  display: "Age",
1519
1490
  properties: {
1520
1491
  id: {
1521
- min: 0,
1522
- max: "1",
1523
1492
  type: [
1524
1493
  {
1525
1494
  code: "string"
@@ -1527,7 +1496,6 @@
1527
1496
  ]
1528
1497
  },
1529
1498
  extension: {
1530
- min: 0,
1531
1499
  max: "*",
1532
1500
  type: [
1533
1501
  {
@@ -1536,8 +1504,6 @@
1536
1504
  ]
1537
1505
  },
1538
1506
  value: {
1539
- min: 0,
1540
- max: "1",
1541
1507
  type: [
1542
1508
  {
1543
1509
  code: "decimal"
@@ -1545,8 +1511,6 @@
1545
1511
  ]
1546
1512
  },
1547
1513
  comparator: {
1548
- min: 0,
1549
- max: "1",
1550
1514
  type: [
1551
1515
  {
1552
1516
  code: "code"
@@ -1554,8 +1518,6 @@
1554
1518
  ]
1555
1519
  },
1556
1520
  unit: {
1557
- min: 0,
1558
- max: "1",
1559
1521
  type: [
1560
1522
  {
1561
1523
  code: "string"
@@ -1563,8 +1525,6 @@
1563
1525
  ]
1564
1526
  },
1565
1527
  system: {
1566
- min: 0,
1567
- max: "1",
1568
1528
  type: [
1569
1529
  {
1570
1530
  code: "uri"
@@ -1572,8 +1532,6 @@
1572
1532
  ]
1573
1533
  },
1574
1534
  code: {
1575
- min: 0,
1576
- max: "1",
1577
1535
  type: [
1578
1536
  {
1579
1537
  code: "code"
@@ -1586,8 +1544,6 @@
1586
1544
  display: "Annotation",
1587
1545
  properties: {
1588
1546
  id: {
1589
- min: 0,
1590
- max: "1",
1591
1547
  type: [
1592
1548
  {
1593
1549
  code: "string"
@@ -1595,7 +1551,6 @@
1595
1551
  ]
1596
1552
  },
1597
1553
  extension: {
1598
- min: 0,
1599
1554
  max: "*",
1600
1555
  type: [
1601
1556
  {
@@ -1604,8 +1559,6 @@
1604
1559
  ]
1605
1560
  },
1606
1561
  "author[x]": {
1607
- min: 0,
1608
- max: "1",
1609
1562
  type: [
1610
1563
  {
1611
1564
  code: "Reference",
@@ -1622,8 +1575,6 @@
1622
1575
  ]
1623
1576
  },
1624
1577
  time: {
1625
- min: 0,
1626
- max: "1",
1627
1578
  type: [
1628
1579
  {
1629
1580
  code: "dateTime"
@@ -1632,7 +1583,6 @@
1632
1583
  },
1633
1584
  text: {
1634
1585
  min: 1,
1635
- max: "1",
1636
1586
  type: [
1637
1587
  {
1638
1588
  code: "markdown"
@@ -1645,8 +1595,6 @@
1645
1595
  display: "Attachment",
1646
1596
  properties: {
1647
1597
  id: {
1648
- min: 0,
1649
- max: "1",
1650
1598
  type: [
1651
1599
  {
1652
1600
  code: "string"
@@ -1654,7 +1602,6 @@
1654
1602
  ]
1655
1603
  },
1656
1604
  extension: {
1657
- min: 0,
1658
1605
  max: "*",
1659
1606
  type: [
1660
1607
  {
@@ -1663,8 +1610,6 @@
1663
1610
  ]
1664
1611
  },
1665
1612
  contentType: {
1666
- min: 0,
1667
- max: "1",
1668
1613
  type: [
1669
1614
  {
1670
1615
  code: "code"
@@ -1672,8 +1617,6 @@
1672
1617
  ]
1673
1618
  },
1674
1619
  language: {
1675
- min: 0,
1676
- max: "1",
1677
1620
  type: [
1678
1621
  {
1679
1622
  code: "code"
@@ -1681,8 +1624,6 @@
1681
1624
  ]
1682
1625
  },
1683
1626
  data: {
1684
- min: 0,
1685
- max: "1",
1686
1627
  type: [
1687
1628
  {
1688
1629
  code: "base64Binary"
@@ -1690,8 +1631,6 @@
1690
1631
  ]
1691
1632
  },
1692
1633
  url: {
1693
- min: 0,
1694
- max: "1",
1695
1634
  type: [
1696
1635
  {
1697
1636
  code: "url"
@@ -1699,8 +1638,6 @@
1699
1638
  ]
1700
1639
  },
1701
1640
  size: {
1702
- min: 0,
1703
- max: "1",
1704
1641
  type: [
1705
1642
  {
1706
1643
  code: "unsignedInt"
@@ -1708,8 +1645,6 @@
1708
1645
  ]
1709
1646
  },
1710
1647
  hash: {
1711
- min: 0,
1712
- max: "1",
1713
1648
  type: [
1714
1649
  {
1715
1650
  code: "base64Binary"
@@ -1717,8 +1652,6 @@
1717
1652
  ]
1718
1653
  },
1719
1654
  title: {
1720
- min: 0,
1721
- max: "1",
1722
1655
  type: [
1723
1656
  {
1724
1657
  code: "string"
@@ -1726,8 +1659,6 @@
1726
1659
  ]
1727
1660
  },
1728
1661
  creation: {
1729
- min: 0,
1730
- max: "1",
1731
1662
  type: [
1732
1663
  {
1733
1664
  code: "dateTime"
@@ -1740,8 +1671,6 @@
1740
1671
  display: "CodeableConcept",
1741
1672
  properties: {
1742
1673
  id: {
1743
- min: 0,
1744
- max: "1",
1745
1674
  type: [
1746
1675
  {
1747
1676
  code: "string"
@@ -1749,7 +1678,6 @@
1749
1678
  ]
1750
1679
  },
1751
1680
  extension: {
1752
- min: 0,
1753
1681
  max: "*",
1754
1682
  type: [
1755
1683
  {
@@ -1758,7 +1686,6 @@
1758
1686
  ]
1759
1687
  },
1760
1688
  coding: {
1761
- min: 0,
1762
1689
  max: "*",
1763
1690
  type: [
1764
1691
  {
@@ -1767,8 +1694,6 @@
1767
1694
  ]
1768
1695
  },
1769
1696
  text: {
1770
- min: 0,
1771
- max: "1",
1772
1697
  type: [
1773
1698
  {
1774
1699
  code: "string"
@@ -1781,8 +1706,6 @@
1781
1706
  display: "Coding",
1782
1707
  properties: {
1783
1708
  id: {
1784
- min: 0,
1785
- max: "1",
1786
1709
  type: [
1787
1710
  {
1788
1711
  code: "string"
@@ -1790,7 +1713,6 @@
1790
1713
  ]
1791
1714
  },
1792
1715
  extension: {
1793
- min: 0,
1794
1716
  max: "*",
1795
1717
  type: [
1796
1718
  {
@@ -1799,8 +1721,6 @@
1799
1721
  ]
1800
1722
  },
1801
1723
  system: {
1802
- min: 0,
1803
- max: "1",
1804
1724
  type: [
1805
1725
  {
1806
1726
  code: "uri"
@@ -1808,8 +1728,6 @@
1808
1728
  ]
1809
1729
  },
1810
1730
  version: {
1811
- min: 0,
1812
- max: "1",
1813
1731
  type: [
1814
1732
  {
1815
1733
  code: "string"
@@ -1817,8 +1735,6 @@
1817
1735
  ]
1818
1736
  },
1819
1737
  code: {
1820
- min: 0,
1821
- max: "1",
1822
1738
  type: [
1823
1739
  {
1824
1740
  code: "code"
@@ -1826,8 +1742,6 @@
1826
1742
  ]
1827
1743
  },
1828
1744
  display: {
1829
- min: 0,
1830
- max: "1",
1831
1745
  type: [
1832
1746
  {
1833
1747
  code: "string"
@@ -1835,8 +1749,6 @@
1835
1749
  ]
1836
1750
  },
1837
1751
  userSelected: {
1838
- min: 0,
1839
- max: "1",
1840
1752
  type: [
1841
1753
  {
1842
1754
  code: "boolean"
@@ -1849,8 +1761,6 @@
1849
1761
  display: "ContactDetail",
1850
1762
  properties: {
1851
1763
  id: {
1852
- min: 0,
1853
- max: "1",
1854
1764
  type: [
1855
1765
  {
1856
1766
  code: "string"
@@ -1858,7 +1768,6 @@
1858
1768
  ]
1859
1769
  },
1860
1770
  extension: {
1861
- min: 0,
1862
1771
  max: "*",
1863
1772
  type: [
1864
1773
  {
@@ -1867,8 +1776,6 @@
1867
1776
  ]
1868
1777
  },
1869
1778
  name: {
1870
- min: 0,
1871
- max: "1",
1872
1779
  type: [
1873
1780
  {
1874
1781
  code: "string"
@@ -1876,7 +1783,6 @@
1876
1783
  ]
1877
1784
  },
1878
1785
  telecom: {
1879
- min: 0,
1880
1786
  max: "*",
1881
1787
  type: [
1882
1788
  {
@@ -1890,8 +1796,6 @@
1890
1796
  display: "ContactPoint",
1891
1797
  properties: {
1892
1798
  id: {
1893
- min: 0,
1894
- max: "1",
1895
1799
  type: [
1896
1800
  {
1897
1801
  code: "string"
@@ -1899,7 +1803,6 @@
1899
1803
  ]
1900
1804
  },
1901
1805
  extension: {
1902
- min: 0,
1903
1806
  max: "*",
1904
1807
  type: [
1905
1808
  {
@@ -1908,8 +1811,6 @@
1908
1811
  ]
1909
1812
  },
1910
1813
  system: {
1911
- min: 0,
1912
- max: "1",
1913
1814
  type: [
1914
1815
  {
1915
1816
  code: "code"
@@ -1917,8 +1818,6 @@
1917
1818
  ]
1918
1819
  },
1919
1820
  value: {
1920
- min: 0,
1921
- max: "1",
1922
1821
  type: [
1923
1822
  {
1924
1823
  code: "string"
@@ -1926,8 +1825,6 @@
1926
1825
  ]
1927
1826
  },
1928
1827
  use: {
1929
- min: 0,
1930
- max: "1",
1931
1828
  type: [
1932
1829
  {
1933
1830
  code: "code"
@@ -1935,8 +1832,6 @@
1935
1832
  ]
1936
1833
  },
1937
1834
  rank: {
1938
- min: 0,
1939
- max: "1",
1940
1835
  type: [
1941
1836
  {
1942
1837
  code: "positiveInt"
@@ -1944,8 +1839,6 @@
1944
1839
  ]
1945
1840
  },
1946
1841
  period: {
1947
- min: 0,
1948
- max: "1",
1949
1842
  type: [
1950
1843
  {
1951
1844
  code: "Period"
@@ -1958,8 +1851,6 @@
1958
1851
  display: "Contributor",
1959
1852
  properties: {
1960
1853
  id: {
1961
- min: 0,
1962
- max: "1",
1963
1854
  type: [
1964
1855
  {
1965
1856
  code: "string"
@@ -1967,7 +1858,6 @@
1967
1858
  ]
1968
1859
  },
1969
1860
  extension: {
1970
- min: 0,
1971
1861
  max: "*",
1972
1862
  type: [
1973
1863
  {
@@ -1977,7 +1867,6 @@
1977
1867
  },
1978
1868
  type: {
1979
1869
  min: 1,
1980
- max: "1",
1981
1870
  type: [
1982
1871
  {
1983
1872
  code: "code"
@@ -1986,7 +1875,6 @@
1986
1875
  },
1987
1876
  name: {
1988
1877
  min: 1,
1989
- max: "1",
1990
1878
  type: [
1991
1879
  {
1992
1880
  code: "string"
@@ -1994,7 +1882,6 @@
1994
1882
  ]
1995
1883
  },
1996
1884
  contact: {
1997
- min: 0,
1998
1885
  max: "*",
1999
1886
  type: [
2000
1887
  {
@@ -2008,8 +1895,6 @@
2008
1895
  display: "Count",
2009
1896
  properties: {
2010
1897
  id: {
2011
- min: 0,
2012
- max: "1",
2013
1898
  type: [
2014
1899
  {
2015
1900
  code: "string"
@@ -2017,7 +1902,6 @@
2017
1902
  ]
2018
1903
  },
2019
1904
  extension: {
2020
- min: 0,
2021
1905
  max: "*",
2022
1906
  type: [
2023
1907
  {
@@ -2026,8 +1910,6 @@
2026
1910
  ]
2027
1911
  },
2028
1912
  value: {
2029
- min: 0,
2030
- max: "1",
2031
1913
  type: [
2032
1914
  {
2033
1915
  code: "decimal"
@@ -2035,8 +1917,6 @@
2035
1917
  ]
2036
1918
  },
2037
1919
  comparator: {
2038
- min: 0,
2039
- max: "1",
2040
1920
  type: [
2041
1921
  {
2042
1922
  code: "code"
@@ -2044,8 +1924,6 @@
2044
1924
  ]
2045
1925
  },
2046
1926
  unit: {
2047
- min: 0,
2048
- max: "1",
2049
1927
  type: [
2050
1928
  {
2051
1929
  code: "string"
@@ -2053,8 +1931,6 @@
2053
1931
  ]
2054
1932
  },
2055
1933
  system: {
2056
- min: 0,
2057
- max: "1",
2058
1934
  type: [
2059
1935
  {
2060
1936
  code: "uri"
@@ -2062,8 +1938,6 @@
2062
1938
  ]
2063
1939
  },
2064
1940
  code: {
2065
- min: 0,
2066
- max: "1",
2067
1941
  type: [
2068
1942
  {
2069
1943
  code: "code"
@@ -2076,8 +1950,6 @@
2076
1950
  display: "DataRequirement",
2077
1951
  properties: {
2078
1952
  id: {
2079
- min: 0,
2080
- max: "1",
2081
1953
  type: [
2082
1954
  {
2083
1955
  code: "string"
@@ -2085,7 +1957,6 @@
2085
1957
  ]
2086
1958
  },
2087
1959
  extension: {
2088
- min: 0,
2089
1960
  max: "*",
2090
1961
  type: [
2091
1962
  {
@@ -2095,7 +1966,6 @@
2095
1966
  },
2096
1967
  type: {
2097
1968
  min: 1,
2098
- max: "1",
2099
1969
  type: [
2100
1970
  {
2101
1971
  code: "code"
@@ -2103,7 +1973,6 @@
2103
1973
  ]
2104
1974
  },
2105
1975
  profile: {
2106
- min: 0,
2107
1976
  max: "*",
2108
1977
  type: [
2109
1978
  {
@@ -2115,8 +1984,6 @@
2115
1984
  ]
2116
1985
  },
2117
1986
  "subject[x]": {
2118
- min: 0,
2119
- max: "1",
2120
1987
  type: [
2121
1988
  {
2122
1989
  code: "CodeableConcept"
@@ -2130,7 +1997,6 @@
2130
1997
  ]
2131
1998
  },
2132
1999
  mustSupport: {
2133
- min: 0,
2134
2000
  max: "*",
2135
2001
  type: [
2136
2002
  {
@@ -2139,7 +2005,6 @@
2139
2005
  ]
2140
2006
  },
2141
2007
  codeFilter: {
2142
- min: 0,
2143
2008
  max: "*",
2144
2009
  type: [
2145
2010
  {
@@ -2148,7 +2013,6 @@
2148
2013
  ]
2149
2014
  },
2150
2015
  dateFilter: {
2151
- min: 0,
2152
2016
  max: "*",
2153
2017
  type: [
2154
2018
  {
@@ -2157,8 +2021,6 @@
2157
2021
  ]
2158
2022
  },
2159
2023
  limit: {
2160
- min: 0,
2161
- max: "1",
2162
2024
  type: [
2163
2025
  {
2164
2026
  code: "positiveInt"
@@ -2166,7 +2028,6 @@
2166
2028
  ]
2167
2029
  },
2168
2030
  sort: {
2169
- min: 0,
2170
2031
  max: "*",
2171
2032
  type: [
2172
2033
  {
@@ -2180,8 +2041,6 @@
2180
2041
  display: "DataRequirementCodeFilter",
2181
2042
  properties: {
2182
2043
  id: {
2183
- min: 0,
2184
- max: "1",
2185
2044
  type: [
2186
2045
  {
2187
2046
  code: "string"
@@ -2189,7 +2048,6 @@
2189
2048
  ]
2190
2049
  },
2191
2050
  extension: {
2192
- min: 0,
2193
2051
  max: "*",
2194
2052
  type: [
2195
2053
  {
@@ -2198,8 +2056,6 @@
2198
2056
  ]
2199
2057
  },
2200
2058
  path: {
2201
- min: 0,
2202
- max: "1",
2203
2059
  type: [
2204
2060
  {
2205
2061
  code: "string"
@@ -2207,8 +2063,6 @@
2207
2063
  ]
2208
2064
  },
2209
2065
  searchParam: {
2210
- min: 0,
2211
- max: "1",
2212
2066
  type: [
2213
2067
  {
2214
2068
  code: "string"
@@ -2216,8 +2070,6 @@
2216
2070
  ]
2217
2071
  },
2218
2072
  valueSet: {
2219
- min: 0,
2220
- max: "1",
2221
2073
  type: [
2222
2074
  {
2223
2075
  code: "canonical",
@@ -2228,7 +2080,6 @@
2228
2080
  ]
2229
2081
  },
2230
2082
  code: {
2231
- min: 0,
2232
2083
  max: "*",
2233
2084
  type: [
2234
2085
  {
@@ -2236,15 +2087,12 @@
2236
2087
  }
2237
2088
  ]
2238
2089
  }
2239
- },
2240
- parentType: "DataRequirement"
2090
+ }
2241
2091
  },
2242
2092
  DataRequirementDateFilter: {
2243
2093
  display: "DataRequirementDateFilter",
2244
2094
  properties: {
2245
2095
  id: {
2246
- min: 0,
2247
- max: "1",
2248
2096
  type: [
2249
2097
  {
2250
2098
  code: "string"
@@ -2252,7 +2100,6 @@
2252
2100
  ]
2253
2101
  },
2254
2102
  extension: {
2255
- min: 0,
2256
2103
  max: "*",
2257
2104
  type: [
2258
2105
  {
@@ -2261,8 +2108,6 @@
2261
2108
  ]
2262
2109
  },
2263
2110
  path: {
2264
- min: 0,
2265
- max: "1",
2266
2111
  type: [
2267
2112
  {
2268
2113
  code: "string"
@@ -2270,8 +2115,6 @@
2270
2115
  ]
2271
2116
  },
2272
2117
  searchParam: {
2273
- min: 0,
2274
- max: "1",
2275
2118
  type: [
2276
2119
  {
2277
2120
  code: "string"
@@ -2279,8 +2122,6 @@
2279
2122
  ]
2280
2123
  },
2281
2124
  "value[x]": {
2282
- min: 0,
2283
- max: "1",
2284
2125
  type: [
2285
2126
  {
2286
2127
  code: "dateTime"
@@ -2293,15 +2134,12 @@
2293
2134
  }
2294
2135
  ]
2295
2136
  }
2296
- },
2297
- parentType: "DataRequirement"
2137
+ }
2298
2138
  },
2299
2139
  DataRequirementSort: {
2300
2140
  display: "DataRequirementSort",
2301
2141
  properties: {
2302
2142
  id: {
2303
- min: 0,
2304
- max: "1",
2305
2143
  type: [
2306
2144
  {
2307
2145
  code: "string"
@@ -2309,7 +2147,6 @@
2309
2147
  ]
2310
2148
  },
2311
2149
  extension: {
2312
- min: 0,
2313
2150
  max: "*",
2314
2151
  type: [
2315
2152
  {
@@ -2319,7 +2156,6 @@
2319
2156
  },
2320
2157
  path: {
2321
2158
  min: 1,
2322
- max: "1",
2323
2159
  type: [
2324
2160
  {
2325
2161
  code: "string"
@@ -2328,22 +2164,18 @@
2328
2164
  },
2329
2165
  direction: {
2330
2166
  min: 1,
2331
- max: "1",
2332
2167
  type: [
2333
2168
  {
2334
2169
  code: "code"
2335
2170
  }
2336
2171
  ]
2337
2172
  }
2338
- },
2339
- parentType: "DataRequirement"
2173
+ }
2340
2174
  },
2341
2175
  Distance: {
2342
2176
  display: "Distance",
2343
2177
  properties: {
2344
2178
  id: {
2345
- min: 0,
2346
- max: "1",
2347
2179
  type: [
2348
2180
  {
2349
2181
  code: "string"
@@ -2351,7 +2183,6 @@
2351
2183
  ]
2352
2184
  },
2353
2185
  extension: {
2354
- min: 0,
2355
2186
  max: "*",
2356
2187
  type: [
2357
2188
  {
@@ -2360,8 +2191,6 @@
2360
2191
  ]
2361
2192
  },
2362
2193
  value: {
2363
- min: 0,
2364
- max: "1",
2365
2194
  type: [
2366
2195
  {
2367
2196
  code: "decimal"
@@ -2369,8 +2198,6 @@
2369
2198
  ]
2370
2199
  },
2371
2200
  comparator: {
2372
- min: 0,
2373
- max: "1",
2374
2201
  type: [
2375
2202
  {
2376
2203
  code: "code"
@@ -2378,8 +2205,6 @@
2378
2205
  ]
2379
2206
  },
2380
2207
  unit: {
2381
- min: 0,
2382
- max: "1",
2383
2208
  type: [
2384
2209
  {
2385
2210
  code: "string"
@@ -2387,8 +2212,6 @@
2387
2212
  ]
2388
2213
  },
2389
2214
  system: {
2390
- min: 0,
2391
- max: "1",
2392
2215
  type: [
2393
2216
  {
2394
2217
  code: "uri"
@@ -2396,8 +2219,6 @@
2396
2219
  ]
2397
2220
  },
2398
2221
  code: {
2399
- min: 0,
2400
- max: "1",
2401
2222
  type: [
2402
2223
  {
2403
2224
  code: "code"
@@ -2410,8 +2231,6 @@
2410
2231
  display: "Dosage",
2411
2232
  properties: {
2412
2233
  id: {
2413
- min: 0,
2414
- max: "1",
2415
2234
  type: [
2416
2235
  {
2417
2236
  code: "string"
@@ -2419,7 +2238,6 @@
2419
2238
  ]
2420
2239
  },
2421
2240
  extension: {
2422
- min: 0,
2423
2241
  max: "*",
2424
2242
  type: [
2425
2243
  {
@@ -2428,7 +2246,6 @@
2428
2246
  ]
2429
2247
  },
2430
2248
  modifierExtension: {
2431
- min: 0,
2432
2249
  max: "*",
2433
2250
  type: [
2434
2251
  {
@@ -2437,8 +2254,6 @@
2437
2254
  ]
2438
2255
  },
2439
2256
  sequence: {
2440
- min: 0,
2441
- max: "1",
2442
2257
  type: [
2443
2258
  {
2444
2259
  code: "integer"
@@ -2446,8 +2261,6 @@
2446
2261
  ]
2447
2262
  },
2448
2263
  text: {
2449
- min: 0,
2450
- max: "1",
2451
2264
  type: [
2452
2265
  {
2453
2266
  code: "string"
@@ -2455,7 +2268,6 @@
2455
2268
  ]
2456
2269
  },
2457
2270
  additionalInstruction: {
2458
- min: 0,
2459
2271
  max: "*",
2460
2272
  type: [
2461
2273
  {
@@ -2464,8 +2276,6 @@
2464
2276
  ]
2465
2277
  },
2466
2278
  patientInstruction: {
2467
- min: 0,
2468
- max: "1",
2469
2279
  type: [
2470
2280
  {
2471
2281
  code: "string"
@@ -2473,8 +2283,6 @@
2473
2283
  ]
2474
2284
  },
2475
2285
  timing: {
2476
- min: 0,
2477
- max: "1",
2478
2286
  type: [
2479
2287
  {
2480
2288
  code: "Timing"
@@ -2482,8 +2290,6 @@
2482
2290
  ]
2483
2291
  },
2484
2292
  "asNeeded[x]": {
2485
- min: 0,
2486
- max: "1",
2487
2293
  type: [
2488
2294
  {
2489
2295
  code: "boolean"
@@ -2494,8 +2300,6 @@
2494
2300
  ]
2495
2301
  },
2496
2302
  site: {
2497
- min: 0,
2498
- max: "1",
2499
2303
  type: [
2500
2304
  {
2501
2305
  code: "CodeableConcept"
@@ -2503,8 +2307,6 @@
2503
2307
  ]
2504
2308
  },
2505
2309
  route: {
2506
- min: 0,
2507
- max: "1",
2508
2310
  type: [
2509
2311
  {
2510
2312
  code: "CodeableConcept"
@@ -2512,8 +2314,6 @@
2512
2314
  ]
2513
2315
  },
2514
2316
  method: {
2515
- min: 0,
2516
- max: "1",
2517
2317
  type: [
2518
2318
  {
2519
2319
  code: "CodeableConcept"
@@ -2521,7 +2321,6 @@
2521
2321
  ]
2522
2322
  },
2523
2323
  doseAndRate: {
2524
- min: 0,
2525
2324
  max: "*",
2526
2325
  type: [
2527
2326
  {
@@ -2530,8 +2329,6 @@
2530
2329
  ]
2531
2330
  },
2532
2331
  maxDosePerPeriod: {
2533
- min: 0,
2534
- max: "1",
2535
2332
  type: [
2536
2333
  {
2537
2334
  code: "Ratio"
@@ -2539,8 +2336,6 @@
2539
2336
  ]
2540
2337
  },
2541
2338
  maxDosePerAdministration: {
2542
- min: 0,
2543
- max: "1",
2544
2339
  type: [
2545
2340
  {
2546
2341
  code: "Quantity",
@@ -2551,8 +2346,6 @@
2551
2346
  ]
2552
2347
  },
2553
2348
  maxDosePerLifetime: {
2554
- min: 0,
2555
- max: "1",
2556
2349
  type: [
2557
2350
  {
2558
2351
  code: "Quantity",
@@ -2568,8 +2361,6 @@
2568
2361
  display: "DosageDoseAndRate",
2569
2362
  properties: {
2570
2363
  id: {
2571
- min: 0,
2572
- max: "1",
2573
2364
  type: [
2574
2365
  {
2575
2366
  code: "string"
@@ -2577,7 +2368,6 @@
2577
2368
  ]
2578
2369
  },
2579
2370
  extension: {
2580
- min: 0,
2581
2371
  max: "*",
2582
2372
  type: [
2583
2373
  {
@@ -2586,8 +2376,6 @@
2586
2376
  ]
2587
2377
  },
2588
2378
  type: {
2589
- min: 0,
2590
- max: "1",
2591
2379
  type: [
2592
2380
  {
2593
2381
  code: "CodeableConcept"
@@ -2595,8 +2383,6 @@
2595
2383
  ]
2596
2384
  },
2597
2385
  "dose[x]": {
2598
- min: 0,
2599
- max: "1",
2600
2386
  type: [
2601
2387
  {
2602
2388
  code: "Range"
@@ -2610,8 +2396,6 @@
2610
2396
  ]
2611
2397
  },
2612
2398
  "rate[x]": {
2613
- min: 0,
2614
- max: "1",
2615
2399
  type: [
2616
2400
  {
2617
2401
  code: "Ratio"
@@ -2627,15 +2411,12 @@
2627
2411
  }
2628
2412
  ]
2629
2413
  }
2630
- },
2631
- parentType: "Dosage"
2414
+ }
2632
2415
  },
2633
2416
  Duration: {
2634
2417
  display: "Duration",
2635
2418
  properties: {
2636
2419
  id: {
2637
- min: 0,
2638
- max: "1",
2639
2420
  type: [
2640
2421
  {
2641
2422
  code: "string"
@@ -2643,7 +2424,6 @@
2643
2424
  ]
2644
2425
  },
2645
2426
  extension: {
2646
- min: 0,
2647
2427
  max: "*",
2648
2428
  type: [
2649
2429
  {
@@ -2652,8 +2432,6 @@
2652
2432
  ]
2653
2433
  },
2654
2434
  value: {
2655
- min: 0,
2656
- max: "1",
2657
2435
  type: [
2658
2436
  {
2659
2437
  code: "decimal"
@@ -2661,8 +2439,6 @@
2661
2439
  ]
2662
2440
  },
2663
2441
  comparator: {
2664
- min: 0,
2665
- max: "1",
2666
2442
  type: [
2667
2443
  {
2668
2444
  code: "code"
@@ -2670,8 +2446,6 @@
2670
2446
  ]
2671
2447
  },
2672
2448
  unit: {
2673
- min: 0,
2674
- max: "1",
2675
2449
  type: [
2676
2450
  {
2677
2451
  code: "string"
@@ -2679,8 +2453,6 @@
2679
2453
  ]
2680
2454
  },
2681
2455
  system: {
2682
- min: 0,
2683
- max: "1",
2684
2456
  type: [
2685
2457
  {
2686
2458
  code: "uri"
@@ -2688,8 +2460,6 @@
2688
2460
  ]
2689
2461
  },
2690
2462
  code: {
2691
- min: 0,
2692
- max: "1",
2693
2463
  type: [
2694
2464
  {
2695
2465
  code: "code"
@@ -2702,8 +2472,6 @@
2702
2472
  display: "ElementDefinition",
2703
2473
  properties: {
2704
2474
  id: {
2705
- min: 0,
2706
- max: "1",
2707
2475
  type: [
2708
2476
  {
2709
2477
  code: "string"
@@ -2711,7 +2479,6 @@
2711
2479
  ]
2712
2480
  },
2713
2481
  extension: {
2714
- min: 0,
2715
2482
  max: "*",
2716
2483
  type: [
2717
2484
  {
@@ -2720,7 +2487,6 @@
2720
2487
  ]
2721
2488
  },
2722
2489
  modifierExtension: {
2723
- min: 0,
2724
2490
  max: "*",
2725
2491
  type: [
2726
2492
  {
@@ -2730,7 +2496,6 @@
2730
2496
  },
2731
2497
  path: {
2732
2498
  min: 1,
2733
- max: "1",
2734
2499
  type: [
2735
2500
  {
2736
2501
  code: "string"
@@ -2738,7 +2503,6 @@
2738
2503
  ]
2739
2504
  },
2740
2505
  representation: {
2741
- min: 0,
2742
2506
  max: "*",
2743
2507
  type: [
2744
2508
  {
@@ -2747,8 +2511,6 @@
2747
2511
  ]
2748
2512
  },
2749
2513
  sliceName: {
2750
- min: 0,
2751
- max: "1",
2752
2514
  type: [
2753
2515
  {
2754
2516
  code: "string"
@@ -2756,8 +2518,6 @@
2756
2518
  ]
2757
2519
  },
2758
2520
  sliceIsConstraining: {
2759
- min: 0,
2760
- max: "1",
2761
2521
  type: [
2762
2522
  {
2763
2523
  code: "boolean"
@@ -2765,8 +2525,6 @@
2765
2525
  ]
2766
2526
  },
2767
2527
  label: {
2768
- min: 0,
2769
- max: "1",
2770
2528
  type: [
2771
2529
  {
2772
2530
  code: "string"
@@ -2774,7 +2532,6 @@
2774
2532
  ]
2775
2533
  },
2776
2534
  code: {
2777
- min: 0,
2778
2535
  max: "*",
2779
2536
  type: [
2780
2537
  {
@@ -2783,8 +2540,6 @@
2783
2540
  ]
2784
2541
  },
2785
2542
  slicing: {
2786
- min: 0,
2787
- max: "1",
2788
2543
  type: [
2789
2544
  {
2790
2545
  code: "Element"
@@ -2792,8 +2547,6 @@
2792
2547
  ]
2793
2548
  },
2794
2549
  short: {
2795
- min: 0,
2796
- max: "1",
2797
2550
  type: [
2798
2551
  {
2799
2552
  code: "string"
@@ -2801,8 +2554,6 @@
2801
2554
  ]
2802
2555
  },
2803
2556
  definition: {
2804
- min: 0,
2805
- max: "1",
2806
2557
  type: [
2807
2558
  {
2808
2559
  code: "markdown"
@@ -2810,8 +2561,6 @@
2810
2561
  ]
2811
2562
  },
2812
2563
  comment: {
2813
- min: 0,
2814
- max: "1",
2815
2564
  type: [
2816
2565
  {
2817
2566
  code: "markdown"
@@ -2819,8 +2568,6 @@
2819
2568
  ]
2820
2569
  },
2821
2570
  requirements: {
2822
- min: 0,
2823
- max: "1",
2824
2571
  type: [
2825
2572
  {
2826
2573
  code: "markdown"
@@ -2828,7 +2575,6 @@
2828
2575
  ]
2829
2576
  },
2830
2577
  alias: {
2831
- min: 0,
2832
2578
  max: "*",
2833
2579
  type: [
2834
2580
  {
@@ -2837,8 +2583,6 @@
2837
2583
  ]
2838
2584
  },
2839
2585
  min: {
2840
- min: 0,
2841
- max: "1",
2842
2586
  type: [
2843
2587
  {
2844
2588
  code: "unsignedInt"
@@ -2846,8 +2590,6 @@
2846
2590
  ]
2847
2591
  },
2848
2592
  max: {
2849
- min: 0,
2850
- max: "1",
2851
2593
  type: [
2852
2594
  {
2853
2595
  code: "string"
@@ -2855,8 +2597,6 @@
2855
2597
  ]
2856
2598
  },
2857
2599
  base: {
2858
- min: 0,
2859
- max: "1",
2860
2600
  type: [
2861
2601
  {
2862
2602
  code: "Element"
@@ -2864,8 +2604,6 @@
2864
2604
  ]
2865
2605
  },
2866
2606
  contentReference: {
2867
- min: 0,
2868
- max: "1",
2869
2607
  type: [
2870
2608
  {
2871
2609
  code: "uri"
@@ -2873,7 +2611,6 @@
2873
2611
  ]
2874
2612
  },
2875
2613
  type: {
2876
- min: 0,
2877
2614
  max: "*",
2878
2615
  type: [
2879
2616
  {
@@ -2882,8 +2619,6 @@
2882
2619
  ]
2883
2620
  },
2884
2621
  "defaultValue[x]": {
2885
- min: 0,
2886
- max: "1",
2887
2622
  type: [
2888
2623
  {
2889
2624
  code: "base64Binary"
@@ -3038,8 +2773,6 @@
3038
2773
  ]
3039
2774
  },
3040
2775
  meaningWhenMissing: {
3041
- min: 0,
3042
- max: "1",
3043
2776
  type: [
3044
2777
  {
3045
2778
  code: "markdown"
@@ -3047,8 +2780,6 @@
3047
2780
  ]
3048
2781
  },
3049
2782
  orderMeaning: {
3050
- min: 0,
3051
- max: "1",
3052
2783
  type: [
3053
2784
  {
3054
2785
  code: "string"
@@ -3056,8 +2787,6 @@
3056
2787
  ]
3057
2788
  },
3058
2789
  "fixed[x]": {
3059
- min: 0,
3060
- max: "1",
3061
2790
  type: [
3062
2791
  {
3063
2792
  code: "base64Binary"
@@ -3212,8 +2941,6 @@
3212
2941
  ]
3213
2942
  },
3214
2943
  "pattern[x]": {
3215
- min: 0,
3216
- max: "1",
3217
2944
  type: [
3218
2945
  {
3219
2946
  code: "base64Binary"
@@ -3368,7 +3095,6 @@
3368
3095
  ]
3369
3096
  },
3370
3097
  example: {
3371
- min: 0,
3372
3098
  max: "*",
3373
3099
  type: [
3374
3100
  {
@@ -3377,8 +3103,6 @@
3377
3103
  ]
3378
3104
  },
3379
3105
  "minValue[x]": {
3380
- min: 0,
3381
- max: "1",
3382
3106
  type: [
3383
3107
  {
3384
3108
  code: "date"
@@ -3410,8 +3134,6 @@
3410
3134
  ]
3411
3135
  },
3412
3136
  "maxValue[x]": {
3413
- min: 0,
3414
- max: "1",
3415
3137
  type: [
3416
3138
  {
3417
3139
  code: "date"
@@ -3443,8 +3165,6 @@
3443
3165
  ]
3444
3166
  },
3445
3167
  maxLength: {
3446
- min: 0,
3447
- max: "1",
3448
3168
  type: [
3449
3169
  {
3450
3170
  code: "integer"
@@ -3452,7 +3172,6 @@
3452
3172
  ]
3453
3173
  },
3454
3174
  condition: {
3455
- min: 0,
3456
3175
  max: "*",
3457
3176
  type: [
3458
3177
  {
@@ -3461,7 +3180,6 @@
3461
3180
  ]
3462
3181
  },
3463
3182
  constraint: {
3464
- min: 0,
3465
3183
  max: "*",
3466
3184
  type: [
3467
3185
  {
@@ -3470,8 +3188,6 @@
3470
3188
  ]
3471
3189
  },
3472
3190
  mustSupport: {
3473
- min: 0,
3474
- max: "1",
3475
3191
  type: [
3476
3192
  {
3477
3193
  code: "boolean"
@@ -3479,8 +3195,6 @@
3479
3195
  ]
3480
3196
  },
3481
3197
  isModifier: {
3482
- min: 0,
3483
- max: "1",
3484
3198
  type: [
3485
3199
  {
3486
3200
  code: "boolean"
@@ -3488,8 +3202,6 @@
3488
3202
  ]
3489
3203
  },
3490
3204
  isModifierReason: {
3491
- min: 0,
3492
- max: "1",
3493
3205
  type: [
3494
3206
  {
3495
3207
  code: "string"
@@ -3497,8 +3209,6 @@
3497
3209
  ]
3498
3210
  },
3499
3211
  isSummary: {
3500
- min: 0,
3501
- max: "1",
3502
3212
  type: [
3503
3213
  {
3504
3214
  code: "boolean"
@@ -3506,8 +3216,6 @@
3506
3216
  ]
3507
3217
  },
3508
3218
  binding: {
3509
- min: 0,
3510
- max: "1",
3511
3219
  type: [
3512
3220
  {
3513
3221
  code: "Element"
@@ -3515,7 +3223,6 @@
3515
3223
  ]
3516
3224
  },
3517
3225
  mapping: {
3518
- min: 0,
3519
3226
  max: "*",
3520
3227
  type: [
3521
3228
  {
@@ -3529,8 +3236,6 @@
3529
3236
  display: "ElementDefinitionSlicing",
3530
3237
  properties: {
3531
3238
  id: {
3532
- min: 0,
3533
- max: "1",
3534
3239
  type: [
3535
3240
  {
3536
3241
  code: "string"
@@ -3538,7 +3243,6 @@
3538
3243
  ]
3539
3244
  },
3540
3245
  extension: {
3541
- min: 0,
3542
3246
  max: "*",
3543
3247
  type: [
3544
3248
  {
@@ -3547,7 +3251,6 @@
3547
3251
  ]
3548
3252
  },
3549
3253
  discriminator: {
3550
- min: 0,
3551
3254
  max: "*",
3552
3255
  type: [
3553
3256
  {
@@ -3556,8 +3259,6 @@
3556
3259
  ]
3557
3260
  },
3558
3261
  description: {
3559
- min: 0,
3560
- max: "1",
3561
3262
  type: [
3562
3263
  {
3563
3264
  code: "string"
@@ -3565,8 +3266,6 @@
3565
3266
  ]
3566
3267
  },
3567
3268
  ordered: {
3568
- min: 0,
3569
- max: "1",
3570
3269
  type: [
3571
3270
  {
3572
3271
  code: "boolean"
@@ -3575,22 +3274,18 @@
3575
3274
  },
3576
3275
  rules: {
3577
3276
  min: 1,
3578
- max: "1",
3579
3277
  type: [
3580
3278
  {
3581
3279
  code: "code"
3582
3280
  }
3583
3281
  ]
3584
3282
  }
3585
- },
3586
- parentType: "ElementDefinition"
3283
+ }
3587
3284
  },
3588
3285
  ElementDefinitionSlicingDiscriminator: {
3589
3286
  display: "ElementDefinitionSlicingDiscriminator",
3590
3287
  properties: {
3591
3288
  id: {
3592
- min: 0,
3593
- max: "1",
3594
3289
  type: [
3595
3290
  {
3596
3291
  code: "string"
@@ -3598,7 +3293,6 @@
3598
3293
  ]
3599
3294
  },
3600
3295
  extension: {
3601
- min: 0,
3602
3296
  max: "*",
3603
3297
  type: [
3604
3298
  {
@@ -3608,7 +3302,6 @@
3608
3302
  },
3609
3303
  type: {
3610
3304
  min: 1,
3611
- max: "1",
3612
3305
  type: [
3613
3306
  {
3614
3307
  code: "code"
@@ -3617,22 +3310,18 @@
3617
3310
  },
3618
3311
  path: {
3619
3312
  min: 1,
3620
- max: "1",
3621
3313
  type: [
3622
3314
  {
3623
3315
  code: "string"
3624
3316
  }
3625
3317
  ]
3626
3318
  }
3627
- },
3628
- parentType: "ElementDefinitionSlicing"
3319
+ }
3629
3320
  },
3630
3321
  ElementDefinitionBase: {
3631
3322
  display: "ElementDefinitionBase",
3632
3323
  properties: {
3633
3324
  id: {
3634
- min: 0,
3635
- max: "1",
3636
3325
  type: [
3637
3326
  {
3638
3327
  code: "string"
@@ -3640,7 +3329,6 @@
3640
3329
  ]
3641
3330
  },
3642
3331
  extension: {
3643
- min: 0,
3644
3332
  max: "*",
3645
3333
  type: [
3646
3334
  {
@@ -3650,7 +3338,6 @@
3650
3338
  },
3651
3339
  path: {
3652
3340
  min: 1,
3653
- max: "1",
3654
3341
  type: [
3655
3342
  {
3656
3343
  code: "string"
@@ -3659,7 +3346,6 @@
3659
3346
  },
3660
3347
  min: {
3661
3348
  min: 1,
3662
- max: "1",
3663
3349
  type: [
3664
3350
  {
3665
3351
  code: "unsignedInt"
@@ -3668,22 +3354,18 @@
3668
3354
  },
3669
3355
  max: {
3670
3356
  min: 1,
3671
- max: "1",
3672
3357
  type: [
3673
3358
  {
3674
3359
  code: "string"
3675
3360
  }
3676
3361
  ]
3677
3362
  }
3678
- },
3679
- parentType: "ElementDefinition"
3363
+ }
3680
3364
  },
3681
3365
  ElementDefinitionType: {
3682
3366
  display: "ElementDefinitionType",
3683
3367
  properties: {
3684
3368
  id: {
3685
- min: 0,
3686
- max: "1",
3687
3369
  type: [
3688
3370
  {
3689
3371
  code: "string"
@@ -3691,7 +3373,6 @@
3691
3373
  ]
3692
3374
  },
3693
3375
  extension: {
3694
- min: 0,
3695
3376
  max: "*",
3696
3377
  type: [
3697
3378
  {
@@ -3701,7 +3382,6 @@
3701
3382
  },
3702
3383
  code: {
3703
3384
  min: 1,
3704
- max: "1",
3705
3385
  type: [
3706
3386
  {
3707
3387
  code: "uri"
@@ -3709,7 +3389,6 @@
3709
3389
  ]
3710
3390
  },
3711
3391
  profile: {
3712
- min: 0,
3713
3392
  max: "*",
3714
3393
  type: [
3715
3394
  {
@@ -3722,7 +3401,6 @@
3722
3401
  ]
3723
3402
  },
3724
3403
  targetProfile: {
3725
- min: 0,
3726
3404
  max: "*",
3727
3405
  type: [
3728
3406
  {
@@ -3735,7 +3413,6 @@
3735
3413
  ]
3736
3414
  },
3737
3415
  aggregation: {
3738
- min: 0,
3739
3416
  max: "*",
3740
3417
  type: [
3741
3418
  {
@@ -3744,23 +3421,18 @@
3744
3421
  ]
3745
3422
  },
3746
3423
  versioning: {
3747
- min: 0,
3748
- max: "1",
3749
3424
  type: [
3750
3425
  {
3751
3426
  code: "code"
3752
3427
  }
3753
3428
  ]
3754
3429
  }
3755
- },
3756
- parentType: "ElementDefinition"
3430
+ }
3757
3431
  },
3758
3432
  ElementDefinitionExample: {
3759
3433
  display: "ElementDefinitionExample",
3760
3434
  properties: {
3761
3435
  id: {
3762
- min: 0,
3763
- max: "1",
3764
3436
  type: [
3765
3437
  {
3766
3438
  code: "string"
@@ -3768,7 +3440,6 @@
3768
3440
  ]
3769
3441
  },
3770
3442
  extension: {
3771
- min: 0,
3772
3443
  max: "*",
3773
3444
  type: [
3774
3445
  {
@@ -3778,7 +3449,6 @@
3778
3449
  },
3779
3450
  label: {
3780
3451
  min: 1,
3781
- max: "1",
3782
3452
  type: [
3783
3453
  {
3784
3454
  code: "string"
@@ -3787,7 +3457,6 @@
3787
3457
  },
3788
3458
  "value[x]": {
3789
3459
  min: 1,
3790
- max: "1",
3791
3460
  type: [
3792
3461
  {
3793
3462
  code: "base64Binary"
@@ -3941,15 +3610,12 @@
3941
3610
  }
3942
3611
  ]
3943
3612
  }
3944
- },
3945
- parentType: "ElementDefinition"
3613
+ }
3946
3614
  },
3947
3615
  ElementDefinitionConstraint: {
3948
3616
  display: "ElementDefinitionConstraint",
3949
3617
  properties: {
3950
3618
  id: {
3951
- min: 0,
3952
- max: "1",
3953
3619
  type: [
3954
3620
  {
3955
3621
  code: "string"
@@ -3957,7 +3623,6 @@
3957
3623
  ]
3958
3624
  },
3959
3625
  extension: {
3960
- min: 0,
3961
3626
  max: "*",
3962
3627
  type: [
3963
3628
  {
@@ -3967,7 +3632,6 @@
3967
3632
  },
3968
3633
  key: {
3969
3634
  min: 1,
3970
- max: "1",
3971
3635
  type: [
3972
3636
  {
3973
3637
  code: "id"
@@ -3975,8 +3639,6 @@
3975
3639
  ]
3976
3640
  },
3977
3641
  requirements: {
3978
- min: 0,
3979
- max: "1",
3980
3642
  type: [
3981
3643
  {
3982
3644
  code: "string"
@@ -3985,7 +3647,6 @@
3985
3647
  },
3986
3648
  severity: {
3987
3649
  min: 1,
3988
- max: "1",
3989
3650
  type: [
3990
3651
  {
3991
3652
  code: "code"
@@ -3994,7 +3655,6 @@
3994
3655
  },
3995
3656
  human: {
3996
3657
  min: 1,
3997
- max: "1",
3998
3658
  type: [
3999
3659
  {
4000
3660
  code: "string"
@@ -4002,8 +3662,6 @@
4002
3662
  ]
4003
3663
  },
4004
3664
  expression: {
4005
- min: 0,
4006
- max: "1",
4007
3665
  type: [
4008
3666
  {
4009
3667
  code: "string"
@@ -4011,8 +3669,6 @@
4011
3669
  ]
4012
3670
  },
4013
3671
  xpath: {
4014
- min: 0,
4015
- max: "1",
4016
3672
  type: [
4017
3673
  {
4018
3674
  code: "string"
@@ -4020,8 +3676,6 @@
4020
3676
  ]
4021
3677
  },
4022
3678
  source: {
4023
- min: 0,
4024
- max: "1",
4025
3679
  type: [
4026
3680
  {
4027
3681
  code: "canonical",
@@ -4031,15 +3685,12 @@
4031
3685
  }
4032
3686
  ]
4033
3687
  }
4034
- },
4035
- parentType: "ElementDefinition"
3688
+ }
4036
3689
  },
4037
3690
  ElementDefinitionBinding: {
4038
3691
  display: "ElementDefinitionBinding",
4039
3692
  properties: {
4040
3693
  id: {
4041
- min: 0,
4042
- max: "1",
4043
3694
  type: [
4044
3695
  {
4045
3696
  code: "string"
@@ -4047,7 +3698,6 @@
4047
3698
  ]
4048
3699
  },
4049
3700
  extension: {
4050
- min: 0,
4051
3701
  max: "*",
4052
3702
  type: [
4053
3703
  {
@@ -4057,7 +3707,6 @@
4057
3707
  },
4058
3708
  strength: {
4059
3709
  min: 1,
4060
- max: "1",
4061
3710
  type: [
4062
3711
  {
4063
3712
  code: "code"
@@ -4065,8 +3714,6 @@
4065
3714
  ]
4066
3715
  },
4067
3716
  description: {
4068
- min: 0,
4069
- max: "1",
4070
3717
  type: [
4071
3718
  {
4072
3719
  code: "string"
@@ -4074,8 +3721,6 @@
4074
3721
  ]
4075
3722
  },
4076
3723
  valueSet: {
4077
- min: 0,
4078
- max: "1",
4079
3724
  type: [
4080
3725
  {
4081
3726
  code: "canonical",
@@ -4085,15 +3730,12 @@
4085
3730
  }
4086
3731
  ]
4087
3732
  }
4088
- },
4089
- parentType: "ElementDefinition"
3733
+ }
4090
3734
  },
4091
3735
  ElementDefinitionMapping: {
4092
3736
  display: "ElementDefinitionMapping",
4093
3737
  properties: {
4094
3738
  id: {
4095
- min: 0,
4096
- max: "1",
4097
3739
  type: [
4098
3740
  {
4099
3741
  code: "string"
@@ -4101,7 +3743,6 @@
4101
3743
  ]
4102
3744
  },
4103
3745
  extension: {
4104
- min: 0,
4105
3746
  max: "*",
4106
3747
  type: [
4107
3748
  {
@@ -4111,7 +3752,6 @@
4111
3752
  },
4112
3753
  identity: {
4113
3754
  min: 1,
4114
- max: "1",
4115
3755
  type: [
4116
3756
  {
4117
3757
  code: "id"
@@ -4119,8 +3759,6 @@
4119
3759
  ]
4120
3760
  },
4121
3761
  language: {
4122
- min: 0,
4123
- max: "1",
4124
3762
  type: [
4125
3763
  {
4126
3764
  code: "code"
@@ -4129,7 +3767,6 @@
4129
3767
  },
4130
3768
  map: {
4131
3769
  min: 1,
4132
- max: "1",
4133
3770
  type: [
4134
3771
  {
4135
3772
  code: "string"
@@ -4137,23 +3774,18 @@
4137
3774
  ]
4138
3775
  },
4139
3776
  comment: {
4140
- min: 0,
4141
- max: "1",
4142
3777
  type: [
4143
3778
  {
4144
3779
  code: "string"
4145
3780
  }
4146
3781
  ]
4147
3782
  }
4148
- },
4149
- parentType: "ElementDefinition"
3783
+ }
4150
3784
  },
4151
3785
  Expression: {
4152
3786
  display: "Expression",
4153
3787
  properties: {
4154
3788
  id: {
4155
- min: 0,
4156
- max: "1",
4157
3789
  type: [
4158
3790
  {
4159
3791
  code: "string"
@@ -4161,7 +3793,6 @@
4161
3793
  ]
4162
3794
  },
4163
3795
  extension: {
4164
- min: 0,
4165
3796
  max: "*",
4166
3797
  type: [
4167
3798
  {
@@ -4170,8 +3801,6 @@
4170
3801
  ]
4171
3802
  },
4172
3803
  description: {
4173
- min: 0,
4174
- max: "1",
4175
3804
  type: [
4176
3805
  {
4177
3806
  code: "string"
@@ -4179,8 +3808,6 @@
4179
3808
  ]
4180
3809
  },
4181
3810
  name: {
4182
- min: 0,
4183
- max: "1",
4184
3811
  type: [
4185
3812
  {
4186
3813
  code: "id"
@@ -4189,7 +3816,6 @@
4189
3816
  },
4190
3817
  language: {
4191
3818
  min: 1,
4192
- max: "1",
4193
3819
  type: [
4194
3820
  {
4195
3821
  code: "code"
@@ -4197,8 +3823,6 @@
4197
3823
  ]
4198
3824
  },
4199
3825
  expression: {
4200
- min: 0,
4201
- max: "1",
4202
3826
  type: [
4203
3827
  {
4204
3828
  code: "string"
@@ -4206,8 +3830,6 @@
4206
3830
  ]
4207
3831
  },
4208
3832
  reference: {
4209
- min: 0,
4210
- max: "1",
4211
3833
  type: [
4212
3834
  {
4213
3835
  code: "uri"
@@ -4220,8 +3842,6 @@
4220
3842
  display: "Extension",
4221
3843
  properties: {
4222
3844
  id: {
4223
- min: 0,
4224
- max: "1",
4225
3845
  type: [
4226
3846
  {
4227
3847
  code: "string"
@@ -4229,7 +3849,6 @@
4229
3849
  ]
4230
3850
  },
4231
3851
  extension: {
4232
- min: 0,
4233
3852
  max: "*",
4234
3853
  type: [
4235
3854
  {
@@ -4239,7 +3858,6 @@
4239
3858
  },
4240
3859
  url: {
4241
3860
  min: 1,
4242
- max: "1",
4243
3861
  type: [
4244
3862
  {
4245
3863
  code: "string"
@@ -4247,8 +3865,6 @@
4247
3865
  ]
4248
3866
  },
4249
3867
  "value[x]": {
4250
- min: 0,
4251
- max: "1",
4252
3868
  type: [
4253
3869
  {
4254
3870
  code: "base64Binary"
@@ -4408,8 +4024,6 @@
4408
4024
  display: "HumanName",
4409
4025
  properties: {
4410
4026
  id: {
4411
- min: 0,
4412
- max: "1",
4413
4027
  type: [
4414
4028
  {
4415
4029
  code: "string"
@@ -4417,7 +4031,6 @@
4417
4031
  ]
4418
4032
  },
4419
4033
  extension: {
4420
- min: 0,
4421
4034
  max: "*",
4422
4035
  type: [
4423
4036
  {
@@ -4426,8 +4039,6 @@
4426
4039
  ]
4427
4040
  },
4428
4041
  use: {
4429
- min: 0,
4430
- max: "1",
4431
4042
  type: [
4432
4043
  {
4433
4044
  code: "code"
@@ -4435,8 +4046,6 @@
4435
4046
  ]
4436
4047
  },
4437
4048
  text: {
4438
- min: 0,
4439
- max: "1",
4440
4049
  type: [
4441
4050
  {
4442
4051
  code: "string"
@@ -4444,8 +4053,6 @@
4444
4053
  ]
4445
4054
  },
4446
4055
  family: {
4447
- min: 0,
4448
- max: "1",
4449
4056
  type: [
4450
4057
  {
4451
4058
  code: "string"
@@ -4453,7 +4060,6 @@
4453
4060
  ]
4454
4061
  },
4455
4062
  given: {
4456
- min: 0,
4457
4063
  max: "*",
4458
4064
  type: [
4459
4065
  {
@@ -4462,7 +4068,6 @@
4462
4068
  ]
4463
4069
  },
4464
4070
  prefix: {
4465
- min: 0,
4466
4071
  max: "*",
4467
4072
  type: [
4468
4073
  {
@@ -4471,7 +4076,6 @@
4471
4076
  ]
4472
4077
  },
4473
4078
  suffix: {
4474
- min: 0,
4475
4079
  max: "*",
4476
4080
  type: [
4477
4081
  {
@@ -4480,8 +4084,6 @@
4480
4084
  ]
4481
4085
  },
4482
4086
  period: {
4483
- min: 0,
4484
- max: "1",
4485
4087
  type: [
4486
4088
  {
4487
4089
  code: "Period"
@@ -4494,8 +4096,6 @@
4494
4096
  display: "Identifier",
4495
4097
  properties: {
4496
4098
  id: {
4497
- min: 0,
4498
- max: "1",
4499
4099
  type: [
4500
4100
  {
4501
4101
  code: "string"
@@ -4503,7 +4103,6 @@
4503
4103
  ]
4504
4104
  },
4505
4105
  extension: {
4506
- min: 0,
4507
4106
  max: "*",
4508
4107
  type: [
4509
4108
  {
@@ -4512,8 +4111,6 @@
4512
4111
  ]
4513
4112
  },
4514
4113
  use: {
4515
- min: 0,
4516
- max: "1",
4517
4114
  type: [
4518
4115
  {
4519
4116
  code: "code"
@@ -4521,8 +4118,6 @@
4521
4118
  ]
4522
4119
  },
4523
4120
  type: {
4524
- min: 0,
4525
- max: "1",
4526
4121
  type: [
4527
4122
  {
4528
4123
  code: "CodeableConcept"
@@ -4530,8 +4125,6 @@
4530
4125
  ]
4531
4126
  },
4532
4127
  system: {
4533
- min: 0,
4534
- max: "1",
4535
4128
  type: [
4536
4129
  {
4537
4130
  code: "uri"
@@ -4539,8 +4132,6 @@
4539
4132
  ]
4540
4133
  },
4541
4134
  value: {
4542
- min: 0,
4543
- max: "1",
4544
4135
  type: [
4545
4136
  {
4546
4137
  code: "string"
@@ -4548,8 +4139,6 @@
4548
4139
  ]
4549
4140
  },
4550
4141
  period: {
4551
- min: 0,
4552
- max: "1",
4553
4142
  type: [
4554
4143
  {
4555
4144
  code: "Period"
@@ -4557,8 +4146,6 @@
4557
4146
  ]
4558
4147
  },
4559
4148
  assigner: {
4560
- min: 0,
4561
- max: "1",
4562
4149
  type: [
4563
4150
  {
4564
4151
  code: "Reference",
@@ -4574,8 +4161,6 @@
4574
4161
  display: "MarketingStatus",
4575
4162
  properties: {
4576
4163
  id: {
4577
- min: 0,
4578
- max: "1",
4579
4164
  type: [
4580
4165
  {
4581
4166
  code: "string"
@@ -4583,7 +4168,6 @@
4583
4168
  ]
4584
4169
  },
4585
4170
  extension: {
4586
- min: 0,
4587
4171
  max: "*",
4588
4172
  type: [
4589
4173
  {
@@ -4592,7 +4176,6 @@
4592
4176
  ]
4593
4177
  },
4594
4178
  modifierExtension: {
4595
- min: 0,
4596
4179
  max: "*",
4597
4180
  type: [
4598
4181
  {
@@ -4602,7 +4185,6 @@
4602
4185
  },
4603
4186
  country: {
4604
4187
  min: 1,
4605
- max: "1",
4606
4188
  type: [
4607
4189
  {
4608
4190
  code: "CodeableConcept"
@@ -4610,8 +4192,6 @@
4610
4192
  ]
4611
4193
  },
4612
4194
  jurisdiction: {
4613
- min: 0,
4614
- max: "1",
4615
4195
  type: [
4616
4196
  {
4617
4197
  code: "CodeableConcept"
@@ -4620,7 +4200,6 @@
4620
4200
  },
4621
4201
  status: {
4622
4202
  min: 1,
4623
- max: "1",
4624
4203
  type: [
4625
4204
  {
4626
4205
  code: "CodeableConcept"
@@ -4629,7 +4208,6 @@
4629
4208
  },
4630
4209
  dateRange: {
4631
4210
  min: 1,
4632
- max: "1",
4633
4211
  type: [
4634
4212
  {
4635
4213
  code: "Period"
@@ -4637,8 +4215,6 @@
4637
4215
  ]
4638
4216
  },
4639
4217
  restoreDate: {
4640
- min: 0,
4641
- max: "1",
4642
4218
  type: [
4643
4219
  {
4644
4220
  code: "dateTime"
@@ -4651,8 +4227,6 @@
4651
4227
  display: "Meta",
4652
4228
  properties: {
4653
4229
  id: {
4654
- min: 0,
4655
- max: "1",
4656
4230
  type: [
4657
4231
  {
4658
4232
  code: "string"
@@ -4660,7 +4234,6 @@
4660
4234
  ]
4661
4235
  },
4662
4236
  extension: {
4663
- min: 0,
4664
4237
  max: "*",
4665
4238
  type: [
4666
4239
  {
@@ -4669,8 +4242,6 @@
4669
4242
  ]
4670
4243
  },
4671
4244
  versionId: {
4672
- min: 0,
4673
- max: "1",
4674
4245
  type: [
4675
4246
  {
4676
4247
  code: "id"
@@ -4678,8 +4249,6 @@
4678
4249
  ]
4679
4250
  },
4680
4251
  lastUpdated: {
4681
- min: 0,
4682
- max: "1",
4683
4252
  type: [
4684
4253
  {
4685
4254
  code: "instant"
@@ -4687,8 +4256,6 @@
4687
4256
  ]
4688
4257
  },
4689
4258
  source: {
4690
- min: 0,
4691
- max: "1",
4692
4259
  type: [
4693
4260
  {
4694
4261
  code: "uri"
@@ -4696,7 +4263,6 @@
4696
4263
  ]
4697
4264
  },
4698
4265
  profile: {
4699
- min: 0,
4700
4266
  max: "*",
4701
4267
  type: [
4702
4268
  {
@@ -4708,7 +4274,6 @@
4708
4274
  ]
4709
4275
  },
4710
4276
  security: {
4711
- min: 0,
4712
4277
  max: "*",
4713
4278
  type: [
4714
4279
  {
@@ -4717,7 +4282,6 @@
4717
4282
  ]
4718
4283
  },
4719
4284
  tag: {
4720
- min: 0,
4721
4285
  max: "*",
4722
4286
  type: [
4723
4287
  {
@@ -4726,8 +4290,6 @@
4726
4290
  ]
4727
4291
  },
4728
4292
  project: {
4729
- min: 0,
4730
- max: "1",
4731
4293
  type: [
4732
4294
  {
4733
4295
  code: "uri"
@@ -4735,8 +4297,6 @@
4735
4297
  ]
4736
4298
  },
4737
4299
  author: {
4738
- min: 0,
4739
- max: "1",
4740
4300
  type: [
4741
4301
  {
4742
4302
  code: "Reference"
@@ -4744,8 +4304,14 @@
4744
4304
  ]
4745
4305
  },
4746
4306
  account: {
4747
- min: 0,
4748
- max: "1",
4307
+ type: [
4308
+ {
4309
+ code: "Reference"
4310
+ }
4311
+ ]
4312
+ },
4313
+ compartment: {
4314
+ max: "*",
4749
4315
  type: [
4750
4316
  {
4751
4317
  code: "Reference"
@@ -4758,8 +4324,6 @@
4758
4324
  display: "Money",
4759
4325
  properties: {
4760
4326
  id: {
4761
- min: 0,
4762
- max: "1",
4763
4327
  type: [
4764
4328
  {
4765
4329
  code: "string"
@@ -4767,7 +4331,6 @@
4767
4331
  ]
4768
4332
  },
4769
4333
  extension: {
4770
- min: 0,
4771
4334
  max: "*",
4772
4335
  type: [
4773
4336
  {
@@ -4776,8 +4339,6 @@
4776
4339
  ]
4777
4340
  },
4778
4341
  value: {
4779
- min: 0,
4780
- max: "1",
4781
4342
  type: [
4782
4343
  {
4783
4344
  code: "decimal"
@@ -4785,8 +4346,6 @@
4785
4346
  ]
4786
4347
  },
4787
4348
  currency: {
4788
- min: 0,
4789
- max: "1",
4790
4349
  type: [
4791
4350
  {
4792
4351
  code: "code"
@@ -4799,8 +4358,6 @@
4799
4358
  display: "Narrative",
4800
4359
  properties: {
4801
4360
  id: {
4802
- min: 0,
4803
- max: "1",
4804
4361
  type: [
4805
4362
  {
4806
4363
  code: "string"
@@ -4808,7 +4365,6 @@
4808
4365
  ]
4809
4366
  },
4810
4367
  extension: {
4811
- min: 0,
4812
4368
  max: "*",
4813
4369
  type: [
4814
4370
  {
@@ -4818,7 +4374,6 @@
4818
4374
  },
4819
4375
  status: {
4820
4376
  min: 1,
4821
- max: "1",
4822
4377
  type: [
4823
4378
  {
4824
4379
  code: "code"
@@ -4827,7 +4382,6 @@
4827
4382
  },
4828
4383
  div: {
4829
4384
  min: 1,
4830
- max: "1",
4831
4385
  type: [
4832
4386
  {
4833
4387
  code: "xhtml"
@@ -4840,8 +4394,6 @@
4840
4394
  display: "ParameterDefinition",
4841
4395
  properties: {
4842
4396
  id: {
4843
- min: 0,
4844
- max: "1",
4845
4397
  type: [
4846
4398
  {
4847
4399
  code: "string"
@@ -4849,7 +4401,6 @@
4849
4401
  ]
4850
4402
  },
4851
4403
  extension: {
4852
- min: 0,
4853
4404
  max: "*",
4854
4405
  type: [
4855
4406
  {
@@ -4858,8 +4409,6 @@
4858
4409
  ]
4859
4410
  },
4860
4411
  name: {
4861
- min: 0,
4862
- max: "1",
4863
4412
  type: [
4864
4413
  {
4865
4414
  code: "code"
@@ -4868,7 +4417,6 @@
4868
4417
  },
4869
4418
  use: {
4870
4419
  min: 1,
4871
- max: "1",
4872
4420
  type: [
4873
4421
  {
4874
4422
  code: "code"
@@ -4876,8 +4424,6 @@
4876
4424
  ]
4877
4425
  },
4878
4426
  min: {
4879
- min: 0,
4880
- max: "1",
4881
4427
  type: [
4882
4428
  {
4883
4429
  code: "integer"
@@ -4885,8 +4431,6 @@
4885
4431
  ]
4886
4432
  },
4887
4433
  max: {
4888
- min: 0,
4889
- max: "1",
4890
4434
  type: [
4891
4435
  {
4892
4436
  code: "string"
@@ -4894,8 +4438,6 @@
4894
4438
  ]
4895
4439
  },
4896
4440
  documentation: {
4897
- min: 0,
4898
- max: "1",
4899
4441
  type: [
4900
4442
  {
4901
4443
  code: "string"
@@ -4904,7 +4446,6 @@
4904
4446
  },
4905
4447
  type: {
4906
4448
  min: 1,
4907
- max: "1",
4908
4449
  type: [
4909
4450
  {
4910
4451
  code: "code"
@@ -4912,8 +4453,6 @@
4912
4453
  ]
4913
4454
  },
4914
4455
  profile: {
4915
- min: 0,
4916
- max: "1",
4917
4456
  type: [
4918
4457
  {
4919
4458
  code: "canonical",
@@ -4929,8 +4468,6 @@
4929
4468
  display: "Period",
4930
4469
  properties: {
4931
4470
  id: {
4932
- min: 0,
4933
- max: "1",
4934
4471
  type: [
4935
4472
  {
4936
4473
  code: "string"
@@ -4938,7 +4475,6 @@
4938
4475
  ]
4939
4476
  },
4940
4477
  extension: {
4941
- min: 0,
4942
4478
  max: "*",
4943
4479
  type: [
4944
4480
  {
@@ -4947,8 +4483,6 @@
4947
4483
  ]
4948
4484
  },
4949
4485
  start: {
4950
- min: 0,
4951
- max: "1",
4952
4486
  type: [
4953
4487
  {
4954
4488
  code: "dateTime"
@@ -4956,8 +4490,6 @@
4956
4490
  ]
4957
4491
  },
4958
4492
  end: {
4959
- min: 0,
4960
- max: "1",
4961
4493
  type: [
4962
4494
  {
4963
4495
  code: "dateTime"
@@ -4970,8 +4502,6 @@
4970
4502
  display: "Population",
4971
4503
  properties: {
4972
4504
  id: {
4973
- min: 0,
4974
- max: "1",
4975
4505
  type: [
4976
4506
  {
4977
4507
  code: "string"
@@ -4979,7 +4509,6 @@
4979
4509
  ]
4980
4510
  },
4981
4511
  extension: {
4982
- min: 0,
4983
4512
  max: "*",
4984
4513
  type: [
4985
4514
  {
@@ -4988,7 +4517,6 @@
4988
4517
  ]
4989
4518
  },
4990
4519
  modifierExtension: {
4991
- min: 0,
4992
4520
  max: "*",
4993
4521
  type: [
4994
4522
  {
@@ -4997,8 +4525,6 @@
4997
4525
  ]
4998
4526
  },
4999
4527
  "age[x]": {
5000
- min: 0,
5001
- max: "1",
5002
4528
  type: [
5003
4529
  {
5004
4530
  code: "Range"
@@ -5009,8 +4535,6 @@
5009
4535
  ]
5010
4536
  },
5011
4537
  gender: {
5012
- min: 0,
5013
- max: "1",
5014
4538
  type: [
5015
4539
  {
5016
4540
  code: "CodeableConcept"
@@ -5018,8 +4542,6 @@
5018
4542
  ]
5019
4543
  },
5020
4544
  race: {
5021
- min: 0,
5022
- max: "1",
5023
4545
  type: [
5024
4546
  {
5025
4547
  code: "CodeableConcept"
@@ -5027,8 +4549,6 @@
5027
4549
  ]
5028
4550
  },
5029
4551
  physiologicalCondition: {
5030
- min: 0,
5031
- max: "1",
5032
4552
  type: [
5033
4553
  {
5034
4554
  code: "CodeableConcept"
@@ -5041,8 +4561,6 @@
5041
4561
  display: "ProdCharacteristic",
5042
4562
  properties: {
5043
4563
  id: {
5044
- min: 0,
5045
- max: "1",
5046
4564
  type: [
5047
4565
  {
5048
4566
  code: "string"
@@ -5050,7 +4568,6 @@
5050
4568
  ]
5051
4569
  },
5052
4570
  extension: {
5053
- min: 0,
5054
4571
  max: "*",
5055
4572
  type: [
5056
4573
  {
@@ -5059,7 +4576,6 @@
5059
4576
  ]
5060
4577
  },
5061
4578
  modifierExtension: {
5062
- min: 0,
5063
4579
  max: "*",
5064
4580
  type: [
5065
4581
  {
@@ -5068,8 +4584,6 @@
5068
4584
  ]
5069
4585
  },
5070
4586
  height: {
5071
- min: 0,
5072
- max: "1",
5073
4587
  type: [
5074
4588
  {
5075
4589
  code: "Quantity"
@@ -5077,8 +4591,6 @@
5077
4591
  ]
5078
4592
  },
5079
4593
  width: {
5080
- min: 0,
5081
- max: "1",
5082
4594
  type: [
5083
4595
  {
5084
4596
  code: "Quantity"
@@ -5086,8 +4598,6 @@
5086
4598
  ]
5087
4599
  },
5088
4600
  depth: {
5089
- min: 0,
5090
- max: "1",
5091
4601
  type: [
5092
4602
  {
5093
4603
  code: "Quantity"
@@ -5095,8 +4605,6 @@
5095
4605
  ]
5096
4606
  },
5097
4607
  weight: {
5098
- min: 0,
5099
- max: "1",
5100
4608
  type: [
5101
4609
  {
5102
4610
  code: "Quantity"
@@ -5104,8 +4612,6 @@
5104
4612
  ]
5105
4613
  },
5106
4614
  nominalVolume: {
5107
- min: 0,
5108
- max: "1",
5109
4615
  type: [
5110
4616
  {
5111
4617
  code: "Quantity"
@@ -5113,8 +4619,6 @@
5113
4619
  ]
5114
4620
  },
5115
4621
  externalDiameter: {
5116
- min: 0,
5117
- max: "1",
5118
4622
  type: [
5119
4623
  {
5120
4624
  code: "Quantity"
@@ -5122,8 +4626,6 @@
5122
4626
  ]
5123
4627
  },
5124
4628
  shape: {
5125
- min: 0,
5126
- max: "1",
5127
4629
  type: [
5128
4630
  {
5129
4631
  code: "string"
@@ -5131,7 +4633,6 @@
5131
4633
  ]
5132
4634
  },
5133
4635
  color: {
5134
- min: 0,
5135
4636
  max: "*",
5136
4637
  type: [
5137
4638
  {
@@ -5140,7 +4641,6 @@
5140
4641
  ]
5141
4642
  },
5142
4643
  imprint: {
5143
- min: 0,
5144
4644
  max: "*",
5145
4645
  type: [
5146
4646
  {
@@ -5149,7 +4649,6 @@
5149
4649
  ]
5150
4650
  },
5151
4651
  image: {
5152
- min: 0,
5153
4652
  max: "*",
5154
4653
  type: [
5155
4654
  {
@@ -5158,8 +4657,6 @@
5158
4657
  ]
5159
4658
  },
5160
4659
  scoring: {
5161
- min: 0,
5162
- max: "1",
5163
4660
  type: [
5164
4661
  {
5165
4662
  code: "CodeableConcept"
@@ -5172,8 +4669,6 @@
5172
4669
  display: "ProductShelfLife",
5173
4670
  properties: {
5174
4671
  id: {
5175
- min: 0,
5176
- max: "1",
5177
4672
  type: [
5178
4673
  {
5179
4674
  code: "string"
@@ -5181,7 +4676,6 @@
5181
4676
  ]
5182
4677
  },
5183
4678
  extension: {
5184
- min: 0,
5185
4679
  max: "*",
5186
4680
  type: [
5187
4681
  {
@@ -5190,7 +4684,6 @@
5190
4684
  ]
5191
4685
  },
5192
4686
  modifierExtension: {
5193
- min: 0,
5194
4687
  max: "*",
5195
4688
  type: [
5196
4689
  {
@@ -5199,8 +4692,6 @@
5199
4692
  ]
5200
4693
  },
5201
4694
  identifier: {
5202
- min: 0,
5203
- max: "1",
5204
4695
  type: [
5205
4696
  {
5206
4697
  code: "Identifier"
@@ -5209,7 +4700,6 @@
5209
4700
  },
5210
4701
  type: {
5211
4702
  min: 1,
5212
- max: "1",
5213
4703
  type: [
5214
4704
  {
5215
4705
  code: "CodeableConcept"
@@ -5218,7 +4708,6 @@
5218
4708
  },
5219
4709
  period: {
5220
4710
  min: 1,
5221
- max: "1",
5222
4711
  type: [
5223
4712
  {
5224
4713
  code: "Quantity"
@@ -5226,7 +4715,6 @@
5226
4715
  ]
5227
4716
  },
5228
4717
  specialPrecautionsForStorage: {
5229
- min: 0,
5230
4718
  max: "*",
5231
4719
  type: [
5232
4720
  {
@@ -5240,8 +4728,6 @@
5240
4728
  display: "Quantity",
5241
4729
  properties: {
5242
4730
  id: {
5243
- min: 0,
5244
- max: "1",
5245
4731
  type: [
5246
4732
  {
5247
4733
  code: "string"
@@ -5249,7 +4735,6 @@
5249
4735
  ]
5250
4736
  },
5251
4737
  extension: {
5252
- min: 0,
5253
4738
  max: "*",
5254
4739
  type: [
5255
4740
  {
@@ -5258,8 +4743,6 @@
5258
4743
  ]
5259
4744
  },
5260
4745
  value: {
5261
- min: 0,
5262
- max: "1",
5263
4746
  type: [
5264
4747
  {
5265
4748
  code: "decimal"
@@ -5267,7 +4750,6 @@
5267
4750
  ]
5268
4751
  },
5269
4752
  comparator: {
5270
- min: 0,
5271
4753
  max: "0",
5272
4754
  type: [
5273
4755
  {
@@ -5276,8 +4758,6 @@
5276
4758
  ]
5277
4759
  },
5278
4760
  unit: {
5279
- min: 0,
5280
- max: "1",
5281
4761
  type: [
5282
4762
  {
5283
4763
  code: "string"
@@ -5285,8 +4765,6 @@
5285
4765
  ]
5286
4766
  },
5287
4767
  system: {
5288
- min: 0,
5289
- max: "1",
5290
4768
  type: [
5291
4769
  {
5292
4770
  code: "uri"
@@ -5294,8 +4772,6 @@
5294
4772
  ]
5295
4773
  },
5296
4774
  code: {
5297
- min: 0,
5298
- max: "1",
5299
4775
  type: [
5300
4776
  {
5301
4777
  code: "code"
@@ -5308,8 +4784,6 @@
5308
4784
  display: "Range",
5309
4785
  properties: {
5310
4786
  id: {
5311
- min: 0,
5312
- max: "1",
5313
4787
  type: [
5314
4788
  {
5315
4789
  code: "string"
@@ -5317,7 +4791,6 @@
5317
4791
  ]
5318
4792
  },
5319
4793
  extension: {
5320
- min: 0,
5321
4794
  max: "*",
5322
4795
  type: [
5323
4796
  {
@@ -5326,8 +4799,6 @@
5326
4799
  ]
5327
4800
  },
5328
4801
  low: {
5329
- min: 0,
5330
- max: "1",
5331
4802
  type: [
5332
4803
  {
5333
4804
  code: "Quantity",
@@ -5338,8 +4809,6 @@
5338
4809
  ]
5339
4810
  },
5340
4811
  high: {
5341
- min: 0,
5342
- max: "1",
5343
4812
  type: [
5344
4813
  {
5345
4814
  code: "Quantity",
@@ -5355,8 +4824,6 @@
5355
4824
  display: "Ratio",
5356
4825
  properties: {
5357
4826
  id: {
5358
- min: 0,
5359
- max: "1",
5360
4827
  type: [
5361
4828
  {
5362
4829
  code: "string"
@@ -5364,7 +4831,6 @@
5364
4831
  ]
5365
4832
  },
5366
4833
  extension: {
5367
- min: 0,
5368
4834
  max: "*",
5369
4835
  type: [
5370
4836
  {
@@ -5373,8 +4839,6 @@
5373
4839
  ]
5374
4840
  },
5375
4841
  numerator: {
5376
- min: 0,
5377
- max: "1",
5378
4842
  type: [
5379
4843
  {
5380
4844
  code: "Quantity"
@@ -5382,8 +4846,6 @@
5382
4846
  ]
5383
4847
  },
5384
4848
  denominator: {
5385
- min: 0,
5386
- max: "1",
5387
4849
  type: [
5388
4850
  {
5389
4851
  code: "Quantity"
@@ -5396,8 +4858,6 @@
5396
4858
  display: "Reference",
5397
4859
  properties: {
5398
4860
  id: {
5399
- min: 0,
5400
- max: "1",
5401
4861
  type: [
5402
4862
  {
5403
4863
  code: "string"
@@ -5405,7 +4865,6 @@
5405
4865
  ]
5406
4866
  },
5407
4867
  extension: {
5408
- min: 0,
5409
4868
  max: "*",
5410
4869
  type: [
5411
4870
  {
@@ -5414,8 +4873,6 @@
5414
4873
  ]
5415
4874
  },
5416
4875
  reference: {
5417
- min: 0,
5418
- max: "1",
5419
4876
  type: [
5420
4877
  {
5421
4878
  code: "string"
@@ -5423,8 +4880,6 @@
5423
4880
  ]
5424
4881
  },
5425
4882
  type: {
5426
- min: 0,
5427
- max: "1",
5428
4883
  type: [
5429
4884
  {
5430
4885
  code: "uri"
@@ -5432,8 +4887,6 @@
5432
4887
  ]
5433
4888
  },
5434
4889
  identifier: {
5435
- min: 0,
5436
- max: "1",
5437
4890
  type: [
5438
4891
  {
5439
4892
  code: "Identifier"
@@ -5441,8 +4894,6 @@
5441
4894
  ]
5442
4895
  },
5443
4896
  display: {
5444
- min: 0,
5445
- max: "1",
5446
4897
  type: [
5447
4898
  {
5448
4899
  code: "string"
@@ -5455,8 +4906,6 @@
5455
4906
  display: "RelatedArtifact",
5456
4907
  properties: {
5457
4908
  id: {
5458
- min: 0,
5459
- max: "1",
5460
4909
  type: [
5461
4910
  {
5462
4911
  code: "string"
@@ -5464,7 +4913,6 @@
5464
4913
  ]
5465
4914
  },
5466
4915
  extension: {
5467
- min: 0,
5468
4916
  max: "*",
5469
4917
  type: [
5470
4918
  {
@@ -5474,7 +4922,6 @@
5474
4922
  },
5475
4923
  type: {
5476
4924
  min: 1,
5477
- max: "1",
5478
4925
  type: [
5479
4926
  {
5480
4927
  code: "code"
@@ -5482,8 +4929,6 @@
5482
4929
  ]
5483
4930
  },
5484
4931
  label: {
5485
- min: 0,
5486
- max: "1",
5487
4932
  type: [
5488
4933
  {
5489
4934
  code: "string"
@@ -5491,8 +4936,6 @@
5491
4936
  ]
5492
4937
  },
5493
4938
  display: {
5494
- min: 0,
5495
- max: "1",
5496
4939
  type: [
5497
4940
  {
5498
4941
  code: "string"
@@ -5500,8 +4943,6 @@
5500
4943
  ]
5501
4944
  },
5502
4945
  citation: {
5503
- min: 0,
5504
- max: "1",
5505
4946
  type: [
5506
4947
  {
5507
4948
  code: "markdown"
@@ -5509,8 +4950,6 @@
5509
4950
  ]
5510
4951
  },
5511
4952
  url: {
5512
- min: 0,
5513
- max: "1",
5514
4953
  type: [
5515
4954
  {
5516
4955
  code: "url"
@@ -5518,8 +4957,6 @@
5518
4957
  ]
5519
4958
  },
5520
4959
  document: {
5521
- min: 0,
5522
- max: "1",
5523
4960
  type: [
5524
4961
  {
5525
4962
  code: "Attachment"
@@ -5527,8 +4964,6 @@
5527
4964
  ]
5528
4965
  },
5529
4966
  resource: {
5530
- min: 0,
5531
- max: "1",
5532
4967
  type: [
5533
4968
  {
5534
4969
  code: "canonical",
@@ -5544,8 +4979,6 @@
5544
4979
  display: "SampledData",
5545
4980
  properties: {
5546
4981
  id: {
5547
- min: 0,
5548
- max: "1",
5549
4982
  type: [
5550
4983
  {
5551
4984
  code: "string"
@@ -5553,7 +4986,6 @@
5553
4986
  ]
5554
4987
  },
5555
4988
  extension: {
5556
- min: 0,
5557
4989
  max: "*",
5558
4990
  type: [
5559
4991
  {
@@ -5563,7 +4995,6 @@
5563
4995
  },
5564
4996
  origin: {
5565
4997
  min: 1,
5566
- max: "1",
5567
4998
  type: [
5568
4999
  {
5569
5000
  code: "Quantity",
@@ -5575,7 +5006,6 @@
5575
5006
  },
5576
5007
  period: {
5577
5008
  min: 1,
5578
- max: "1",
5579
5009
  type: [
5580
5010
  {
5581
5011
  code: "decimal"
@@ -5583,8 +5013,6 @@
5583
5013
  ]
5584
5014
  },
5585
5015
  factor: {
5586
- min: 0,
5587
- max: "1",
5588
5016
  type: [
5589
5017
  {
5590
5018
  code: "decimal"
@@ -5592,8 +5020,6 @@
5592
5020
  ]
5593
5021
  },
5594
5022
  lowerLimit: {
5595
- min: 0,
5596
- max: "1",
5597
5023
  type: [
5598
5024
  {
5599
5025
  code: "decimal"
@@ -5601,8 +5027,6 @@
5601
5027
  ]
5602
5028
  },
5603
5029
  upperLimit: {
5604
- min: 0,
5605
- max: "1",
5606
5030
  type: [
5607
5031
  {
5608
5032
  code: "decimal"
@@ -5611,7 +5035,6 @@
5611
5035
  },
5612
5036
  dimensions: {
5613
5037
  min: 1,
5614
- max: "1",
5615
5038
  type: [
5616
5039
  {
5617
5040
  code: "positiveInt"
@@ -5619,8 +5042,6 @@
5619
5042
  ]
5620
5043
  },
5621
5044
  data: {
5622
- min: 0,
5623
- max: "1",
5624
5045
  type: [
5625
5046
  {
5626
5047
  code: "string"
@@ -5633,8 +5054,6 @@
5633
5054
  display: "Signature",
5634
5055
  properties: {
5635
5056
  id: {
5636
- min: 0,
5637
- max: "1",
5638
5057
  type: [
5639
5058
  {
5640
5059
  code: "string"
@@ -5642,7 +5061,6 @@
5642
5061
  ]
5643
5062
  },
5644
5063
  extension: {
5645
- min: 0,
5646
5064
  max: "*",
5647
5065
  type: [
5648
5066
  {
@@ -5661,7 +5079,6 @@
5661
5079
  },
5662
5080
  when: {
5663
5081
  min: 1,
5664
- max: "1",
5665
5082
  type: [
5666
5083
  {
5667
5084
  code: "instant"
@@ -5670,7 +5087,6 @@
5670
5087
  },
5671
5088
  who: {
5672
5089
  min: 1,
5673
- max: "1",
5674
5090
  type: [
5675
5091
  {
5676
5092
  code: "Reference",
@@ -5686,8 +5102,6 @@
5686
5102
  ]
5687
5103
  },
5688
5104
  onBehalfOf: {
5689
- min: 0,
5690
- max: "1",
5691
5105
  type: [
5692
5106
  {
5693
5107
  code: "Reference",
@@ -5703,8 +5117,6 @@
5703
5117
  ]
5704
5118
  },
5705
5119
  targetFormat: {
5706
- min: 0,
5707
- max: "1",
5708
5120
  type: [
5709
5121
  {
5710
5122
  code: "code"
@@ -5712,8 +5124,6 @@
5712
5124
  ]
5713
5125
  },
5714
5126
  sigFormat: {
5715
- min: 0,
5716
- max: "1",
5717
5127
  type: [
5718
5128
  {
5719
5129
  code: "code"
@@ -5721,8 +5131,6 @@
5721
5131
  ]
5722
5132
  },
5723
5133
  data: {
5724
- min: 0,
5725
- max: "1",
5726
5134
  type: [
5727
5135
  {
5728
5136
  code: "base64Binary"
@@ -5735,8 +5143,6 @@
5735
5143
  display: "SubstanceAmount",
5736
5144
  properties: {
5737
5145
  id: {
5738
- min: 0,
5739
- max: "1",
5740
5146
  type: [
5741
5147
  {
5742
5148
  code: "string"
@@ -5744,7 +5150,6 @@
5744
5150
  ]
5745
5151
  },
5746
5152
  extension: {
5747
- min: 0,
5748
5153
  max: "*",
5749
5154
  type: [
5750
5155
  {
@@ -5753,7 +5158,6 @@
5753
5158
  ]
5754
5159
  },
5755
5160
  modifierExtension: {
5756
- min: 0,
5757
5161
  max: "*",
5758
5162
  type: [
5759
5163
  {
@@ -5762,8 +5166,6 @@
5762
5166
  ]
5763
5167
  },
5764
5168
  "amount[x]": {
5765
- min: 0,
5766
- max: "1",
5767
5169
  type: [
5768
5170
  {
5769
5171
  code: "Quantity"
@@ -5777,8 +5179,6 @@
5777
5179
  ]
5778
5180
  },
5779
5181
  amountType: {
5780
- min: 0,
5781
- max: "1",
5782
5182
  type: [
5783
5183
  {
5784
5184
  code: "CodeableConcept"
@@ -5786,8 +5186,6 @@
5786
5186
  ]
5787
5187
  },
5788
5188
  amountText: {
5789
- min: 0,
5790
- max: "1",
5791
5189
  type: [
5792
5190
  {
5793
5191
  code: "string"
@@ -5795,8 +5193,6 @@
5795
5193
  ]
5796
5194
  },
5797
5195
  referenceRange: {
5798
- min: 0,
5799
- max: "1",
5800
5196
  type: [
5801
5197
  {
5802
5198
  code: "Element"
@@ -5809,8 +5205,6 @@
5809
5205
  display: "SubstanceAmountReferenceRange",
5810
5206
  properties: {
5811
5207
  id: {
5812
- min: 0,
5813
- max: "1",
5814
5208
  type: [
5815
5209
  {
5816
5210
  code: "string"
@@ -5818,7 +5212,6 @@
5818
5212
  ]
5819
5213
  },
5820
5214
  extension: {
5821
- min: 0,
5822
5215
  max: "*",
5823
5216
  type: [
5824
5217
  {
@@ -5827,8 +5220,6 @@
5827
5220
  ]
5828
5221
  },
5829
5222
  lowLimit: {
5830
- min: 0,
5831
- max: "1",
5832
5223
  type: [
5833
5224
  {
5834
5225
  code: "Quantity"
@@ -5836,23 +5227,18 @@
5836
5227
  ]
5837
5228
  },
5838
5229
  highLimit: {
5839
- min: 0,
5840
- max: "1",
5841
5230
  type: [
5842
5231
  {
5843
5232
  code: "Quantity"
5844
5233
  }
5845
5234
  ]
5846
5235
  }
5847
- },
5848
- parentType: "SubstanceAmount"
5236
+ }
5849
5237
  },
5850
5238
  Timing: {
5851
5239
  display: "Timing",
5852
5240
  properties: {
5853
5241
  id: {
5854
- min: 0,
5855
- max: "1",
5856
5242
  type: [
5857
5243
  {
5858
5244
  code: "string"
@@ -5860,7 +5246,6 @@
5860
5246
  ]
5861
5247
  },
5862
5248
  extension: {
5863
- min: 0,
5864
5249
  max: "*",
5865
5250
  type: [
5866
5251
  {
@@ -5869,7 +5254,6 @@
5869
5254
  ]
5870
5255
  },
5871
5256
  modifierExtension: {
5872
- min: 0,
5873
5257
  max: "*",
5874
5258
  type: [
5875
5259
  {
@@ -5878,7 +5262,6 @@
5878
5262
  ]
5879
5263
  },
5880
5264
  event: {
5881
- min: 0,
5882
5265
  max: "*",
5883
5266
  type: [
5884
5267
  {
@@ -5887,8 +5270,6 @@
5887
5270
  ]
5888
5271
  },
5889
5272
  repeat: {
5890
- min: 0,
5891
- max: "1",
5892
5273
  type: [
5893
5274
  {
5894
5275
  code: "Element"
@@ -5896,8 +5277,6 @@
5896
5277
  ]
5897
5278
  },
5898
5279
  code: {
5899
- min: 0,
5900
- max: "1",
5901
5280
  type: [
5902
5281
  {
5903
5282
  code: "CodeableConcept"
@@ -5910,8 +5289,6 @@
5910
5289
  display: "TimingRepeat",
5911
5290
  properties: {
5912
5291
  id: {
5913
- min: 0,
5914
- max: "1",
5915
5292
  type: [
5916
5293
  {
5917
5294
  code: "string"
@@ -5919,7 +5296,6 @@
5919
5296
  ]
5920
5297
  },
5921
5298
  extension: {
5922
- min: 0,
5923
5299
  max: "*",
5924
5300
  type: [
5925
5301
  {
@@ -5928,8 +5304,6 @@
5928
5304
  ]
5929
5305
  },
5930
5306
  "bounds[x]": {
5931
- min: 0,
5932
- max: "1",
5933
5307
  type: [
5934
5308
  {
5935
5309
  code: "Duration"
@@ -5943,8 +5317,6 @@
5943
5317
  ]
5944
5318
  },
5945
5319
  count: {
5946
- min: 0,
5947
- max: "1",
5948
5320
  type: [
5949
5321
  {
5950
5322
  code: "positiveInt"
@@ -5952,8 +5324,6 @@
5952
5324
  ]
5953
5325
  },
5954
5326
  countMax: {
5955
- min: 0,
5956
- max: "1",
5957
5327
  type: [
5958
5328
  {
5959
5329
  code: "positiveInt"
@@ -5961,8 +5331,6 @@
5961
5331
  ]
5962
5332
  },
5963
5333
  duration: {
5964
- min: 0,
5965
- max: "1",
5966
5334
  type: [
5967
5335
  {
5968
5336
  code: "decimal"
@@ -5970,8 +5338,6 @@
5970
5338
  ]
5971
5339
  },
5972
5340
  durationMax: {
5973
- min: 0,
5974
- max: "1",
5975
5341
  type: [
5976
5342
  {
5977
5343
  code: "decimal"
@@ -5979,8 +5345,6 @@
5979
5345
  ]
5980
5346
  },
5981
5347
  durationUnit: {
5982
- min: 0,
5983
- max: "1",
5984
5348
  type: [
5985
5349
  {
5986
5350
  code: "code"
@@ -5988,8 +5352,6 @@
5988
5352
  ]
5989
5353
  },
5990
5354
  frequency: {
5991
- min: 0,
5992
- max: "1",
5993
5355
  type: [
5994
5356
  {
5995
5357
  code: "positiveInt"
@@ -5997,8 +5359,6 @@
5997
5359
  ]
5998
5360
  },
5999
5361
  frequencyMax: {
6000
- min: 0,
6001
- max: "1",
6002
5362
  type: [
6003
5363
  {
6004
5364
  code: "positiveInt"
@@ -6006,8 +5366,6 @@
6006
5366
  ]
6007
5367
  },
6008
5368
  period: {
6009
- min: 0,
6010
- max: "1",
6011
5369
  type: [
6012
5370
  {
6013
5371
  code: "decimal"
@@ -6015,8 +5373,6 @@
6015
5373
  ]
6016
5374
  },
6017
5375
  periodMax: {
6018
- min: 0,
6019
- max: "1",
6020
5376
  type: [
6021
5377
  {
6022
5378
  code: "decimal"
@@ -6024,8 +5380,6 @@
6024
5380
  ]
6025
5381
  },
6026
5382
  periodUnit: {
6027
- min: 0,
6028
- max: "1",
6029
5383
  type: [
6030
5384
  {
6031
5385
  code: "code"
@@ -6033,7 +5387,6 @@
6033
5387
  ]
6034
5388
  },
6035
5389
  dayOfWeek: {
6036
- min: 0,
6037
5390
  max: "*",
6038
5391
  type: [
6039
5392
  {
@@ -6042,7 +5395,6 @@
6042
5395
  ]
6043
5396
  },
6044
5397
  timeOfDay: {
6045
- min: 0,
6046
5398
  max: "*",
6047
5399
  type: [
6048
5400
  {
@@ -6051,7 +5403,6 @@
6051
5403
  ]
6052
5404
  },
6053
5405
  when: {
6054
- min: 0,
6055
5406
  max: "*",
6056
5407
  type: [
6057
5408
  {
@@ -6060,23 +5411,18 @@
6060
5411
  ]
6061
5412
  },
6062
5413
  offset: {
6063
- min: 0,
6064
- max: "1",
6065
5414
  type: [
6066
5415
  {
6067
5416
  code: "unsignedInt"
6068
5417
  }
6069
5418
  ]
6070
5419
  }
6071
- },
6072
- parentType: "Timing"
5420
+ }
6073
5421
  },
6074
5422
  TriggerDefinition: {
6075
5423
  display: "TriggerDefinition",
6076
5424
  properties: {
6077
5425
  id: {
6078
- min: 0,
6079
- max: "1",
6080
5426
  type: [
6081
5427
  {
6082
5428
  code: "string"
@@ -6084,7 +5430,6 @@
6084
5430
  ]
6085
5431
  },
6086
5432
  extension: {
6087
- min: 0,
6088
5433
  max: "*",
6089
5434
  type: [
6090
5435
  {
@@ -6094,7 +5439,6 @@
6094
5439
  },
6095
5440
  type: {
6096
5441
  min: 1,
6097
- max: "1",
6098
5442
  type: [
6099
5443
  {
6100
5444
  code: "code"
@@ -6102,8 +5446,6 @@
6102
5446
  ]
6103
5447
  },
6104
5448
  name: {
6105
- min: 0,
6106
- max: "1",
6107
5449
  type: [
6108
5450
  {
6109
5451
  code: "string"
@@ -6111,8 +5453,6 @@
6111
5453
  ]
6112
5454
  },
6113
5455
  "timing[x]": {
6114
- min: 0,
6115
- max: "1",
6116
5456
  type: [
6117
5457
  {
6118
5458
  code: "Timing"
@@ -6132,7 +5472,6 @@
6132
5472
  ]
6133
5473
  },
6134
5474
  data: {
6135
- min: 0,
6136
5475
  max: "*",
6137
5476
  type: [
6138
5477
  {
@@ -6141,8 +5480,6 @@
6141
5480
  ]
6142
5481
  },
6143
5482
  condition: {
6144
- min: 0,
6145
- max: "1",
6146
5483
  type: [
6147
5484
  {
6148
5485
  code: "Expression"
@@ -6155,8 +5492,6 @@
6155
5492
  display: "UsageContext",
6156
5493
  properties: {
6157
5494
  id: {
6158
- min: 0,
6159
- max: "1",
6160
5495
  type: [
6161
5496
  {
6162
5497
  code: "string"
@@ -6164,7 +5499,6 @@
6164
5499
  ]
6165
5500
  },
6166
5501
  extension: {
6167
- min: 0,
6168
5502
  max: "*",
6169
5503
  type: [
6170
5504
  {
@@ -6174,7 +5508,6 @@
6174
5508
  },
6175
5509
  code: {
6176
5510
  min: 1,
6177
- max: "1",
6178
5511
  type: [
6179
5512
  {
6180
5513
  code: "Coding"
@@ -6183,7 +5516,6 @@
6183
5516
  },
6184
5517
  "value[x]": {
6185
5518
  min: 1,
6186
- max: "1",
6187
5519
  type: [
6188
5520
  {
6189
5521
  code: "CodeableConcept"
@@ -6209,6 +5541,203 @@
6209
5541
  ]
6210
5542
  }
6211
5543
  }
5544
+ },
5545
+ MetadataResource: {
5546
+ display: "MetadataResource",
5547
+ properties: {
5548
+ id: {
5549
+ type: [
5550
+ {
5551
+ code: "string"
5552
+ }
5553
+ ]
5554
+ },
5555
+ meta: {
5556
+ type: [
5557
+ {
5558
+ code: "Meta"
5559
+ }
5560
+ ]
5561
+ },
5562
+ implicitRules: {
5563
+ type: [
5564
+ {
5565
+ code: "uri"
5566
+ }
5567
+ ]
5568
+ },
5569
+ language: {
5570
+ type: [
5571
+ {
5572
+ code: "code"
5573
+ }
5574
+ ]
5575
+ },
5576
+ text: {
5577
+ type: [
5578
+ {
5579
+ code: "Narrative"
5580
+ }
5581
+ ]
5582
+ },
5583
+ contained: {
5584
+ max: "*",
5585
+ type: [
5586
+ {
5587
+ code: "Resource"
5588
+ }
5589
+ ]
5590
+ },
5591
+ extension: {
5592
+ max: "*",
5593
+ type: [
5594
+ {
5595
+ code: "Extension"
5596
+ }
5597
+ ]
5598
+ },
5599
+ modifierExtension: {
5600
+ max: "*",
5601
+ type: [
5602
+ {
5603
+ code: "Extension"
5604
+ }
5605
+ ]
5606
+ },
5607
+ url: {
5608
+ type: [
5609
+ {
5610
+ code: "uri"
5611
+ }
5612
+ ]
5613
+ },
5614
+ version: {
5615
+ type: [
5616
+ {
5617
+ code: "string"
5618
+ }
5619
+ ]
5620
+ },
5621
+ name: {
5622
+ type: [
5623
+ {
5624
+ code: "string"
5625
+ }
5626
+ ]
5627
+ },
5628
+ title: {
5629
+ type: [
5630
+ {
5631
+ code: "string"
5632
+ }
5633
+ ]
5634
+ },
5635
+ status: {
5636
+ min: 1,
5637
+ type: [
5638
+ {
5639
+ code: "code"
5640
+ }
5641
+ ]
5642
+ },
5643
+ experimental: {
5644
+ type: [
5645
+ {
5646
+ code: "boolean"
5647
+ }
5648
+ ]
5649
+ },
5650
+ date: {
5651
+ type: [
5652
+ {
5653
+ code: "dateTime"
5654
+ }
5655
+ ]
5656
+ },
5657
+ publisher: {
5658
+ type: [
5659
+ {
5660
+ code: "string"
5661
+ }
5662
+ ]
5663
+ },
5664
+ contact: {
5665
+ max: "*",
5666
+ type: [
5667
+ {
5668
+ code: "ContactDetail"
5669
+ }
5670
+ ]
5671
+ },
5672
+ description: {
5673
+ type: [
5674
+ {
5675
+ code: "markdown"
5676
+ }
5677
+ ]
5678
+ },
5679
+ useContext: {
5680
+ max: "*",
5681
+ type: [
5682
+ {
5683
+ code: "UsageContext"
5684
+ }
5685
+ ]
5686
+ },
5687
+ jurisdiction: {
5688
+ max: "*",
5689
+ type: [
5690
+ {
5691
+ code: "CodeableConcept"
5692
+ }
5693
+ ]
5694
+ }
5695
+ }
5696
+ },
5697
+ IdentityProvider: {
5698
+ display: "IdentityProvider",
5699
+ properties: {
5700
+ authorizeUrl: {
5701
+ min: 1,
5702
+ type: [
5703
+ {
5704
+ code: "string"
5705
+ }
5706
+ ]
5707
+ },
5708
+ tokenUrl: {
5709
+ min: 1,
5710
+ type: [
5711
+ {
5712
+ code: "string"
5713
+ }
5714
+ ]
5715
+ },
5716
+ userInfoUrl: {
5717
+ min: 1,
5718
+ type: [
5719
+ {
5720
+ code: "string"
5721
+ }
5722
+ ]
5723
+ },
5724
+ clientId: {
5725
+ min: 1,
5726
+ type: [
5727
+ {
5728
+ code: "string"
5729
+ }
5730
+ ]
5731
+ },
5732
+ clientSecret: {
5733
+ min: 1,
5734
+ type: [
5735
+ {
5736
+ code: "string"
5737
+ }
5738
+ ]
5739
+ }
5740
+ }
6212
5741
  }
6213
5742
  };
6214
5743
  var baseSchema = {
@@ -6421,6 +5950,17 @@
6421
5950
  typeSchema.searchParams[searchParam.code] = searchParam;
6422
5951
  }
6423
5952
  }
5953
+ /**
5954
+ * Returns the type name for an ElementDefinition.
5955
+ * @param elementDefinition The element definition.
5956
+ * @returns The Medplum type name.
5957
+ */
5958
+ function getElementDefinitionTypeName(elementDefinition) {
5959
+ const code = elementDefinition.type?.[0]?.code;
5960
+ return code === 'BackboneElement' || code === 'Element'
5961
+ ? buildTypeName(elementDefinition.path?.split('.'))
5962
+ : code;
5963
+ }
6424
5964
  function buildTypeName(components) {
6425
5965
  if (components.length === 1) {
6426
5966
  return components[0];
@@ -6482,8 +6022,8 @@
6482
6022
 
6483
6023
  // PKCE auth based on:
6484
6024
  // https://aws.amazon.com/blogs/security/how-to-add-authentication-single-page-web-application-with-amazon-cognito-oauth2-implementation/
6485
- var _MedplumClient_instances, _MedplumClient_fetch, _MedplumClient_createPdf, _MedplumClient_storage, _MedplumClient_requestCache, _MedplumClient_cacheTime, _MedplumClient_baseUrl, _MedplumClient_authorizeUrl, _MedplumClient_tokenUrl, _MedplumClient_logoutUrl, _MedplumClient_onUnauthenticated, _MedplumClient_clientId, _MedplumClient_clientSecret, _MedplumClient_accessToken, _MedplumClient_refreshToken, _MedplumClient_refreshPromise, _MedplumClient_profilePromise, _MedplumClient_profile, _MedplumClient_config, _MedplumClient_addLogin, _MedplumClient_refreshProfile, _MedplumClient_getCacheEntry, _MedplumClient_setCacheEntry, _MedplumClient_request, _MedplumClient_addFetchOptionsDefaults, _MedplumClient_setRequestContentType, _MedplumClient_setRequestBody, _MedplumClient_handleUnauthenticated, _MedplumClient_requestAuthorization, _MedplumClient_refresh, _MedplumClient_fetchTokens, _MedplumClient_verifyTokens, _MedplumClient_setupStorageListener;
6486
- const MEDPLUM_VERSION = "2.0.0-7fe99080";
6025
+ var _MedplumClient_instances, _MedplumClient_fetch, _MedplumClient_createPdf, _MedplumClient_storage, _MedplumClient_requestCache, _MedplumClient_cacheTime, _MedplumClient_baseUrl, _MedplumClient_fhirBaseUrl, _MedplumClient_authorizeUrl, _MedplumClient_tokenUrl, _MedplumClient_logoutUrl, _MedplumClient_onUnauthenticated, _MedplumClient_autoBatchTime, _MedplumClient_autoBatchQueue, _MedplumClient_clientId, _MedplumClient_clientSecret, _MedplumClient_autoBatchTimerId, _MedplumClient_accessToken, _MedplumClient_refreshToken, _MedplumClient_refreshPromise, _MedplumClient_profilePromise, _MedplumClient_profile, _MedplumClient_config, _MedplumClient_addLogin, _MedplumClient_refreshProfile, _MedplumClient_getCacheEntry, _MedplumClient_setCacheEntry, _MedplumClient_request, _MedplumClient_executeAutoBatch, _MedplumClient_addFetchOptionsDefaults, _MedplumClient_setRequestContentType, _MedplumClient_setRequestBody, _MedplumClient_handleUnauthenticated, _MedplumClient_requestAuthorization, _MedplumClient_refresh, _MedplumClient_fetchTokens, _MedplumClient_verifyTokens, _MedplumClient_setupStorageListener;
6026
+ const MEDPLUM_VERSION = "2.0.1-89a5b1c5";
6487
6027
  const DEFAULT_BASE_URL = 'https://api.medplum.com/';
6488
6028
  const DEFAULT_RESOURCE_CACHE_SIZE = 1000;
6489
6029
  const DEFAULT_CACHE_TIME = 60000; // 60 seconds
@@ -6552,12 +6092,16 @@
6552
6092
  _MedplumClient_requestCache.set(this, void 0);
6553
6093
  _MedplumClient_cacheTime.set(this, void 0);
6554
6094
  _MedplumClient_baseUrl.set(this, void 0);
6095
+ _MedplumClient_fhirBaseUrl.set(this, void 0);
6555
6096
  _MedplumClient_authorizeUrl.set(this, void 0);
6556
6097
  _MedplumClient_tokenUrl.set(this, void 0);
6557
6098
  _MedplumClient_logoutUrl.set(this, void 0);
6558
6099
  _MedplumClient_onUnauthenticated.set(this, void 0);
6100
+ _MedplumClient_autoBatchTime.set(this, void 0);
6101
+ _MedplumClient_autoBatchQueue.set(this, void 0);
6559
6102
  _MedplumClient_clientId.set(this, void 0);
6560
6103
  _MedplumClient_clientSecret.set(this, void 0);
6104
+ _MedplumClient_autoBatchTimerId.set(this, void 0);
6561
6105
  _MedplumClient_accessToken.set(this, void 0);
6562
6106
  _MedplumClient_refreshToken.set(this, void 0);
6563
6107
  _MedplumClient_refreshPromise.set(this, void 0);
@@ -6575,11 +6119,14 @@
6575
6119
  __classPrivateFieldSet(this, _MedplumClient_requestCache, new LRUCache(options?.resourceCacheSize ?? DEFAULT_RESOURCE_CACHE_SIZE), "f");
6576
6120
  __classPrivateFieldSet(this, _MedplumClient_cacheTime, options?.cacheTime ?? DEFAULT_CACHE_TIME, "f");
6577
6121
  __classPrivateFieldSet(this, _MedplumClient_baseUrl, ensureTrailingSlash(options?.baseUrl) || DEFAULT_BASE_URL, "f");
6122
+ __classPrivateFieldSet(this, _MedplumClient_fhirBaseUrl, __classPrivateFieldGet(this, _MedplumClient_baseUrl, "f") + 'fhir/R4/', "f");
6578
6123
  __classPrivateFieldSet(this, _MedplumClient_clientId, options?.clientId || '', "f");
6579
6124
  __classPrivateFieldSet(this, _MedplumClient_authorizeUrl, options?.authorizeUrl || __classPrivateFieldGet(this, _MedplumClient_baseUrl, "f") + 'oauth2/authorize', "f");
6580
6125
  __classPrivateFieldSet(this, _MedplumClient_tokenUrl, options?.tokenUrl || __classPrivateFieldGet(this, _MedplumClient_baseUrl, "f") + 'oauth2/token', "f");
6581
6126
  __classPrivateFieldSet(this, _MedplumClient_logoutUrl, options?.logoutUrl || __classPrivateFieldGet(this, _MedplumClient_baseUrl, "f") + 'oauth2/logout', "f");
6582
6127
  __classPrivateFieldSet(this, _MedplumClient_onUnauthenticated, options?.onUnauthenticated, "f");
6128
+ __classPrivateFieldSet(this, _MedplumClient_autoBatchTime, options?.autoBatchTime ?? 0, "f");
6129
+ __classPrivateFieldSet(this, _MedplumClient_autoBatchQueue, [], "f");
6583
6130
  const activeLogin = this.getActiveLogin();
6584
6131
  if (activeLogin) {
6585
6132
  __classPrivateFieldSet(this, _MedplumClient_accessToken, activeLogin.accessToken, "f");
@@ -6660,9 +6207,27 @@
6660
6207
  if (cached) {
6661
6208
  return cached.value;
6662
6209
  }
6663
- const promise = new ReadablePromise(__classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_request).call(this, 'GET', url, options));
6664
- __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_setCacheEntry).call(this, url, promise);
6665
- return promise;
6210
+ let promise;
6211
+ if (url.startsWith(__classPrivateFieldGet(this, _MedplumClient_fhirBaseUrl, "f")) && __classPrivateFieldGet(this, _MedplumClient_autoBatchTime, "f") > 0) {
6212
+ promise = new Promise((resolve, reject) => {
6213
+ __classPrivateFieldGet(this, _MedplumClient_autoBatchQueue, "f").push({
6214
+ method: 'GET',
6215
+ url: url.replace(__classPrivateFieldGet(this, _MedplumClient_fhirBaseUrl, "f"), ''),
6216
+ options,
6217
+ resolve,
6218
+ reject,
6219
+ });
6220
+ if (!__classPrivateFieldGet(this, _MedplumClient_autoBatchTimerId, "f")) {
6221
+ __classPrivateFieldSet(this, _MedplumClient_autoBatchTimerId, setTimeout(() => __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_executeAutoBatch).call(this), __classPrivateFieldGet(this, _MedplumClient_autoBatchTime, "f")), "f");
6222
+ }
6223
+ });
6224
+ }
6225
+ else {
6226
+ promise = __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_request).call(this, 'GET', url, options);
6227
+ }
6228
+ const readablePromise = new ReadablePromise(promise);
6229
+ __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_setCacheEntry).call(this, url, readablePromise);
6230
+ return readablePromise;
6666
6231
  }
6667
6232
  /**
6668
6233
  * Makes an HTTP POST request to the specified URL.
@@ -6869,6 +6434,23 @@
6869
6434
  signOutWithRedirect() {
6870
6435
  window.location.assign(__classPrivateFieldGet(this, _MedplumClient_logoutUrl, "f"));
6871
6436
  }
6437
+ /**
6438
+ * Initiates sign in with an external identity provider.
6439
+ * @param authorizeUrl The external authorization URL.
6440
+ * @param clientId The external client ID.
6441
+ * @param redirectUri The external identity provider redirect URI.
6442
+ * @param baseLogin The Medplum login request.
6443
+ */
6444
+ async signInWithExternalAuth(authorizeUrl, clientId, redirectUri, baseLogin) {
6445
+ const loginRequest = await this.ensureCodeChallenge(baseLogin);
6446
+ const url = new URL(authorizeUrl);
6447
+ url.searchParams.set('response_type', 'code');
6448
+ url.searchParams.set('client_id', clientId);
6449
+ url.searchParams.set('redirect_uri', redirectUri);
6450
+ url.searchParams.set('scope', 'openid profile email');
6451
+ url.searchParams.set('state', JSON.stringify(loginRequest));
6452
+ window.location.assign(url.toString());
6453
+ }
6872
6454
  /**
6873
6455
  * Builds a FHIR URL from a collection of URL path components.
6874
6456
  * For example, `buildUrl('/Patient', '123')` returns `fhir/R4/Patient/123`.
@@ -6877,7 +6459,7 @@
6877
6459
  * @returns The well-formed FHIR URL.
6878
6460
  */
6879
6461
  fhirUrl(...path) {
6880
- return new URL(__classPrivateFieldGet(this, _MedplumClient_baseUrl, "f") + 'fhir/R4/' + path.join('/'));
6462
+ return new URL(__classPrivateFieldGet(this, _MedplumClient_fhirBaseUrl, "f") + path.join('/'));
6881
6463
  }
6882
6464
  /**
6883
6465
  * Builds a FHIR search URL from a search query or structured query object.
@@ -7827,7 +7409,7 @@
7827
7409
  return __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_fetchTokens).call(this, formBody);
7828
7410
  }
7829
7411
  }
7830
- _MedplumClient_fetch = new WeakMap(), _MedplumClient_createPdf = new WeakMap(), _MedplumClient_storage = new WeakMap(), _MedplumClient_requestCache = new WeakMap(), _MedplumClient_cacheTime = new WeakMap(), _MedplumClient_baseUrl = new WeakMap(), _MedplumClient_authorizeUrl = new WeakMap(), _MedplumClient_tokenUrl = new WeakMap(), _MedplumClient_logoutUrl = new WeakMap(), _MedplumClient_onUnauthenticated = new WeakMap(), _MedplumClient_clientId = new WeakMap(), _MedplumClient_clientSecret = new WeakMap(), _MedplumClient_accessToken = new WeakMap(), _MedplumClient_refreshToken = new WeakMap(), _MedplumClient_refreshPromise = new WeakMap(), _MedplumClient_profilePromise = new WeakMap(), _MedplumClient_profile = new WeakMap(), _MedplumClient_config = new WeakMap(), _MedplumClient_instances = new WeakSet(), _MedplumClient_addLogin = function _MedplumClient_addLogin(newLogin) {
7412
+ _MedplumClient_fetch = new WeakMap(), _MedplumClient_createPdf = new WeakMap(), _MedplumClient_storage = new WeakMap(), _MedplumClient_requestCache = new WeakMap(), _MedplumClient_cacheTime = new WeakMap(), _MedplumClient_baseUrl = new WeakMap(), _MedplumClient_fhirBaseUrl = new WeakMap(), _MedplumClient_authorizeUrl = new WeakMap(), _MedplumClient_tokenUrl = new WeakMap(), _MedplumClient_logoutUrl = new WeakMap(), _MedplumClient_onUnauthenticated = new WeakMap(), _MedplumClient_autoBatchTime = new WeakMap(), _MedplumClient_autoBatchQueue = new WeakMap(), _MedplumClient_clientId = new WeakMap(), _MedplumClient_clientSecret = new WeakMap(), _MedplumClient_autoBatchTimerId = new WeakMap(), _MedplumClient_accessToken = new WeakMap(), _MedplumClient_refreshToken = new WeakMap(), _MedplumClient_refreshPromise = new WeakMap(), _MedplumClient_profilePromise = new WeakMap(), _MedplumClient_profile = new WeakMap(), _MedplumClient_config = new WeakMap(), _MedplumClient_instances = new WeakSet(), _MedplumClient_addLogin = function _MedplumClient_addLogin(newLogin) {
7831
7413
  const logins = this.getLogins().filter((login) => login.profile?.reference !== newLogin.profile?.reference);
7832
7414
  logins.push(newLogin);
7833
7415
  __classPrivateFieldGet(this, _MedplumClient_storage, "f").setObject('logins', logins);
@@ -7888,6 +7470,43 @@
7888
7470
  throw obj;
7889
7471
  }
7890
7472
  return obj;
7473
+ }, _MedplumClient_executeAutoBatch =
7474
+ /**
7475
+ * Executes a batch of requests that were automatically batched together.
7476
+ */
7477
+ async function _MedplumClient_executeAutoBatch() {
7478
+ // Get the current queue
7479
+ const entries = [...__classPrivateFieldGet(this, _MedplumClient_autoBatchQueue, "f")];
7480
+ // Clear the queue
7481
+ __classPrivateFieldGet(this, _MedplumClient_autoBatchQueue, "f").length = 0;
7482
+ // Clear the timer
7483
+ __classPrivateFieldSet(this, _MedplumClient_autoBatchTimerId, undefined, "f");
7484
+ // If there is only one request in the batch, just execute it
7485
+ if (entries.length === 1) {
7486
+ const entry = entries[0];
7487
+ entry.resolve(await __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_request).call(this, entry.method, __classPrivateFieldGet(this, _MedplumClient_fhirBaseUrl, "f") + entry.url, entry.options));
7488
+ return;
7489
+ }
7490
+ // Build the batch request
7491
+ const batch = {
7492
+ resourceType: 'Bundle',
7493
+ type: 'batch',
7494
+ entry: entries.map((e) => ({
7495
+ request: {
7496
+ method: e.method,
7497
+ url: e.url,
7498
+ },
7499
+ resource: e.options.body ? JSON.parse(e.options.body) : undefined,
7500
+ })),
7501
+ };
7502
+ // Execute the batch request
7503
+ const response = (await this.post('fhir/R4', batch));
7504
+ // Process the response
7505
+ for (let i = 0; i < entries.length; i++) {
7506
+ const entry = entries[i];
7507
+ const responseEntry = response.entry?.[i];
7508
+ entry.resolve(responseEntry?.resource);
7509
+ }
7891
7510
  }, _MedplumClient_addFetchOptionsDefaults = function _MedplumClient_addFetchOptionsDefaults(options) {
7892
7511
  if (!options.headers) {
7893
7512
  options.headers = {};
@@ -11746,6 +11365,7 @@
11746
11365
  exports.getDateProperty = getDateProperty;
11747
11366
  exports.getDisplayString = getDisplayString;
11748
11367
  exports.getElementDefinition = getElementDefinition;
11368
+ exports.getElementDefinitionTypeName = getElementDefinitionTypeName;
11749
11369
  exports.getExpressionForResourceType = getExpressionForResourceType;
11750
11370
  exports.getExtension = getExtension;
11751
11371
  exports.getExtensionValue = getExtensionValue;