@medplum/mock 0.9.31 → 0.9.34

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.
package/dist/esm/index.js CHANGED
@@ -5641,6 +5641,431 @@ var StructureDefinitionList = [
5641
5641
  ]
5642
5642
  }
5643
5643
  },
5644
+ {
5645
+ resourceType: "StructureDefinition",
5646
+ id: "QuestionnaireResponse",
5647
+ name: "QuestionnaireResponse",
5648
+ type: "QuestionnaireResponse",
5649
+ snapshot: {
5650
+ element: [
5651
+ {
5652
+ id: "QuestionnaireResponse",
5653
+ path: "QuestionnaireResponse",
5654
+ min: 0,
5655
+ max: "*"
5656
+ },
5657
+ {
5658
+ id: "QuestionnaireResponse.id",
5659
+ path: "QuestionnaireResponse.id",
5660
+ min: 0,
5661
+ max: "1",
5662
+ type: [
5663
+ {
5664
+ code: "http://hl7.org/fhirpath/System.String"
5665
+ }
5666
+ ]
5667
+ },
5668
+ {
5669
+ id: "QuestionnaireResponse.meta",
5670
+ path: "QuestionnaireResponse.meta",
5671
+ min: 0,
5672
+ max: "1",
5673
+ type: [
5674
+ {
5675
+ code: "Meta"
5676
+ }
5677
+ ]
5678
+ },
5679
+ {
5680
+ id: "QuestionnaireResponse.implicitRules",
5681
+ path: "QuestionnaireResponse.implicitRules",
5682
+ min: 0,
5683
+ max: "1",
5684
+ type: [
5685
+ {
5686
+ code: "uri"
5687
+ }
5688
+ ]
5689
+ },
5690
+ {
5691
+ id: "QuestionnaireResponse.language",
5692
+ path: "QuestionnaireResponse.language",
5693
+ min: 0,
5694
+ max: "1",
5695
+ type: [
5696
+ {
5697
+ code: "code"
5698
+ }
5699
+ ]
5700
+ },
5701
+ {
5702
+ id: "QuestionnaireResponse.text",
5703
+ path: "QuestionnaireResponse.text",
5704
+ min: 0,
5705
+ max: "1",
5706
+ type: [
5707
+ {
5708
+ code: "Narrative"
5709
+ }
5710
+ ]
5711
+ },
5712
+ {
5713
+ id: "QuestionnaireResponse.contained",
5714
+ path: "QuestionnaireResponse.contained",
5715
+ min: 0,
5716
+ max: "*",
5717
+ type: [
5718
+ {
5719
+ code: "Resource"
5720
+ }
5721
+ ]
5722
+ },
5723
+ {
5724
+ id: "QuestionnaireResponse.extension",
5725
+ path: "QuestionnaireResponse.extension",
5726
+ min: 0,
5727
+ max: "*",
5728
+ type: [
5729
+ {
5730
+ code: "Extension"
5731
+ }
5732
+ ]
5733
+ },
5734
+ {
5735
+ id: "QuestionnaireResponse.modifierExtension",
5736
+ path: "QuestionnaireResponse.modifierExtension",
5737
+ min: 0,
5738
+ max: "*",
5739
+ type: [
5740
+ {
5741
+ code: "Extension"
5742
+ }
5743
+ ]
5744
+ },
5745
+ {
5746
+ id: "QuestionnaireResponse.identifier",
5747
+ path: "QuestionnaireResponse.identifier",
5748
+ min: 0,
5749
+ max: "1",
5750
+ type: [
5751
+ {
5752
+ code: "Identifier"
5753
+ }
5754
+ ]
5755
+ },
5756
+ {
5757
+ id: "QuestionnaireResponse.basedOn",
5758
+ path: "QuestionnaireResponse.basedOn",
5759
+ min: 0,
5760
+ max: "*",
5761
+ type: [
5762
+ {
5763
+ code: "Reference",
5764
+ targetProfile: [
5765
+ "http://hl7.org/fhir/StructureDefinition/CarePlan",
5766
+ "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
5767
+ ]
5768
+ }
5769
+ ]
5770
+ },
5771
+ {
5772
+ id: "QuestionnaireResponse.partOf",
5773
+ path: "QuestionnaireResponse.partOf",
5774
+ min: 0,
5775
+ max: "*",
5776
+ type: [
5777
+ {
5778
+ code: "Reference",
5779
+ targetProfile: [
5780
+ "http://hl7.org/fhir/StructureDefinition/Observation",
5781
+ "http://hl7.org/fhir/StructureDefinition/Procedure"
5782
+ ]
5783
+ }
5784
+ ]
5785
+ },
5786
+ {
5787
+ id: "QuestionnaireResponse.questionnaire",
5788
+ path: "QuestionnaireResponse.questionnaire",
5789
+ min: 0,
5790
+ max: "1",
5791
+ type: [
5792
+ {
5793
+ code: "canonical",
5794
+ targetProfile: [
5795
+ "http://hl7.org/fhir/StructureDefinition/Questionnaire"
5796
+ ]
5797
+ }
5798
+ ]
5799
+ },
5800
+ {
5801
+ id: "QuestionnaireResponse.status",
5802
+ path: "QuestionnaireResponse.status",
5803
+ min: 1,
5804
+ max: "1",
5805
+ type: [
5806
+ {
5807
+ code: "code"
5808
+ }
5809
+ ]
5810
+ },
5811
+ {
5812
+ id: "QuestionnaireResponse.subject",
5813
+ path: "QuestionnaireResponse.subject",
5814
+ min: 0,
5815
+ max: "1",
5816
+ type: [
5817
+ {
5818
+ code: "Reference",
5819
+ targetProfile: [
5820
+ "http://hl7.org/fhir/StructureDefinition/Resource"
5821
+ ]
5822
+ }
5823
+ ]
5824
+ },
5825
+ {
5826
+ id: "QuestionnaireResponse.encounter",
5827
+ path: "QuestionnaireResponse.encounter",
5828
+ min: 0,
5829
+ max: "1",
5830
+ type: [
5831
+ {
5832
+ code: "Reference",
5833
+ targetProfile: [
5834
+ "http://hl7.org/fhir/StructureDefinition/Encounter"
5835
+ ]
5836
+ }
5837
+ ]
5838
+ },
5839
+ {
5840
+ id: "QuestionnaireResponse.authored",
5841
+ path: "QuestionnaireResponse.authored",
5842
+ min: 0,
5843
+ max: "1",
5844
+ type: [
5845
+ {
5846
+ code: "dateTime"
5847
+ }
5848
+ ]
5849
+ },
5850
+ {
5851
+ id: "QuestionnaireResponse.author",
5852
+ path: "QuestionnaireResponse.author",
5853
+ min: 0,
5854
+ max: "1",
5855
+ type: [
5856
+ {
5857
+ code: "Reference",
5858
+ targetProfile: [
5859
+ "http://hl7.org/fhir/StructureDefinition/Device",
5860
+ "http://hl7.org/fhir/StructureDefinition/Practitioner",
5861
+ "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
5862
+ "http://hl7.org/fhir/StructureDefinition/Patient",
5863
+ "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
5864
+ "http://hl7.org/fhir/StructureDefinition/Organization"
5865
+ ]
5866
+ }
5867
+ ]
5868
+ },
5869
+ {
5870
+ id: "QuestionnaireResponse.source",
5871
+ path: "QuestionnaireResponse.source",
5872
+ min: 0,
5873
+ max: "1",
5874
+ type: [
5875
+ {
5876
+ code: "Reference",
5877
+ targetProfile: [
5878
+ "http://hl7.org/fhir/StructureDefinition/Patient",
5879
+ "http://hl7.org/fhir/StructureDefinition/Practitioner",
5880
+ "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
5881
+ "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
5882
+ ]
5883
+ }
5884
+ ]
5885
+ },
5886
+ {
5887
+ id: "QuestionnaireResponse.item",
5888
+ path: "QuestionnaireResponse.item",
5889
+ min: 0,
5890
+ max: "*",
5891
+ type: [
5892
+ {
5893
+ code: "BackboneElement"
5894
+ }
5895
+ ]
5896
+ },
5897
+ {
5898
+ id: "QuestionnaireResponse.item.id",
5899
+ path: "QuestionnaireResponse.item.id",
5900
+ min: 0,
5901
+ max: "1",
5902
+ type: [
5903
+ {
5904
+ code: "http://hl7.org/fhirpath/System.String"
5905
+ }
5906
+ ]
5907
+ },
5908
+ {
5909
+ id: "QuestionnaireResponse.item.extension",
5910
+ path: "QuestionnaireResponse.item.extension",
5911
+ min: 0,
5912
+ max: "*",
5913
+ type: [
5914
+ {
5915
+ code: "Extension"
5916
+ }
5917
+ ]
5918
+ },
5919
+ {
5920
+ id: "QuestionnaireResponse.item.modifierExtension",
5921
+ path: "QuestionnaireResponse.item.modifierExtension",
5922
+ min: 0,
5923
+ max: "*",
5924
+ type: [
5925
+ {
5926
+ code: "Extension"
5927
+ }
5928
+ ]
5929
+ },
5930
+ {
5931
+ id: "QuestionnaireResponse.item.linkId",
5932
+ path: "QuestionnaireResponse.item.linkId",
5933
+ min: 1,
5934
+ max: "1",
5935
+ type: [
5936
+ {
5937
+ code: "string"
5938
+ }
5939
+ ]
5940
+ },
5941
+ {
5942
+ id: "QuestionnaireResponse.item.definition",
5943
+ path: "QuestionnaireResponse.item.definition",
5944
+ min: 0,
5945
+ max: "1",
5946
+ type: [
5947
+ {
5948
+ code: "uri"
5949
+ }
5950
+ ]
5951
+ },
5952
+ {
5953
+ id: "QuestionnaireResponse.item.text",
5954
+ path: "QuestionnaireResponse.item.text",
5955
+ min: 0,
5956
+ max: "1",
5957
+ type: [
5958
+ {
5959
+ code: "string"
5960
+ }
5961
+ ]
5962
+ },
5963
+ {
5964
+ id: "QuestionnaireResponse.item.answer",
5965
+ path: "QuestionnaireResponse.item.answer",
5966
+ min: 0,
5967
+ max: "*",
5968
+ type: [
5969
+ {
5970
+ code: "BackboneElement"
5971
+ }
5972
+ ]
5973
+ },
5974
+ {
5975
+ id: "QuestionnaireResponse.item.answer.id",
5976
+ path: "QuestionnaireResponse.item.answer.id",
5977
+ min: 0,
5978
+ max: "1",
5979
+ type: [
5980
+ {
5981
+ code: "http://hl7.org/fhirpath/System.String"
5982
+ }
5983
+ ]
5984
+ },
5985
+ {
5986
+ id: "QuestionnaireResponse.item.answer.extension",
5987
+ path: "QuestionnaireResponse.item.answer.extension",
5988
+ min: 0,
5989
+ max: "*",
5990
+ type: [
5991
+ {
5992
+ code: "Extension"
5993
+ }
5994
+ ]
5995
+ },
5996
+ {
5997
+ id: "QuestionnaireResponse.item.answer.modifierExtension",
5998
+ path: "QuestionnaireResponse.item.answer.modifierExtension",
5999
+ min: 0,
6000
+ max: "*",
6001
+ type: [
6002
+ {
6003
+ code: "Extension"
6004
+ }
6005
+ ]
6006
+ },
6007
+ {
6008
+ id: "QuestionnaireResponse.item.answer.value[x]",
6009
+ path: "QuestionnaireResponse.item.answer.value[x]",
6010
+ min: 0,
6011
+ max: "1",
6012
+ type: [
6013
+ {
6014
+ code: "boolean"
6015
+ },
6016
+ {
6017
+ code: "decimal"
6018
+ },
6019
+ {
6020
+ code: "integer"
6021
+ },
6022
+ {
6023
+ code: "date"
6024
+ },
6025
+ {
6026
+ code: "dateTime"
6027
+ },
6028
+ {
6029
+ code: "time"
6030
+ },
6031
+ {
6032
+ code: "string"
6033
+ },
6034
+ {
6035
+ code: "uri"
6036
+ },
6037
+ {
6038
+ code: "Attachment"
6039
+ },
6040
+ {
6041
+ code: "Coding"
6042
+ },
6043
+ {
6044
+ code: "Quantity"
6045
+ },
6046
+ {
6047
+ code: "Reference",
6048
+ targetProfile: [
6049
+ "http://hl7.org/fhir/StructureDefinition/Resource"
6050
+ ]
6051
+ }
6052
+ ]
6053
+ },
6054
+ {
6055
+ id: "QuestionnaireResponse.item.answer.item",
6056
+ path: "QuestionnaireResponse.item.answer.item",
6057
+ min: 0,
6058
+ max: "*"
6059
+ },
6060
+ {
6061
+ id: "QuestionnaireResponse.item.item",
6062
+ path: "QuestionnaireResponse.item.item",
6063
+ min: 0,
6064
+ max: "*"
6065
+ }
6066
+ ]
6067
+ }
6068
+ },
5644
6069
  {
5645
6070
  resourceType: "StructureDefinition",
5646
6071
  id: "ServiceRequest",
@@ -6752,12 +7177,270 @@ var StructureDefinitionList = [
6752
7177
  ]
6753
7178
  }
6754
7179
  },
7180
+ {
7181
+ resourceType: "StructureDefinition",
7182
+ id: "Project",
7183
+ name: "Project",
7184
+ type: "Project",
7185
+ snapshot: {
7186
+ element: [
7187
+ {
7188
+ id: "Project",
7189
+ path: "Project",
7190
+ min: 0,
7191
+ max: "*"
7192
+ },
7193
+ {
7194
+ id: "Project.id",
7195
+ path: "Project.id",
7196
+ min: 0,
7197
+ max: "1",
7198
+ type: [
7199
+ {
7200
+ code: "string"
7201
+ }
7202
+ ]
7203
+ },
7204
+ {
7205
+ id: "Project.meta",
7206
+ path: "Project.meta",
7207
+ min: 0,
7208
+ max: "1",
7209
+ type: [
7210
+ {
7211
+ code: "Meta"
7212
+ }
7213
+ ]
7214
+ },
7215
+ {
7216
+ id: "Project.implicitRules",
7217
+ path: "Project.implicitRules",
7218
+ min: 0,
7219
+ max: "1",
7220
+ type: [
7221
+ {
7222
+ code: "uri"
7223
+ }
7224
+ ]
7225
+ },
7226
+ {
7227
+ id: "Project.language",
7228
+ path: "Project.language",
7229
+ min: 0,
7230
+ max: "1",
7231
+ type: [
7232
+ {
7233
+ code: "code"
7234
+ }
7235
+ ]
7236
+ },
7237
+ {
7238
+ id: "Project.name",
7239
+ path: "Project.name",
7240
+ min: 0,
7241
+ max: "1",
7242
+ type: [
7243
+ {
7244
+ code: "string"
7245
+ }
7246
+ ]
7247
+ },
7248
+ {
7249
+ id: "Project.description",
7250
+ path: "Project.description",
7251
+ min: 0,
7252
+ max: "1",
7253
+ type: [
7254
+ {
7255
+ code: "string"
7256
+ }
7257
+ ]
7258
+ },
7259
+ {
7260
+ id: "Project.superAdmin",
7261
+ path: "Project.superAdmin",
7262
+ min: 0,
7263
+ max: "1",
7264
+ type: [
7265
+ {
7266
+ code: "boolean"
7267
+ }
7268
+ ]
7269
+ },
7270
+ {
7271
+ id: "Project.owner",
7272
+ path: "Project.owner",
7273
+ min: 0,
7274
+ max: "1",
7275
+ type: [
7276
+ {
7277
+ code: "Reference",
7278
+ targetProfile: [
7279
+ "https://medplum.com/fhir/StructureDefinition/User"
7280
+ ]
7281
+ }
7282
+ ]
7283
+ },
7284
+ {
7285
+ id: "Project.features",
7286
+ path: "Project.features",
7287
+ min: 0,
7288
+ max: "*",
7289
+ type: [
7290
+ {
7291
+ code: "code"
7292
+ }
7293
+ ]
7294
+ },
7295
+ {
7296
+ id: "Project.defaultPatientAccessPolicy",
7297
+ path: "Project.defaultPatientAccessPolicy",
7298
+ min: 0,
7299
+ max: "1",
7300
+ type: [
7301
+ {
7302
+ code: "Reference",
7303
+ targetProfile: [
7304
+ "https://medplum.com/fhir/StructureDefinition/AccessPolicy"
7305
+ ]
7306
+ }
7307
+ ]
7308
+ },
7309
+ {
7310
+ id: "Project.secret",
7311
+ path: "Project.secret",
7312
+ min: 0,
7313
+ max: "*",
7314
+ type: [
7315
+ {
7316
+ code: "BackboneElement"
7317
+ }
7318
+ ]
7319
+ },
7320
+ {
7321
+ id: "Project.secret.name",
7322
+ path: "Project.secret.name",
7323
+ min: 1,
7324
+ max: "1",
7325
+ type: [
7326
+ {
7327
+ code: "string"
7328
+ }
7329
+ ]
7330
+ },
7331
+ {
7332
+ id: "Project.secret.value[x]",
7333
+ path: "Project.secret.value[x]",
7334
+ min: 1,
7335
+ max: "1",
7336
+ type: [
7337
+ {
7338
+ code: "string"
7339
+ },
7340
+ {
7341
+ code: "boolean"
7342
+ },
7343
+ {
7344
+ code: "decimal"
7345
+ },
7346
+ {
7347
+ code: "integer"
7348
+ }
7349
+ ]
7350
+ },
7351
+ {
7352
+ id: "Project.site",
7353
+ path: "Project.site",
7354
+ min: 0,
7355
+ max: "*",
7356
+ type: [
7357
+ {
7358
+ code: "BackboneElement"
7359
+ }
7360
+ ]
7361
+ },
7362
+ {
7363
+ id: "Project.site.name",
7364
+ path: "Project.site.name",
7365
+ min: 1,
7366
+ max: "1",
7367
+ type: [
7368
+ {
7369
+ code: "string"
7370
+ }
7371
+ ]
7372
+ },
7373
+ {
7374
+ id: "Project.site.domain",
7375
+ path: "Project.site.domain",
7376
+ min: 1,
7377
+ max: "*",
7378
+ type: [
7379
+ {
7380
+ code: "string"
7381
+ }
7382
+ ]
7383
+ },
7384
+ {
7385
+ id: "Project.site.googleClientId",
7386
+ path: "Project.site.googleClientId",
7387
+ min: 0,
7388
+ max: "1",
7389
+ type: [
7390
+ {
7391
+ code: "string"
7392
+ }
7393
+ ]
7394
+ },
7395
+ {
7396
+ id: "Project.site.googleClientSecret",
7397
+ path: "Project.site.googleClientSecret",
7398
+ min: 0,
7399
+ max: "1",
7400
+ type: [
7401
+ {
7402
+ code: "string"
7403
+ }
7404
+ ]
7405
+ },
7406
+ {
7407
+ id: "Project.site.recaptchaSiteKey",
7408
+ path: "Project.site.recaptchaSiteKey",
7409
+ min: 0,
7410
+ max: "1",
7411
+ type: [
7412
+ {
7413
+ code: "string"
7414
+ }
7415
+ ]
7416
+ },
7417
+ {
7418
+ id: "Project.site.recaptchaSecretKey",
7419
+ path: "Project.site.recaptchaSecretKey",
7420
+ min: 0,
7421
+ max: "1",
7422
+ type: [
7423
+ {
7424
+ code: "string"
7425
+ }
7426
+ ]
7427
+ }
7428
+ ]
7429
+ }
7430
+ },
6755
7431
  {
6756
7432
  resourceType: "StructureDefinition",
6757
7433
  id: "Bot",
6758
7434
  name: "Bot",
7435
+ type: "Bot",
6759
7436
  snapshot: {
6760
7437
  element: [
7438
+ {
7439
+ id: "Bot",
7440
+ path: "Bot",
7441
+ min: 0,
7442
+ max: "*"
7443
+ },
6761
7444
  {
6762
7445
  id: "Bot.id",
6763
7446
  path: "Bot.id",