New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gcp-nrces-fhir

Package Overview
Dependencies
Maintainers
0
Versions
461
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcp-nrces-fhir - npm Package Compare versions

Comparing version 9.0.72 to 9.0.73

31

lib/hcx/Claim.js

@@ -96,6 +96,24 @@ "use strict";

if (body.item && body.item.length > 0) {
ret += `<table>`;
ret += `<tr>
<th>
Encounter
</th>
<th>
Item
</th>
<th>
Unit Price
</th>
<th>
Quantity
</th>
<th>
Value
</th>
</tr>`;
for (let index = 0; index < body.item.length; index++) {
const el = body.item[index];
if (el.encounter && el.encounter.length > 0) {
ret += `<h4>Encounter</h4>`;
ret += `<tr>`;
for (let encounterIndex = 0; encounterIndex < el.encounter.length; encounterIndex++) {

@@ -106,8 +124,13 @@ const encounterEl = el.encounter[encounterIndex];

const curEncounter = new Encounter_1.Encounter().convertFhirToObject(resource.data);
ret += `Encounter : ${curEncounter.text} start Date : ${new TimeZone_1.TimeZone().convertTZ(curEncounter.startDate, "Asia/Kolkata", false)} ${curEncounter.endDate && `End Date : ${new TimeZone_1.TimeZone().convertTZ(curEncounter.startDate, "Asia/Kolkata", false)}`}`;
const encounterString = `Encounter : ${curEncounter.text} start Date : ${new TimeZone_1.TimeZone().convertTZ(curEncounter.startDate, "Asia/Kolkata", false)} ${curEncounter.endDate && `End Date : ${new TimeZone_1.TimeZone().convertTZ(curEncounter.startDate, "Asia/Kolkata", false)}`}`;
ret += `<td>${encounterString}</td>`;
}
}
ret += `<h4>Product and services </h4>`;
ret += `${el.sequence} Name : ${el.productOrService.coding.map(el => this.codingtoHtml(el)).join(", ")}, quantity: ${el.quantity.value} unitPrice ${el.unitPrice.value} ${el.unitPrice.currency}`;
ret += `<td>${el.sequence} ${el.productOrService.coding.map(el => this.codingtoHtml(el)).join(", ")}</td>`;
ret += `<td>${el.unitPrice.currency}${el.unitPrice.value}</td>`;
ret += `<td>${el.quantity.value}</td>`;
ret += `<td>${el.unitPrice.currency} ${(el.unitPrice.value * el.quantity.value).toFixed(2)}</td>`;
ret += `</td>`;
}
ret += `</tr>`;
}

@@ -114,0 +137,0 @@ }

2

package.json
{
"name": "gcp-nrces-fhir",
"version": "9.0.72",
"version": "9.0.73",
"description": "Google cloud healthcare api NRCES FHIR implimenataion",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc