@d4l/collect-lib 1.30.0 → 1.31.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.
package/dist/index.mjs CHANGED
@@ -912,6 +912,11 @@ var StudyNameSystem = "http://fhir.data4life.care/r5/CodeSystem/study-name";
912
912
  var SensorSettingsSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-settings";
913
913
  var CustomQuestionSystem = "http://fhir.data4life.care/r5/CodeSystem/custom-question-class";
914
914
  var CommunicationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/communication-types";
915
+ var CountryValueSet = "http://hl7.org/fhir/ValueSet/iso3166-1-2";
916
+ var Iso3166CodeSystem = "urn:iso:std:iso:3166";
917
+ var PostalCodeCountrySourceExtension = "http://fhir.data4life.care/fhir/StructureDefinition/postalcode-country-source";
918
+ var PostalCodeFromItemUrl = "fromItem";
919
+ var PostalCodeFixedCountryUrl = "fixedCountry";
915
920
  var DEVICE_LABEL_CODING = {
916
921
  system: SensorSettingsSystem,
917
922
  code: "device_label",
@@ -1216,6 +1221,7 @@ var toQuestionnaireResponseItem = (answer) => {
1216
1221
  answer: [{ valueDate: String(response.value) }]
1217
1222
  };
1218
1223
  case "single-select":
1224
+ case "country":
1219
1225
  return {
1220
1226
  linkId: answer.id,
1221
1227
  text: answer.text,
@@ -5741,6 +5747,7 @@ export {
5741
5747
  ConsentGuard,
5742
5748
  ConsentNameSystem,
5743
5749
  ConsentVersionSystem,
5750
+ CountryValueSet,
5744
5751
  CustomExtensionContextValue,
5745
5752
  CustomExtensionDate,
5746
5753
  CustomExtensionStudyName,
@@ -5802,6 +5809,7 @@ export {
5802
5809
  HEALTH_CONNECT_STEPS_ANNOTATION,
5803
5810
  IMUAnnotation,
5804
5811
  InternalSensorAnnotationTypes,
5812
+ Iso3166CodeSystem,
5805
5813
  KeyHandler,
5806
5814
  MaxValueExtension,
5807
5815
  MeasurementTypeSystem,
@@ -5819,6 +5827,9 @@ export {
5819
5827
  PSMSPPGIRAnnotation,
5820
5828
  PSMSPPGRedAnnotation,
5821
5829
  PSMSSkinTemperatureAnnotation,
5830
+ PostalCodeCountrySourceExtension,
5831
+ PostalCodeFixedCountryUrl,
5832
+ PostalCodeFromItemUrl,
5822
5833
  PrepopulateExtension,
5823
5834
  QItemControlDefinition,
5824
5835
  RECORDING_MODEL_CURRENT_VERSION,