@claudebernard/therapeutic-alternative-element 1.0.3 → 1.0.4

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.
@@ -986,7 +986,7 @@ let TherapeuticAlternative = class extends i$1 {
986
986
  this.searchTherapeuticAlternative();
987
987
  }
988
988
  getIndicationsListForMedication() {
989
- const medicationBcbId = this.medication?.medication.code?.coding?.find((option) => option.system === "https://platform.claudebernard.fr/fhir/CodeSystem/bcb-code")?.code || "";
989
+ const medicationBcbId = this.medication?.medication?.code?.coding?.find((option) => option.system === "https://platform.claudebernard.fr/fhir/CodeSystem/bcb-code")?.code || "";
990
990
  if (medicationBcbId !== "") {
991
991
  this.apiInfoLoading = true;
992
992
  infoApi.searchKeywordByProductIdAndCode({ path: { productIds: [medicationBcbId] }, query: { type: "INDICATIONS" } }).then((response) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudebernard/therapeutic-alternative-element",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "dist/therapeutic-alternative.es.js",
5
5
  "module": "dist/therapeutic-alternative.es.js",
6
6
  "types": "dist/therapeutic-alternative.d.ts",