@medplum/mock 0.9.33 → 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/cjs/index.js +425 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +425 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +4 -4
package/dist/cjs/index.js
CHANGED
|
@@ -5645,6 +5645,431 @@
|
|
|
5645
5645
|
]
|
|
5646
5646
|
}
|
|
5647
5647
|
},
|
|
5648
|
+
{
|
|
5649
|
+
resourceType: "StructureDefinition",
|
|
5650
|
+
id: "QuestionnaireResponse",
|
|
5651
|
+
name: "QuestionnaireResponse",
|
|
5652
|
+
type: "QuestionnaireResponse",
|
|
5653
|
+
snapshot: {
|
|
5654
|
+
element: [
|
|
5655
|
+
{
|
|
5656
|
+
id: "QuestionnaireResponse",
|
|
5657
|
+
path: "QuestionnaireResponse",
|
|
5658
|
+
min: 0,
|
|
5659
|
+
max: "*"
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
id: "QuestionnaireResponse.id",
|
|
5663
|
+
path: "QuestionnaireResponse.id",
|
|
5664
|
+
min: 0,
|
|
5665
|
+
max: "1",
|
|
5666
|
+
type: [
|
|
5667
|
+
{
|
|
5668
|
+
code: "http://hl7.org/fhirpath/System.String"
|
|
5669
|
+
}
|
|
5670
|
+
]
|
|
5671
|
+
},
|
|
5672
|
+
{
|
|
5673
|
+
id: "QuestionnaireResponse.meta",
|
|
5674
|
+
path: "QuestionnaireResponse.meta",
|
|
5675
|
+
min: 0,
|
|
5676
|
+
max: "1",
|
|
5677
|
+
type: [
|
|
5678
|
+
{
|
|
5679
|
+
code: "Meta"
|
|
5680
|
+
}
|
|
5681
|
+
]
|
|
5682
|
+
},
|
|
5683
|
+
{
|
|
5684
|
+
id: "QuestionnaireResponse.implicitRules",
|
|
5685
|
+
path: "QuestionnaireResponse.implicitRules",
|
|
5686
|
+
min: 0,
|
|
5687
|
+
max: "1",
|
|
5688
|
+
type: [
|
|
5689
|
+
{
|
|
5690
|
+
code: "uri"
|
|
5691
|
+
}
|
|
5692
|
+
]
|
|
5693
|
+
},
|
|
5694
|
+
{
|
|
5695
|
+
id: "QuestionnaireResponse.language",
|
|
5696
|
+
path: "QuestionnaireResponse.language",
|
|
5697
|
+
min: 0,
|
|
5698
|
+
max: "1",
|
|
5699
|
+
type: [
|
|
5700
|
+
{
|
|
5701
|
+
code: "code"
|
|
5702
|
+
}
|
|
5703
|
+
]
|
|
5704
|
+
},
|
|
5705
|
+
{
|
|
5706
|
+
id: "QuestionnaireResponse.text",
|
|
5707
|
+
path: "QuestionnaireResponse.text",
|
|
5708
|
+
min: 0,
|
|
5709
|
+
max: "1",
|
|
5710
|
+
type: [
|
|
5711
|
+
{
|
|
5712
|
+
code: "Narrative"
|
|
5713
|
+
}
|
|
5714
|
+
]
|
|
5715
|
+
},
|
|
5716
|
+
{
|
|
5717
|
+
id: "QuestionnaireResponse.contained",
|
|
5718
|
+
path: "QuestionnaireResponse.contained",
|
|
5719
|
+
min: 0,
|
|
5720
|
+
max: "*",
|
|
5721
|
+
type: [
|
|
5722
|
+
{
|
|
5723
|
+
code: "Resource"
|
|
5724
|
+
}
|
|
5725
|
+
]
|
|
5726
|
+
},
|
|
5727
|
+
{
|
|
5728
|
+
id: "QuestionnaireResponse.extension",
|
|
5729
|
+
path: "QuestionnaireResponse.extension",
|
|
5730
|
+
min: 0,
|
|
5731
|
+
max: "*",
|
|
5732
|
+
type: [
|
|
5733
|
+
{
|
|
5734
|
+
code: "Extension"
|
|
5735
|
+
}
|
|
5736
|
+
]
|
|
5737
|
+
},
|
|
5738
|
+
{
|
|
5739
|
+
id: "QuestionnaireResponse.modifierExtension",
|
|
5740
|
+
path: "QuestionnaireResponse.modifierExtension",
|
|
5741
|
+
min: 0,
|
|
5742
|
+
max: "*",
|
|
5743
|
+
type: [
|
|
5744
|
+
{
|
|
5745
|
+
code: "Extension"
|
|
5746
|
+
}
|
|
5747
|
+
]
|
|
5748
|
+
},
|
|
5749
|
+
{
|
|
5750
|
+
id: "QuestionnaireResponse.identifier",
|
|
5751
|
+
path: "QuestionnaireResponse.identifier",
|
|
5752
|
+
min: 0,
|
|
5753
|
+
max: "1",
|
|
5754
|
+
type: [
|
|
5755
|
+
{
|
|
5756
|
+
code: "Identifier"
|
|
5757
|
+
}
|
|
5758
|
+
]
|
|
5759
|
+
},
|
|
5760
|
+
{
|
|
5761
|
+
id: "QuestionnaireResponse.basedOn",
|
|
5762
|
+
path: "QuestionnaireResponse.basedOn",
|
|
5763
|
+
min: 0,
|
|
5764
|
+
max: "*",
|
|
5765
|
+
type: [
|
|
5766
|
+
{
|
|
5767
|
+
code: "Reference",
|
|
5768
|
+
targetProfile: [
|
|
5769
|
+
"http://hl7.org/fhir/StructureDefinition/CarePlan",
|
|
5770
|
+
"http://hl7.org/fhir/StructureDefinition/ServiceRequest"
|
|
5771
|
+
]
|
|
5772
|
+
}
|
|
5773
|
+
]
|
|
5774
|
+
},
|
|
5775
|
+
{
|
|
5776
|
+
id: "QuestionnaireResponse.partOf",
|
|
5777
|
+
path: "QuestionnaireResponse.partOf",
|
|
5778
|
+
min: 0,
|
|
5779
|
+
max: "*",
|
|
5780
|
+
type: [
|
|
5781
|
+
{
|
|
5782
|
+
code: "Reference",
|
|
5783
|
+
targetProfile: [
|
|
5784
|
+
"http://hl7.org/fhir/StructureDefinition/Observation",
|
|
5785
|
+
"http://hl7.org/fhir/StructureDefinition/Procedure"
|
|
5786
|
+
]
|
|
5787
|
+
}
|
|
5788
|
+
]
|
|
5789
|
+
},
|
|
5790
|
+
{
|
|
5791
|
+
id: "QuestionnaireResponse.questionnaire",
|
|
5792
|
+
path: "QuestionnaireResponse.questionnaire",
|
|
5793
|
+
min: 0,
|
|
5794
|
+
max: "1",
|
|
5795
|
+
type: [
|
|
5796
|
+
{
|
|
5797
|
+
code: "canonical",
|
|
5798
|
+
targetProfile: [
|
|
5799
|
+
"http://hl7.org/fhir/StructureDefinition/Questionnaire"
|
|
5800
|
+
]
|
|
5801
|
+
}
|
|
5802
|
+
]
|
|
5803
|
+
},
|
|
5804
|
+
{
|
|
5805
|
+
id: "QuestionnaireResponse.status",
|
|
5806
|
+
path: "QuestionnaireResponse.status",
|
|
5807
|
+
min: 1,
|
|
5808
|
+
max: "1",
|
|
5809
|
+
type: [
|
|
5810
|
+
{
|
|
5811
|
+
code: "code"
|
|
5812
|
+
}
|
|
5813
|
+
]
|
|
5814
|
+
},
|
|
5815
|
+
{
|
|
5816
|
+
id: "QuestionnaireResponse.subject",
|
|
5817
|
+
path: "QuestionnaireResponse.subject",
|
|
5818
|
+
min: 0,
|
|
5819
|
+
max: "1",
|
|
5820
|
+
type: [
|
|
5821
|
+
{
|
|
5822
|
+
code: "Reference",
|
|
5823
|
+
targetProfile: [
|
|
5824
|
+
"http://hl7.org/fhir/StructureDefinition/Resource"
|
|
5825
|
+
]
|
|
5826
|
+
}
|
|
5827
|
+
]
|
|
5828
|
+
},
|
|
5829
|
+
{
|
|
5830
|
+
id: "QuestionnaireResponse.encounter",
|
|
5831
|
+
path: "QuestionnaireResponse.encounter",
|
|
5832
|
+
min: 0,
|
|
5833
|
+
max: "1",
|
|
5834
|
+
type: [
|
|
5835
|
+
{
|
|
5836
|
+
code: "Reference",
|
|
5837
|
+
targetProfile: [
|
|
5838
|
+
"http://hl7.org/fhir/StructureDefinition/Encounter"
|
|
5839
|
+
]
|
|
5840
|
+
}
|
|
5841
|
+
]
|
|
5842
|
+
},
|
|
5843
|
+
{
|
|
5844
|
+
id: "QuestionnaireResponse.authored",
|
|
5845
|
+
path: "QuestionnaireResponse.authored",
|
|
5846
|
+
min: 0,
|
|
5847
|
+
max: "1",
|
|
5848
|
+
type: [
|
|
5849
|
+
{
|
|
5850
|
+
code: "dateTime"
|
|
5851
|
+
}
|
|
5852
|
+
]
|
|
5853
|
+
},
|
|
5854
|
+
{
|
|
5855
|
+
id: "QuestionnaireResponse.author",
|
|
5856
|
+
path: "QuestionnaireResponse.author",
|
|
5857
|
+
min: 0,
|
|
5858
|
+
max: "1",
|
|
5859
|
+
type: [
|
|
5860
|
+
{
|
|
5861
|
+
code: "Reference",
|
|
5862
|
+
targetProfile: [
|
|
5863
|
+
"http://hl7.org/fhir/StructureDefinition/Device",
|
|
5864
|
+
"http://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
5865
|
+
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
5866
|
+
"http://hl7.org/fhir/StructureDefinition/Patient",
|
|
5867
|
+
"http://hl7.org/fhir/StructureDefinition/RelatedPerson",
|
|
5868
|
+
"http://hl7.org/fhir/StructureDefinition/Organization"
|
|
5869
|
+
]
|
|
5870
|
+
}
|
|
5871
|
+
]
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
id: "QuestionnaireResponse.source",
|
|
5875
|
+
path: "QuestionnaireResponse.source",
|
|
5876
|
+
min: 0,
|
|
5877
|
+
max: "1",
|
|
5878
|
+
type: [
|
|
5879
|
+
{
|
|
5880
|
+
code: "Reference",
|
|
5881
|
+
targetProfile: [
|
|
5882
|
+
"http://hl7.org/fhir/StructureDefinition/Patient",
|
|
5883
|
+
"http://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
5884
|
+
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
5885
|
+
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"
|
|
5886
|
+
]
|
|
5887
|
+
}
|
|
5888
|
+
]
|
|
5889
|
+
},
|
|
5890
|
+
{
|
|
5891
|
+
id: "QuestionnaireResponse.item",
|
|
5892
|
+
path: "QuestionnaireResponse.item",
|
|
5893
|
+
min: 0,
|
|
5894
|
+
max: "*",
|
|
5895
|
+
type: [
|
|
5896
|
+
{
|
|
5897
|
+
code: "BackboneElement"
|
|
5898
|
+
}
|
|
5899
|
+
]
|
|
5900
|
+
},
|
|
5901
|
+
{
|
|
5902
|
+
id: "QuestionnaireResponse.item.id",
|
|
5903
|
+
path: "QuestionnaireResponse.item.id",
|
|
5904
|
+
min: 0,
|
|
5905
|
+
max: "1",
|
|
5906
|
+
type: [
|
|
5907
|
+
{
|
|
5908
|
+
code: "http://hl7.org/fhirpath/System.String"
|
|
5909
|
+
}
|
|
5910
|
+
]
|
|
5911
|
+
},
|
|
5912
|
+
{
|
|
5913
|
+
id: "QuestionnaireResponse.item.extension",
|
|
5914
|
+
path: "QuestionnaireResponse.item.extension",
|
|
5915
|
+
min: 0,
|
|
5916
|
+
max: "*",
|
|
5917
|
+
type: [
|
|
5918
|
+
{
|
|
5919
|
+
code: "Extension"
|
|
5920
|
+
}
|
|
5921
|
+
]
|
|
5922
|
+
},
|
|
5923
|
+
{
|
|
5924
|
+
id: "QuestionnaireResponse.item.modifierExtension",
|
|
5925
|
+
path: "QuestionnaireResponse.item.modifierExtension",
|
|
5926
|
+
min: 0,
|
|
5927
|
+
max: "*",
|
|
5928
|
+
type: [
|
|
5929
|
+
{
|
|
5930
|
+
code: "Extension"
|
|
5931
|
+
}
|
|
5932
|
+
]
|
|
5933
|
+
},
|
|
5934
|
+
{
|
|
5935
|
+
id: "QuestionnaireResponse.item.linkId",
|
|
5936
|
+
path: "QuestionnaireResponse.item.linkId",
|
|
5937
|
+
min: 1,
|
|
5938
|
+
max: "1",
|
|
5939
|
+
type: [
|
|
5940
|
+
{
|
|
5941
|
+
code: "string"
|
|
5942
|
+
}
|
|
5943
|
+
]
|
|
5944
|
+
},
|
|
5945
|
+
{
|
|
5946
|
+
id: "QuestionnaireResponse.item.definition",
|
|
5947
|
+
path: "QuestionnaireResponse.item.definition",
|
|
5948
|
+
min: 0,
|
|
5949
|
+
max: "1",
|
|
5950
|
+
type: [
|
|
5951
|
+
{
|
|
5952
|
+
code: "uri"
|
|
5953
|
+
}
|
|
5954
|
+
]
|
|
5955
|
+
},
|
|
5956
|
+
{
|
|
5957
|
+
id: "QuestionnaireResponse.item.text",
|
|
5958
|
+
path: "QuestionnaireResponse.item.text",
|
|
5959
|
+
min: 0,
|
|
5960
|
+
max: "1",
|
|
5961
|
+
type: [
|
|
5962
|
+
{
|
|
5963
|
+
code: "string"
|
|
5964
|
+
}
|
|
5965
|
+
]
|
|
5966
|
+
},
|
|
5967
|
+
{
|
|
5968
|
+
id: "QuestionnaireResponse.item.answer",
|
|
5969
|
+
path: "QuestionnaireResponse.item.answer",
|
|
5970
|
+
min: 0,
|
|
5971
|
+
max: "*",
|
|
5972
|
+
type: [
|
|
5973
|
+
{
|
|
5974
|
+
code: "BackboneElement"
|
|
5975
|
+
}
|
|
5976
|
+
]
|
|
5977
|
+
},
|
|
5978
|
+
{
|
|
5979
|
+
id: "QuestionnaireResponse.item.answer.id",
|
|
5980
|
+
path: "QuestionnaireResponse.item.answer.id",
|
|
5981
|
+
min: 0,
|
|
5982
|
+
max: "1",
|
|
5983
|
+
type: [
|
|
5984
|
+
{
|
|
5985
|
+
code: "http://hl7.org/fhirpath/System.String"
|
|
5986
|
+
}
|
|
5987
|
+
]
|
|
5988
|
+
},
|
|
5989
|
+
{
|
|
5990
|
+
id: "QuestionnaireResponse.item.answer.extension",
|
|
5991
|
+
path: "QuestionnaireResponse.item.answer.extension",
|
|
5992
|
+
min: 0,
|
|
5993
|
+
max: "*",
|
|
5994
|
+
type: [
|
|
5995
|
+
{
|
|
5996
|
+
code: "Extension"
|
|
5997
|
+
}
|
|
5998
|
+
]
|
|
5999
|
+
},
|
|
6000
|
+
{
|
|
6001
|
+
id: "QuestionnaireResponse.item.answer.modifierExtension",
|
|
6002
|
+
path: "QuestionnaireResponse.item.answer.modifierExtension",
|
|
6003
|
+
min: 0,
|
|
6004
|
+
max: "*",
|
|
6005
|
+
type: [
|
|
6006
|
+
{
|
|
6007
|
+
code: "Extension"
|
|
6008
|
+
}
|
|
6009
|
+
]
|
|
6010
|
+
},
|
|
6011
|
+
{
|
|
6012
|
+
id: "QuestionnaireResponse.item.answer.value[x]",
|
|
6013
|
+
path: "QuestionnaireResponse.item.answer.value[x]",
|
|
6014
|
+
min: 0,
|
|
6015
|
+
max: "1",
|
|
6016
|
+
type: [
|
|
6017
|
+
{
|
|
6018
|
+
code: "boolean"
|
|
6019
|
+
},
|
|
6020
|
+
{
|
|
6021
|
+
code: "decimal"
|
|
6022
|
+
},
|
|
6023
|
+
{
|
|
6024
|
+
code: "integer"
|
|
6025
|
+
},
|
|
6026
|
+
{
|
|
6027
|
+
code: "date"
|
|
6028
|
+
},
|
|
6029
|
+
{
|
|
6030
|
+
code: "dateTime"
|
|
6031
|
+
},
|
|
6032
|
+
{
|
|
6033
|
+
code: "time"
|
|
6034
|
+
},
|
|
6035
|
+
{
|
|
6036
|
+
code: "string"
|
|
6037
|
+
},
|
|
6038
|
+
{
|
|
6039
|
+
code: "uri"
|
|
6040
|
+
},
|
|
6041
|
+
{
|
|
6042
|
+
code: "Attachment"
|
|
6043
|
+
},
|
|
6044
|
+
{
|
|
6045
|
+
code: "Coding"
|
|
6046
|
+
},
|
|
6047
|
+
{
|
|
6048
|
+
code: "Quantity"
|
|
6049
|
+
},
|
|
6050
|
+
{
|
|
6051
|
+
code: "Reference",
|
|
6052
|
+
targetProfile: [
|
|
6053
|
+
"http://hl7.org/fhir/StructureDefinition/Resource"
|
|
6054
|
+
]
|
|
6055
|
+
}
|
|
6056
|
+
]
|
|
6057
|
+
},
|
|
6058
|
+
{
|
|
6059
|
+
id: "QuestionnaireResponse.item.answer.item",
|
|
6060
|
+
path: "QuestionnaireResponse.item.answer.item",
|
|
6061
|
+
min: 0,
|
|
6062
|
+
max: "*"
|
|
6063
|
+
},
|
|
6064
|
+
{
|
|
6065
|
+
id: "QuestionnaireResponse.item.item",
|
|
6066
|
+
path: "QuestionnaireResponse.item.item",
|
|
6067
|
+
min: 0,
|
|
6068
|
+
max: "*"
|
|
6069
|
+
}
|
|
6070
|
+
]
|
|
6071
|
+
}
|
|
6072
|
+
},
|
|
5648
6073
|
{
|
|
5649
6074
|
resourceType: "StructureDefinition",
|
|
5650
6075
|
id: "ServiceRequest",
|