@medplum/definitions 3.2.8 → 3.2.9

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.
@@ -168,7 +168,29 @@
168
168
  "Agent": "#/definitions/Agent",
169
169
  "IdentityProvider": "#/definitions/IdentityProvider",
170
170
  "UserSecurityRequest": "#/definitions/UserSecurityRequest",
171
- "ViewDefinition": "#/definitions/ViewDefinition"
171
+ "ViewDefinition": "#/definitions/ViewDefinition",
172
+ "ProjectSetting": "#/definitions/ProjectSetting",
173
+ "ProjectSite": "#/definitions/ProjectSite",
174
+ "ProjectLink": "#/definitions/ProjectLink",
175
+ "ProjectDefaultProfile": "#/definitions/ProjectDefaultProfile",
176
+ "ProjectMembershipAccessParameter": "#/definitions/ProjectMembershipAccessParameter",
177
+ "ProjectMembershipAccess": "#/definitions/ProjectMembershipAccess",
178
+ "AccessPolicyResource": "#/definitions/AccessPolicyResource",
179
+ "AccessPolicyIpAccessRule": "#/definitions/AccessPolicyIpAccessRule",
180
+ "UserConfigurationMenuLink": "#/definitions/UserConfigurationMenuLink",
181
+ "UserConfigurationMenu": "#/definitions/UserConfigurationMenu",
182
+ "UserConfigurationSearch": "#/definitions/UserConfigurationSearch",
183
+ "UserConfigurationOption": "#/definitions/UserConfigurationOption",
184
+ "BulkDataExportOutput": "#/definitions/BulkDataExportOutput",
185
+ "BulkDataExportDeleted": "#/definitions/BulkDataExportDeleted",
186
+ "BulkDataExportError": "#/definitions/BulkDataExportError",
187
+ "AgentSetting": "#/definitions/AgentSetting",
188
+ "AgentChannel": "#/definitions/AgentChannel",
189
+ "ViewDefinitionConstant": "#/definitions/ViewDefinitionConstant",
190
+ "ViewDefinitionSelectColumnTag": "#/definitions/ViewDefinitionSelectColumnTag",
191
+ "ViewDefinitionSelectColumn": "#/definitions/ViewDefinitionSelectColumn",
192
+ "ViewDefinitionSelect": "#/definitions/ViewDefinitionSelect",
193
+ "ViewDefinitionWhere": "#/definitions/ViewDefinitionWhere"
172
194
  }
173
195
  },
174
196
  "oneOf": [
@@ -663,6 +685,72 @@
663
685
  },
664
686
  {
665
687
  "$ref": "#/definitions/ViewDefinition"
688
+ },
689
+ {
690
+ "$ref": "#/definitions/ProjectSetting"
691
+ },
692
+ {
693
+ "$ref": "#/definitions/ProjectSite"
694
+ },
695
+ {
696
+ "$ref": "#/definitions/ProjectLink"
697
+ },
698
+ {
699
+ "$ref": "#/definitions/ProjectDefaultProfile"
700
+ },
701
+ {
702
+ "$ref": "#/definitions/ProjectMembershipAccessParameter"
703
+ },
704
+ {
705
+ "$ref": "#/definitions/ProjectMembershipAccess"
706
+ },
707
+ {
708
+ "$ref": "#/definitions/AccessPolicyResource"
709
+ },
710
+ {
711
+ "$ref": "#/definitions/AccessPolicyIpAccessRule"
712
+ },
713
+ {
714
+ "$ref": "#/definitions/UserConfigurationMenuLink"
715
+ },
716
+ {
717
+ "$ref": "#/definitions/UserConfigurationMenu"
718
+ },
719
+ {
720
+ "$ref": "#/definitions/UserConfigurationSearch"
721
+ },
722
+ {
723
+ "$ref": "#/definitions/UserConfigurationOption"
724
+ },
725
+ {
726
+ "$ref": "#/definitions/BulkDataExportOutput"
727
+ },
728
+ {
729
+ "$ref": "#/definitions/BulkDataExportDeleted"
730
+ },
731
+ {
732
+ "$ref": "#/definitions/BulkDataExportError"
733
+ },
734
+ {
735
+ "$ref": "#/definitions/AgentSetting"
736
+ },
737
+ {
738
+ "$ref": "#/definitions/AgentChannel"
739
+ },
740
+ {
741
+ "$ref": "#/definitions/ViewDefinitionConstant"
742
+ },
743
+ {
744
+ "$ref": "#/definitions/ViewDefinitionSelectColumnTag"
745
+ },
746
+ {
747
+ "$ref": "#/definitions/ViewDefinitionSelectColumn"
748
+ },
749
+ {
750
+ "$ref": "#/definitions/ViewDefinitionSelect"
751
+ },
752
+ {
753
+ "$ref": "#/definitions/ViewDefinitionWhere"
666
754
  }
667
755
  ],
668
756
  "definitions": {
@@ -1159,6 +1247,72 @@
1159
1247
  },
