uhc-portal-components-react 0.1.32 → 0.1.33

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.33
4
+
5
+ - Resolve the root `code-text` terminology input to the canonical `code`
6
+ claim for AllergyIntolerance, Condition and Procedure editors. This restores
7
+ coded create/recreate parity with MedicationStatement and Immunization.
8
+
3
9
  ## 0.1.32
4
10
 
5
11
  - Present every JSON-Schema `date-time` and `fhir-date-time` clinical claim as
@@ -240,6 +240,8 @@ function statusOptions(resourceType, parameter) {
240
240
  }
241
241
  function terminologyCodeClaim(resourceType, inputClaim) {
242
242
  const parameter = inputClaim.slice(resourceType.length + 1);
243
+ if (parameter === 'code-text')
244
+ return `${resourceType}.code`;
243
245
  if (parameter.endsWith('-code-text'))
244
246
  return `${resourceType}.${parameter.slice(0, -5)}`;
245
247
  if (resourceType === 'MedicationStatement' && parameter === 'medication-text')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uhc-portal-components-react",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Brand-neutral React portal shell, account preferences and protected-profile UI for UHC and VetChain portals.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",