Skip to content

Commit cb2d5e2

Browse files
committed
ts: fix codegeneration for enum arrays.
1 parent bb2e175 commit cb2d5e2

19 files changed

Lines changed: 19 additions & 19 deletions

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/CDS_Hooks_RequestGroup_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface CDS_Hooks_RequestGroup {
1717

1818
identifier: Identifier[];
1919
instantiatesUri: string[];
20-
priority?: 'routine' | 'urgent' | 'asap' | 'stat';
20+
priority?: ('routine' | 'urgent' | 'asap' | 'stat');
2121
subject?: Reference<'Group' | 'Patient'>;
2222
authoredOn?: string;
2323
author?: Reference<'Device' | 'Practitioner' | 'PractitionerRole'>;

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/Device_Metric_Observation_Profile_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface Device_Metric_Observation_Profile {
1919
__profileUrl: "http://hl7.org/fhir/StructureDefinition/devicemetricobservation";
2020

2121
identifier?: Identifier[];
22-
status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
22+
status: ('registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown');
2323
code: CodeableConcept;
2424
subject: Reference<'Device' | 'Patient'>;
2525
encounter?: Reference<'Encounter'>;

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/EHRS_FM_Record_Lifecycle_Event___Audit_Event_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface EHRS_FM_Record_Lifecycle_Event___Audit_Event {
1818

1919
type: Coding;
2020
subtype?: Coding[];
21-
action?: 'C' | 'R' | 'U' | 'D' | 'E';
21+
action?: ('C' | 'R' | 'U' | 'D' | 'E');
2222
recorded: string;
2323
purposeOfEvent?: CodeableConcept[];
2424
agent: AuditEventAgent[];

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/Evidence_Synthesis_Profile_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface Evidence_Synthesis_Profile {
1919
title?: string;
2020
shortTitle?: string;
2121
subtitle?: string;
22-
status: 'draft' | 'active' | 'retired' | 'unknown';
22+
status: ('draft' | 'active' | 'retired' | 'unknown');
2323
date?: string;
2424
publisher?: string;
2525
contact?: ContactDetail[];

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/PICO_Element_Profile_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface PICO_Element_Profile {
2727
date?: string;
2828
description?: string;
2929
note?: Annotation[];
30-
type?: 'dichotomous' | 'continuous' | 'descriptive';
30+
type?: ('dichotomous' | 'continuous' | 'descriptive');
3131
characteristic: EvidenceVariableCharacteristic[];
3232
}
3333

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/Shareable_CodeSystem_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface Shareable_CodeSystem {
1313
url: string;
1414
version: string;
1515
name: string;
16-
status: 'draft' | 'active' | 'retired' | 'unknown';
16+
status: ('draft' | 'active' | 'retired' | 'unknown');
1717
experimental: boolean;
1818
publisher: string;
1919
description: string;

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/Shareable_ValueSet_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface Shareable_ValueSet {
1111
url: string;
1212
version: string;
1313
name: string;
14-
status: 'draft' | 'active' | 'retired' | 'unknown';
14+
status: ('draft' | 'active' | 'retired' | 'unknown');
1515
experimental: boolean;
1616
publisher: string;
1717
description: string;

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/observation_bmi_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { Reference } from "../hl7-fhir-r4-core/Reference";
1414
export interface observation_bmi {
1515
__profileUrl: "http://hl7.org/fhir/StructureDefinition/bmi";
1616

17-
status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
17+
status: ('registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown');
1818
category: CodeableConcept[];
1919
code: CodeableConcept;
2020
subject: Reference<'Patient'>;

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/observation_bodyheight_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { Reference } from "../hl7-fhir-r4-core/Reference";
1414
export interface observation_bodyheight {
1515
__profileUrl: "http://hl7.org/fhir/StructureDefinition/bodyheight";
1616

17-
status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
17+
status: ('registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown');
1818
category: CodeableConcept[];
1919
code: CodeableConcept;
2020
subject: Reference<'Patient'>;

examples/typescript-r4/fhir-types/hl7-fhir-r4-core/observation_bodytemp_profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { Reference } from "../hl7-fhir-r4-core/Reference";
1414
export interface observation_bodytemp {
1515
__profileUrl: "http://hl7.org/fhir/StructureDefinition/bodytemp";
1616

17-
status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
17+
status: ('registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown');
1818
category: CodeableConcept[];
1919
code: CodeableConcept;
2020
subject: Reference<'Patient'>;

0 commit comments

Comments
 (0)