1160
1248
  {
1161
1249
  "$ref": "#/definitions/ViewDefinition"
1250
+ },
1251
+ {
1252
+ "$ref": "#/definitions/ProjectSetting"
1253
+ },
1254
+ {
1255
+ "$ref": "#/definitions/ProjectSite"
1256
+ },
1257
+ {
1258
+ "$ref": "#/definitions/ProjectLink"
1259
+ },
1260
+ {
1261
+ "$ref": "#/definitions/ProjectDefaultProfile"
1262
+ },
1263
+ {
1264
+ "$ref": "#/definitions/ProjectMembershipAccessParameter"
1265
+ },
1266
+ {
1267
+ "$ref": "#/definitions/ProjectMembershipAccess"
1268
+ },
1269
+ {
1270
+ "$ref": "#/definitions/AccessPolicyResource"
1271
+ },
1272
+ {
1273
+ "$ref": "#/definitions/AccessPolicyIpAccessRule"
1274
+ },
1275
+ {
1276
+ "$ref": "#/definitions/UserConfigurationMenuLink"
1277
+ },
1278
+ {
1279
+ "$ref": "#/definitions/UserConfigurationMenu"
1280
+ },
1281
+ {
1282
+ "$ref": "#/definitions/UserConfigurationSearch"
1283
+ },
1284
+ {
1285
+ "$ref": "#/definitions/UserConfigurationOption"
1286
+ },
1287
+ {
1288
+ "$ref": "#/definitions/BulkDataExportOutput"
1289
+ },
1290
+ {
1291
+ "$ref": "#/definitions/BulkDataExportDeleted"
1292
+ },
1293
+ {
1294
+ "$ref": "#/definitions/BulkDataExportError"
1295
+ },
1296
+ {
1297
+ "$ref": "#/definitions/AgentSetting"
1298
+ },
1299
+ {
1300
+ "$ref": "#/definitions/AgentChannel"
1301
+ },
1302
+ {
1303
+ "$ref": "#/definitions/ViewDefinitionConstant"
1304
+ },
1305
+ {
1306
+ "$ref": "#/definitions/ViewDefinitionSelectColumnTag"
1307
+ },
1308
+ {
1309
+ "$ref": "#/definitions/ViewDefinitionSelectColumn"
1310
+ },
1311
+ {
1312
+ "$ref": "#/definitions/ViewDefinitionSelect"
1313
+ },
1314
+ {
1315
+ "$ref": "#/definitions/ViewDefinitionWhere"
1162
1316
  }
1163
1317
  ]
1164
1318
  },
@@ -59399,6 +59553,13 @@
59399
59553
  "$ref": "#/definitions/ProjectLink"
59400
59554
  },
59401
59555
  "type": "array"
59556
+ },
59557
+ "defaultProfile": {
59558
+ "description": "Default profiles to apply to resources in this project that do not individually specify profiles",
59559
+ "items": {
59560
+ "$ref": "#/definitions/ProjectDefaultProfile"
59561
+ },
59562
+ "type": "array"
59402
59563
  }
59403
59564
  },
59404
59565
  "additionalProperties": false,
@@ -61389,6 +61550,795 @@
61389
61550
  },
61390
61551
  "additionalProperties": false,
61391
61552
  "required": ["status", "resource", "select"]
