Skip to content

Commit

Permalink
fix: ajusta moment
Browse files Browse the repository at this point in the history
  • Loading branch information
liquid36 committed Jul 26, 2021
1 parent 33e1393 commit 7e11c76
Show file tree
Hide file tree
Showing 8 changed files with 448 additions and 439 deletions.
875 changes: 442 additions & 433 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^7.0.18",
"@types/jest": "^26.0.22",
"@types/moment": "^2.13.0",
"@types/node": "^6.0.117",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import moment from 'moment';
import * as moment from 'moment';
import { makeUrl } from './config';

export function encode(ID, resources) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/composition.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import moment from 'moment';
import * as moment from 'moment';
import { makeUrl } from './config';

function getReference(url) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/document-reference.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import moment from 'moment';
import * as moment from 'moment';
import { makeUrl } from './config';

export function encode(ID, author, organization, patient, binaryURL) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/medicationRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @param {} medicationRequest
*/

import moment from 'moment';
import * as moment from 'moment';

// Muy incompleto hay que mejorarlo mucho todavía

Expand Down
2 changes: 1 addition & 1 deletion src/lib/patient.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import patient from '../data/patient.json';
import * as patient from '../data/patient.json';
import { encode } from './patient';
describe('encode patient from ANDES to FHIR R4', () => {
test('Verify basic data', () => {
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
Expand Down

0 comments on commit 7e11c76

Please sign in to comment.