61553
+ },
61554
+ "ProjectSetting": {
61555
+ "description": "Option or parameter that can be adjusted within the Medplum Project to customize its behavior.",
61556
+ "properties": {
61557
+ "name": {
61558
+ "description": "The secret name.",
61559
+ "$ref": "#/definitions/string"
61560
+ },
61561
+ "valueString": {
61562
+ "description": "The secret value.",
61563
+ "$ref": "#/definitions/string"
61564
+ },
61565
+ "valueBoolean": {
61566
+ "description": "The secret value.",
61567
+ "$ref": "#/definitions/boolean"
61568
+ },
61569
+ "valueDecimal": {
61570
+ "description": "The secret value.",
61571
+ "$ref": "#/definitions/decimal"
61572
+ },
61573
+ "valueInteger": {
61574
+ "description": "The secret value.",
61575
+ "$ref": "#/definitions/integer"
61576
+ }
61577
+ },
61578
+ "additionalProperties": false,
61579
+ "required": ["name"]
61580
+ },
61581
+ "ProjectSite": {
61582
+ "description": "Web application or web site that is associated with the project.",
61583
+ "properties": {
61584
+ "name": {
61585
+ "description": "Friendly name that will make it easy for you to identify the site in the future.",
61586
+ "$ref": "#/definitions/string"
61587
+ },
61588
+ "domain": {
61589
+ "description": "The list of domain names associated with the site. User authentication will be restricted to the domains you enter here, plus any subdomains. In other words, a registration for example.com also registers subdomain.example.com. A valid domain requires a host and must not include any path, port, query or fragment.",
61590
+ "items": {
61591
+ "$ref": "#/definitions/string"
61592
+ },
61593
+ "type": "array"
61594
+ },
61595
+ "googleClientId": {
61596
+ "description": "The publicly visible Google Client ID for the site. This is used to authenticate users with Google. This value is available in the Google Developer Console.",
61597
+ "$ref": "#/definitions/string"
61598
+ },
61599
+ "googleClientSecret": {
61600
+ "description": "The private Google Client Secret for the site. This value is available in the Google Developer Console.",
61601
+ "$ref": "#/definitions/string"
61602
+ },
61603
+ "recaptchaSiteKey": {
61604
+ "description": "The publicly visible reCAPTCHA site key. This value is generated when you create a new reCAPTCHA site in the reCAPTCHA admin console. Use this site key in the HTML code your site serves to users.",
61605
+ "$ref": "#/definitions/string"
61606
+ },
61607
+ "recaptchaSecretKey": {
61608
+ "description": "The private reCAPTCHA secret key. This value is generated when you create a new reCAPTCHA site in the reCAPTCHA admin console. Use this secret key for communication between your site and reCAPTCHA.",
61609
+ "$ref": "#/definitions/string"
61610
+ }
61611
+ },
61612
+ "additionalProperties": false,
61613
+ "required": ["name", "domain"]
61614
+ },
61615
+ "ProjectLink": {
61616
+ "description": "Linked Projects whose contents are made available to this one",
61617
+ "properties": {
61618
+ "project": {
61619
+ "description": "A reference to the Project to be linked into this one",
61620
+ "$ref": "#/definitions/Reference"
61621
+ }
61622
+ },
61623
+ "additionalProperties": false,
61624
+ "required": ["project"]
61625
+ },
61626
+ "ProjectDefaultProfile": {
61627
+ "description": "Default profiles to apply to resources in this project that do not individually specify profiles",
61628
+ "properties": {
61629
+ "resourceType": {
61630
+ "description": "The resource type onto which to apply the default profiles",
61631
+ "enum": [
61632
+ "Account",
61633
+ "ActivityDefinition",
61634
+ "AdverseEvent",
61635
+ "AllergyIntolerance",
61636
+ "Appointment",
61637
+ "AppointmentResponse",
61638
+ "AuditEvent",
61639
+ "Basic",
61640
+ "Binary",
61641
+ "BiologicallyDerivedProduct",
61642
+ "BodyStructure",
61643
+ "Bundle",
61644
+ "CapabilityStatement",
61645
+ "CarePlan",
61646
+ "CareTeam",
61647
+ "CatalogEntry",
61648
+ "ChargeItem",
61649
+ "ChargeItemDefinition",
61650
+ "Claim",
61651
+ "ClaimResponse",
61652
+ "ClinicalImpression",
61653
+ "CodeSystem",
61654
+ "Communication",
61655
+ "CommunicationRequest",
61656
+ "CompartmentDefinition",
61657
+ "Composition",
61658
+ "ConceptMap",
61659
+ "Condition",
61660
+ "Consent",
61661
+ "Contract",
61662
+ "Coverage",
61663
+ "CoverageEligibilityRequest",
61664
+ "CoverageEligibilityResponse",
61665
+ "DetectedIssue",
61666
+ "Device",
61667
+ "DeviceDefinition",
61668
+ "DeviceMetric",
61669
+ "DeviceRequest",
61670
+ "DeviceUseStatement",
61671
+ "DiagnosticReport",
61672
+ "DocumentManifest",
61673
+ "DocumentReference",
61674
+ "DomainResource",
61675
+ "EffectEvidenceSynthesis",
61676
+ "Encounter",
61677
+ "Endpoint",
61678
+ "EnrollmentRequest",
61679
+ "EnrollmentResponse",
61680
+ "EpisodeOfCare",
61681
+ "EventDefinition",
61682
+ "Evidence",
61683
+ "EvidenceVariable",
61684
+ "ExampleScenario",
61685
+ "ExplanationOfBenefit",
61686
+ "FamilyMemberHistory",
61687
+ "Flag",
61688
+ "Goal",
61689
+ "GraphDefinition",
61690
+ "Group",
61691
+ "GuidanceResponse",
61692
+ "HealthcareService",
61693
+ "ImagingStudy",
61694
+ "Immunization",
61695
+ "ImmunizationEvaluation",
61696
+ "ImmunizationRecommendation",
61697
+ "ImplementationGuide",
61698
+ "InsurancePlan",
61699
+ "Invoice",
61700
+ "Library",
61701
+ "Linkage",
61702
+ "List",
61703
+ "Location",
61704
+ "Measure",
61705
+ "MeasureReport",
61706
+ "Media",
61707
+ "Medication",
61708
+ "MedicationAdministration",
61709
+ "MedicationDispense",
61710
+ "MedicationKnowledge",
61711
+ "MedicationRequest",
61712
+ "MedicationStatement",
61713
+ "MedicinalProduct",
61714
+ "MedicinalProductAuthorization",
61715
+ "MedicinalProductContraindication",
61716
+ "MedicinalProductIndication",
61717
+ "MedicinalProductIngredient",
61718
+ "MedicinalProductInteraction",
61719
+ "MedicinalProductManufactured",
61720
+ "MedicinalProductPackaged",
61721
+ "MedicinalProductPharmaceutical",
61722
+ "MedicinalProductUndesirableEffect",
61723
+ "MessageDefinition",
61724
+ "MessageHeader",
61725
+ "MolecularSequence",
61726
+ "NamingSystem",
61727
+ "NutritionOrder",
61728
+ "Observation",
61729
+ "ObservationDefinition",
61730
+ "OperationDefinition",
61731
+ "OperationOutcome",
61732
+ "Organization",
61733
+ "OrganizationAffiliation",
61734
+ "Parameters",
61735
+ "Patient",
61736
+ "PaymentNotice",
61737
+ "PaymentReconciliation",
61738
+ "Person",
61739
+ "PlanDefinition",
61740
+ "Practitioner",
61741
+ "PractitionerRole",
61742
+ "Procedure",
61743
+ "Provenance",
61744
+ "Questionnaire",
61745
+ "QuestionnaireResponse",
61746
+ "RelatedPerson",
61747
+ "RequestGroup",
61748
+ "ResearchDefinition",
61749
+ "ResearchElementDefinition",
61750
+ "ResearchStudy",
61751
+ "ResearchSubject",
61752
+ "Resource",
61753
+ "RiskAssessment",
61754
+ "RiskEvidenceSynthesis",
61755
+ "Schedule",
61756
+ "SearchParameter",
61757
+ "ServiceRequest",
61758
+ "Slot",
61759
+ "Specimen",
61760
+ "SpecimenDefinition",
61761
+ "StructureDefinition",
61762
+ "StructureMap",
61763
+ "Subscription",
61764
+ "Substance",
61765
+ "SubstanceNucleicAcid",
61766
+ "SubstancePolymer",
61767
+ "SubstanceProtein",
61768
+ "SubstanceReferenceInformation",
61769
+ "SubstanceSourceMaterial",
61770
+ "SubstanceSpecification",
61771
+ "SupplyDelivery",
61772
+ "SupplyRequest",
61773
+ "Task",
61774
+ "TerminologyCapabilities",
61775
+ "TestReport",
61776
+ "TestScript",
61777
+ "ValueSet",
61778
+ "VerificationResult",
61779
+ "VisionPrescription"
61780
+ ]
61781
+ },
61782
+ "profile": {
61783
+ "description": "The profiles to add by default",
61784
+ "items": {
61785
+ "$ref": "#/definitions/canonical"
61786
+ },
61787
+ "type": "array"
61788
+ }
61789
+ },
61790
+ "additionalProperties": false,
61791
+ "required": ["resourceType", "profile"]
61792
+ },
61793
+ "ProjectMembershipAccessParameter": {
61794
+ "description": "User options that control the display of the application.",
61795
+ "properties": {
61796
+ "name": {
61797
+ "description": "The unique name of the parameter.",
61798
+ "$ref": "#/definitions/code"
61799
+ },
61800
+ "valueString": {
61801
+ "description": "Value of the parameter - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61802
+ "$ref": "#/definitions/string"
61803
+ },
61804
+ "valueReference": {
61805
+ "description": "Value of the parameter - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61806
+ "$ref": "#/definitions/Reference"
61807
+ }
61808
+ },
61809
+ "additionalProperties": false,
61810
+ "required": ["name"]
61811
+ },
61812
+ "ProjectMembershipAccess": {
61813
+ "description": "Extended access configuration using parameterized access policies.",
61814
+ "properties": {
61815
+ "policy": {
61816
+ "description": "The base access policy used as a template. Variables in the template access policy are replaced by the values in the parameter.",
61817
+ "$ref": "#/definitions/Reference"
61818
+ },
61819
+ "parameter": {
61820
+ "description": "User options that control the display of the application.",
61821
+ "items": {
61822
+ "$ref": "#/definitions/ProjectMembershipAccessParameter"
61823
+ },
61824
+ "type": "array"
61825
+ }
61826
+ },
61827
+ "additionalProperties": false,
61828
+ "required": ["policy"]
61829
+ },
61830
+ "AccessPolicyResource": {
61831
+ "description": "Access details for a resource type.",
61832
+ "properties": {
61833
+ "resourceType": {
61834
+ "description": "The resource type.",
61835
+ "$ref": "#/definitions/string"
61836
+ },
61837
+ "compartment": {
61838
+ "description": "@deprecated Optional compartment restriction for the resource type.",
61839
+ "$ref": "#/definitions/Reference"
61840
+ },
61841
+ "criteria": {
61842
+ "description": "The rules that the server should use to determine which resources to allow.",
61843
+ "$ref": "#/definitions/string"
61844
+ },
61845
+ "readonly": {
61846
+ "description": "Optional flag to indicate that the resource type is read-only.",
61847
+ "$ref": "#/definitions/boolean"
61848
+ },
61849
+ "hiddenFields": {
61850
+ "description": "Optional list of hidden fields. Hidden fields are not readable or writeable.",
61851
+ "items": {
61852
+ "$ref": "#/definitions/string"
61853
+ },
61854
+ "type": "array"
61855
+ },
61856
+ "readonlyFields": {
61857
+ "description": "Optional list of read-only fields. Read-only fields are readable but not writeable.",
61858
+ "items": {
61859
+ "$ref": "#/definitions/string"
61860
+ },
61861
+ "type": "array"
61862
+ },
61863
+ "writeConstraint": {
61864
+ "description": "Invariants that must be satisfied for the resource to be written. Can include %before and %after placeholders to refer to the resource before and after the updates are applied.",
61865
+ "items": {
61866
+ "$ref": "#/definitions/Expression"
61867
+ },
61868
+ "type": "array"
61869
+ }
61870
+ },
61871
+ "additionalProperties": false,
61872
+ "required": ["resourceType"]
61873
+ },
61874
+ "AccessPolicyIpAccessRule": {
61875
+ "description": "Use IP Access Rules to allowlist, block, and challenge traffic based on the visitor IP address.",
61876
+ "properties": {
61877
+ "name": {
61878
+ "description": "Friendly name that will make it easy for you to identify the IP Access Rule in the future.",
61879
+ "$ref": "#/definitions/string"
61880
+ },
61881
+ "value": {
61882
+ "description": "An IP Access rule will apply a certain action to incoming traffic based on the visitor IP address or IP range.",
61883
+ "$ref": "#/definitions/string"
61884
+ },
61885
+ "action": {
61886
+ "description": "Access rule can perform one of the following actions: \"allow\" | \"block\".",
61887
+ "enum": ["allow", "block"]
61888
+ }
61889
+ },
61890
+ "additionalProperties": false,
61891
+ "required": ["value", "action"]
61892
+ },
61893
+ "UserConfigurationMenuLink": {
61894
+ "description": "Shortcut links to URLs.",
61895
+ "properties": {
61896
+ "name": {
61897
+ "description": "The human friendly name of the link.",
61898
+ "$ref": "#/definitions/string"
61899
+ },
61900
+ "target": {
61901
+ "description": "The URL target of the link.",
61902
+ "$ref": "#/definitions/url"
61903
+ }
61904
+ },
61905
+ "additionalProperties": false,
61906
+ "required": ["name", "target"]
61907
+ },
61908
+ "UserConfigurationMenu": {
61909
+ "description": "Optional menu of shortcuts to URLs.",
61910
+ "properties": {
61911
+ "title": {
61912
+ "description": "Title of the menu.",
61913
+ "$ref": "#/definitions/string"
61914
+ },
61915
+ "link": {
61916
+ "description": "Shortcut links to URLs.",
61917
+ "items": {
61918
+ "$ref": "#/definitions/UserConfigurationMenuLink"
61919
+ },
61920
+ "type": "array"
61921
+ }
61922
+ },
61923
+ "additionalProperties": false,
61924
+ "required": ["title"]
61925
+ },
61926
+ "UserConfigurationSearch": {
61927
+ "description": "Shortcut links to URLs.",
61928
+ "properties": {
61929
+ "name": {
61930
+ "description": "The human friendly name of the link.",
61931
+ "$ref": "#/definitions/string"
61932
+ },
61933
+ "criteria": {
61934
+ "description": "The rules that the server should use to determine which resources to return.",
61935
+ "$ref": "#/definitions/string"
61936
+ }
61937
+ },
61938
+ "additionalProperties": false,
61939
+ "required": ["name", "criteria"]
61940
+ },
61941
+ "UserConfigurationOption": {
61942
+ "description": "User options that control the display of the application.",
61943
+ "properties": {
61944
+ "id": {
61945
+ "description": "The unique identifier of the option.",
61946
+ "$ref": "#/definitions/code"
61947
+ },
61948
+ "valueBoolean": {
61949
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61950
+ "$ref": "#/definitions/boolean"
61951
+ },
61952
+ "valueCode": {
61953
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61954
+ "$ref": "#/definitions/code"
61955
+ },
61956
+ "valueDecimal": {
61957
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61958
+ "$ref": "#/definitions/decimal"
61959
+ },
61960
+ "valueInteger": {
61961
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61962
+ "$ref": "#/definitions/integer"
61963
+ },
61964
+ "valueString": {
61965
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61966
+ "$ref": "#/definitions/string"
61967
+ }
61968
+ },
61969
+ "additionalProperties": false,
61970
+ "required": ["id"]
61971
+ },
61972
+ "BulkDataExportOutput": {
61973
+ "description": "An array of file items with one entry for each generated file. If no resources are returned from the kick-off request, the server SHOULD return an empty array.",
61974
+ "properties": {
61975
+ "type": {
61976
+ "description": "The FHIR resource type that is contained in the file.",
61977
+ "$ref": "#/definitions/code"
61978
+ },
61979
+ "url": {
61980
+ "description": "The absolute path to the file. The format of the file SHOULD reflect that requested in the _outputFormat parameter of the initial kick-off request.",
61981
+ "$ref": "#/definitions/uri"
61982
+ }
61983
+ },
61984
+ "additionalProperties": false,
61985
+ "required": ["type", "url"]
61986
+ },
61987
+ "BulkDataExportDeleted": {
61988
+ "description": "An array of deleted file items following the same structure as the output array.",
61989
+ "properties": {
61990
+ "type": {
61991
+ "description": "The FHIR resource type that is contained in the file.",
61992
+ "$ref": "#/definitions/code"
61993
+ },
61994
+ "url": {
61995
+ "description": "The absolute path to the file. The format of the file SHOULD reflect that requested in the _outputFormat parameter of the initial kick-off request.",
61996
+ "$ref": "#/definitions/uri"
61997
+ }
61998
+ },
61999
+ "additionalProperties": false,
62000
+ "required": ["type", "url"]
62001
+ },
62002
+ "BulkDataExportError": {
62003
+ "description": "Array of message file items following the same structure as the output array.",
62004
+ "properties": {
62005
+ "type": {
62006
+ "description": "The FHIR resource type that is contained in the file.",
62007
+ "$ref": "#/definitions/code"
62008
+ },
62009
+ "url": {
62010
+ "description": "The absolute path to the file. The format of the file SHOULD reflect that requested in the _outputFormat parameter of the initial kick-off request.",
62011
+ "$ref": "#/definitions/uri"
62012
+ }
62013
+ },
62014
+ "additionalProperties": false,
62015
+ "required": ["type", "url"]
62016
+ },
62017
+ "AgentSetting": {
62018
+ "description": "The settings for the agent.",
62019
+ "properties": {
62020
+ "name": {
62021
+ "description": "The setting name.",
62022
+ "$ref": "#/definitions/string"
62023
+ },
62024
+ "valueString": {
62025
+ "description": "The setting value.",
62026
+ "$ref": "#/definitions/string"
62027
+ },
62028
+ "valueBoolean": {
62029
+ "description": "The setting value.",
62030
+ "$ref": "#/definitions/boolean"
62031
+ },
62032
+ "valueDecimal": {
62033
+ "description": "The setting value.",
62034
+ "$ref": "#/definitions/decimal"
62035
+ },
62036
+ "valueInteger": {
62037
+ "description": "The setting value.",
62038
+ "$ref": "#/definitions/integer"
62039
+ }
62040
+ },
62041
+ "additionalProperties": false,
62042
+ "required": ["name"]
62043
+ },
62044
+ "AgentChannel": {
62045
+ "description": "Details where to send notifications when resources are received that meet the criteria.",
62046
+ "properties": {
62047
+ "name": {
62048
+ "description": "The channel name.",
62049
+ "$ref": "#/definitions/string"
62050
+ },
62051
+ "endpoint": {
62052
+ "description": "The channel endpoint definition including protocol and network binding details.",
62053
+ "$ref": "#/definitions/Reference"
62054
+ },
62055
+ "targetReference": {
62056
+ "description": "The target resource where channel messages will be delivered.",
62057
+ "$ref": "#/definitions/Reference"
62058
+ },
62059
+ "targetUrl": {
62060
+ "description": "The target resource where channel messages will be delivered.",
62061
+ "$ref": "#/definitions/url"
62062
+ }
62063
+ },
62064
+ "additionalProperties": false,
62065
+ "required": ["name", "endpoint"]
62066
+ },
62067
+ "ViewDefinitionConstant": {
62068
+ "description": "A constant is a value that is injected into a FHIRPath expression through the use of a FHIRPath\nexternal constant with the same name.",
62069
+ "properties": {
62070
+ "id": {
62071
+ "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
62072
+ "$ref": "#/definitions/id"
62073
+ },
62074
+ "extension": {
62075
+ "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
62076
+ "items": {
62077
+ "$ref": "#/definitions/Extension"
62078
+ },
62079
+ "type": "array"
62080
+ },
62081
+ "modifierExtension": {
62082
+ "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
62083
+ "items": {
62084
+ "$ref": "#/definitions/Extension"
62085
+ },
62086
+ "type": "array"
62087
+ },
62088
+ "name": {
62089
+ "description": "Name of constant (referred to in FHIRPath as %[name])",
62090
+ "$ref": "#/definitions/string"
62091
+ },
62092
+ "valueBase64Binary": {
62093
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62094
+ "$ref": "#/definitions/base64Binary"
62095
+ },
62096
+ "valueBoolean": {
62097
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62098
+ "$ref": "#/definitions/boolean"
62099
+ },
62100
+ "valueCanonical": {
62101
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62102
+ "$ref": "#/definitions/canonical"
62103
+ },
62104
+ "valueCode": {
62105
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62106
+ "$ref": "#/definitions/code"
62107
+ },
62108
+ "valueDate": {
62109
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62110
+ "$ref": "#/definitions/date"
62111
+ },
62112
+ "valueDateTime": {
62113
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62114
+ "$ref": "#/definitions/dateTime"
62115
+ },
62116
+ "valueDecimal": {
62117
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62118
+ "$ref": "#/definitions/decimal"
62119
+ },
62120
+ "valueId": {
62121
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62122
+ "$ref": "#/definitions/id"
62123
+ },
62124
+ "valueInstant": {
62125
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62126
+ "$ref": "#/definitions/instant"
62127
+ },
62128
+ "valueInteger": {
62129
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62130
+ "$ref": "#/definitions/integer"
62131
+ },
62132
+ "valueInteger64": {
62133
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62134
+ "$ref": "#/definitions/integer64"
62135
+ },
62136
+ "valueOid": {
62137
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62138
+ "$ref": "#/definitions/oid"
62139
+ },
62140
+ "valueString": {
62141
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62142
+ "$ref": "#/definitions/string"
62143
+ },
62144
+ "valuePositiveInt": {
62145
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62146
+ "$ref": "#/definitions/positiveInt"
62147
+ },
62148
+ "valueTime": {
62149
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62150
+ "$ref": "#/definitions/time"
62151
+ },
62152
+ "valueUnsignedInt": {
62153
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62154
+ "$ref": "#/definitions/unsignedInt"
62155
+ },
62156
+ "valueUri": {
62157
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62158
+ "$ref": "#/definitions/uri"
62159
+ },
62160
+ "valueUrl": {
62161
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62162
+ "$ref": "#/definitions/url"
62163
+ },
62164
+ "valueUuid": {
62165
+ "description": "The value that will be substituted in place of the constant reference. This\nis done by including `%your_constant_name` in a FHIRPath expression, which effectively converts\nthe FHIR literal defined here to a FHIRPath literal used in the path expression.\n\nSupport for additional types may be added in the future.",
62166
+ "$ref": "#/definitions/uuid"
62167
+ }
62168
+ },
62169
+ "additionalProperties": false,
62170
+ "required": ["name"]
62171
+ },
62172
+ "ViewDefinitionSelectColumnTag": {
62173
+ "description": "Tags can be used to attach additional metadata to columns, such as implementation-specific \ndirectives or database-specific type hints.",
62174
+ "properties": {
62175
+ "id": {
62176
+ "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
62177
+ "$ref": "#/definitions/id"
62178
+ },
62179
+ "extension": {
62180
+ "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
62181
+ "items": {
62182
+ "$ref": "#/definitions/Extension"
62183
+ },
62184
+ "type": "array"
62185
+ },
62186
+ "modifierExtension": {
62187
+ "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
62188
+ "items": {
62189
+ "$ref": "#/definitions/Extension"
62190
+ },
62191
+ "type": "array"
62192
+ },
62193
+ "name": {
62194
+ "description": "A name that identifies the meaning of the tag. A namespace should be used to scope the tag to \na particular context. For example, \u0027ansi/type\u0027 could be used to indicate the type that should \nbe used to represent the value within an ANSI SQL database.",
62195
+ "$ref": "#/definitions/string"
62196
+ },
62197
+ "value": {
62198
+ "description": "Value of tag",
62199
+ "$ref": "#/definitions/string"
62200
+ }
62201
+ },
62202
+ "additionalProperties": false,
62203
+ "required": ["name", "value"]
62204
+ },
62205
+ "ViewDefinitionSelectColumn": {
62206
+ "description": "A column to be produced in the resulting table. The column is relative to the select structure\nthat contains it.",
62207
+ "properties": {
62208
+ "id": {
62209
+ "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
62210
+ "$ref": "#/definitions/id"
62211
+ },
62212
+ "extension": {
62213
+ "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
62214
+ "items": {
62215
+ "$ref": "#/definitions/Extension"
62216
+ },
62217
+ "type": "array"
62218
+ },
62219
+ "modifierExtension": {
62220
+ "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
62221
+ "items": {
62222
+ "$ref": "#/definitions/Extension"
62223
+ },
62224
+ "type": "array"
62225
+ },
62226
+ "path": {
62227
+ "description": "A FHIRPath expression that evaluates to the value that will be output in the column for each \nresource. The input context is the collection of resources of the type specified in the resource \nelement. Constants defined in Reference({constant}) can be referenced as %[name].",
62228
+ "$ref": "#/definitions/string"
62229
+ },
62230
+ "name": {
62231
+ "description": "Name of the column produced in the output, must be in a database-friendly format. The column \nnames in the output must not have any duplicates.",
62232
+ "$ref": "#/definitions/string"
62233
+ },
62234
+ "description": {
62235
+ "description": "A human-readable description of the column.",
62236
+ "$ref": "#/definitions/markdown"
62237
+ },
62238
+ "collection": {
62239
+ "description": "Indicates whether the column may have multiple values. Defaults to `false` if unset.\n\nViewDefinitions must have this set to `true` if multiple values may be returned. Implementations SHALL\nreport an error if multiple values are produced when that is not the case.",
62240
+ "$ref": "#/definitions/boolean"
62241
+ },
62242
+ "type": {
62243
+ "description": "A FHIR StructureDefinition URI for the column\u0027s type. Relative URIs are implicitly given\nthe \u0027http://hl7.org/fhir/StructureDefinition/\u0027 prefix. The URI may also use FHIR element ID notation to indicate\na backbone element within a structure. For instance, `Observation.referenceRange` may be specified to indicate\nthe returned type is that backbone element.\n\nThis field *must* be provided if a ViewDefinition returns a non-primitive type. Implementations should report an error\nif the returned type does not match the type set here, or if a non-primitive type is returned but this field is unset.",
62244
+ "$ref": "#/definitions/uri"
62245
+ },
62246
+ "tag": {
62247
+ "description": "Tags can be used to attach additional metadata to columns, such as implementation-specific \ndirectives or database-specific type hints.",
62248
+ "items": {
62249
+ "$ref": "#/definitions/ViewDefinitionSelectColumnTag"
62250
+ },
62251
+ "type": "array"
62252
+ }
62253
+ },
62254
+ "additionalProperties": false,
62255
+ "required": ["path", "name"]
62256
+ },
62257
+ "ViewDefinitionSelect": {
62258
+ "description": "The select structure defines the columns to be used in the resulting view. These are expressed\nin the `column` structure below, or in nested `select`s for nested resources.",
62259
+ "properties": {
62260
+ "id": {
62261
+ "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
62262
+ "$ref": "#/definitions/id"
62263
+ },
62264
+ "extension": {
62265
+ "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
62266
+ "items": {
62267
+ "$ref": "#/definitions/Extension"
62268
+ },
62269
+ "type": "array"
62270
+ },
62271
+ "modifierExtension": {
62272
+ "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
62273
+ "items": {
62274
+ "$ref": "#/definitions/Extension"
62275
+ },
62276
+ "type": "array"
62277
+ },
62278
+ "column": {
62279
+ "description": "A column to be produced in the resulting table. The column is relative to the select structure\nthat contains it.",
62280
+ "items": {
62281
+ "$ref": "#/definitions/ViewDefinitionSelectColumn"
62282
+ },
62283
+ "type": "array"
62284
+ },
62285
+ "select": {
62286
+ "description": "Nested select relative to a parent expression. If the parent `select` has a `forEach` or `forEachOrNull`, this child select will apply for each item in that expression.",
62287
+ "items": {
62288
+ "$ref": "#/definitions/ViewDefinitionSelect"
62289
+ },
62290
+ "type": "array"
62291
+ },
62292
+ "forEach": {
62293
+ "description": "A FHIRPath expression to retrieve the parent element(s) used in the containing select, relative to the root resource or parent `select`,\nif applicable. `forEach` will produce a row for each element selected in the expression. For example, using forEach on `address` in Patient will\ngenerate a new row for each address, with columns defined in the corresponding `column` structure.",
62294
+ "$ref": "#/definitions/string"
62295
+ },
62296
+ "forEachOrNull": {
62297
+ "description": "Same as forEach, but produces a single row with null values in the nested expression if the collection is empty. For example,\nwith a Patient resource, a `forEachOrNull` on address will produce a row for each patient even if there are no addresses; it will\nsimply set the address columns to `null`.",
62298
+ "$ref": "#/definitions/string"
62299
+ },
62300
+ "unionAll": {
62301
+ "description": "A `unionAll` combines the results of multiple selection structures. Each structure under the `unionAll` must produce the same column names\nand types. The results from each nested selection will then have their own row.",
62302
+ "items": {
62303
+ "$ref": "#/definitions/ViewDefinitionSelect"
62304
+ },
62305
+ "type": "array"
62306
+ }
62307
+ },
62308
+ "additionalProperties": false
62309
+ },
62310
+ "ViewDefinitionWhere": {
62311
+ "description": "A series of zero or more FHIRPath constraints to filter resources for the view. Every constraint\nmust evaluate to true for the resource to be included in the view.",
62312
+ "properties": {
62313
+ "id": {
62314
+ "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
62315
+ "$ref": "#/definitions/id"
62316
+ },
62317
+ "extension": {
62318
+ "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
62319
+ "items": {
62320
+ "$ref": "#/definitions/Extension"
62321
+ },
62322
+ "type": "array"
62323
+ },
62324
+ "modifierExtension": {
62325
+ "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
62326
+ "items": {
62327
+ "$ref": "#/definitions/Extension"
62328
+ },
62329
+ "type": "array"
62330
+ },
62331
+ "path": {
62332
+ "description": "A FHIRPath expression that defines a filter that must evaluate to true for a resource to be\nincluded in the output. The input context is the collection of resources of the type specified in\nthe resource element. Constants defined in Reference({constant}) can be referenced as %[name].",
62333
+ "$ref": "#/definitions/string"
62334
+ },
62335
+ "description": {
62336
+ "description": "A human-readable description of the above where constraint.",
62337
+ "$ref": "#/definitions/string"
62338
+ }
62339
+ },
62340
+ "additionalProperties": false,
62341
+ "required": ["path"]
61392
62342
  }
61393
62343
  }
61394
62344
  }
@@ -526,6 +526,52 @@
526
526
  "min": 1,
527
527
  "max": "1"
528
528
  }
529
+ },
530
+ {
531
+ "id": "Project.defaultProfile",
532
+ "path": "Project.defaultProfile",
533
+ "definition": "Default profiles to apply to resources in this project that do not individually specify profiles",
534
+ "min": 0,
535
+ "max": "*",
536
+ "type": [{"code": "BackboneElement"}],
537
+ "base": {
538
+ "path": "Project.defaultProfile",
539
+ "min": 0,
540
+ "max": "*"
541
+ }
542
+ },
543
+ {
544
+ "id": "Project.defaultProfile.resourceType",
545
+ "path": "Project.defaultProfile.resourceType",
546
+ "definition": "The resource type onto which to apply the default profiles",
547
+ "min": 1,
548
+ "max": "1",
549
+ "type": [{"code": "code"}],
550
+ "base": {
551
+ "path": "Project.defaultProfile.resourceType",
552
+ "min": 1,
553
+ "max": "1"
554
+ },
555
+ "binding": {
556
+ "strength": "required",
557
+ "valueSet": "http://hl7.org/fhir/ValueSet/resource-types"
558
+ }
559
+ },
560
+ {
561
+ "id": "Project.defaultProfile.profile",
562
+ "path": "Project.defaultProfile.profile",
563
+ "definition": "The profiles to add by default",
564
+ "min": 1,
565
+ "max": "*",
566
+ "type": [{
567
+ "code" : "canonical",
568
+ "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
569
+ }],
570
+ "base": {
571
+ "path": "Project.defaultProfile.profile",
572
+ "min": 1,
573
+ "max": "*"
574
+ }
529
575
  }
530
576
  ]
531
577
  }
@@ -3598,7 +3644,15 @@
3598
3644
  "path" : "AccessPolicy.resource.criteria",
3599
3645
  "min" : 0,
3600
3646
  "max" : "1"
3601
- }
3647
+ },
3648
+ "constraint": [
3649
+ {
3650
+ "key": "axp-2",
3651
+ "severity": "error",
3652
+ "human": "Criteria must be a valid FHIR search string, e.g. Patient?identifier=123",
3653
+ "expression": "indexOf('?') > 0"
3654
+ }
3655
+ ]
3602
3656
  },
3603
3657
  {
3604
3658
  "id" : "AccessPolicy.resource.readonly",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "3.2.8",
3
+ "version": "3.2.9",
4
4
  "description": "Medplum Data Definitions",
5
5
  "keywords": [
6
6
  "medplum",