Skip to content

Commit 1a65784

Browse files
authored
Merge pull request #48 from microsoft/dev
TypeScript updates
2 parents c58a366 + 4ba2811 commit 1a65784

12 files changed

Lines changed: 1761 additions & 666 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ Options:
152152
-?, -h, --help Show help and usage information
153153
```
154154

155+
## Requirements
156+
157+
In order to run TypeScript tests, the system must be able to find the 'tsc' (TypeScript compile) command. Note that it must be installed and accessible by the test application (e.g., `npm install -g typescript`).
158+
155159
# Pre-Generated Files
156160

157161
The `generated` directory has static outputs for each of the supported versions of FHIR, in each of the supported languages.

generated/CSharpBasic_R2.cs

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ public class ElementDefinitionType : Element {
447447
public static class ElementDefinitionTypeAggregationCodes {
448448
public const string CONTAINED = "contained";
449449
public const string REFERENCED = "referenced";
450-
public const string BUNDLED = "bundled";
451450
}
452451
/// <summary>
453452
/// Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.
@@ -2840,12 +2839,7 @@ public static class AllergyIntoleranceCriticalityCodes {
28402839
/// </summary>
28412840
public static class AllergyIntoleranceStatusCodes {
28422841
public const string ACTIVE = "active";
2843-
public const string UNCONFIRMED = "unconfirmed";
2844-
public const string CONFIRMED = "confirmed";
28452842
public const string INACTIVE = "inactive";
2846-
public const string RESOLVED = "resolved";
2847-
public const string REFUTED = "refuted";
2848-
public const string ENTERED_IN_ERROR = "entered-in-error";
28492843
}
28502844
/// <summary>
28512845
/// Code Values for the AllergyIntolerance.type field
@@ -5617,14 +5611,12 @@ public class ConceptMapElementTarget : BackboneElement {
56175611
/// </summary>
56185612
public static class ConceptMapElementTargetEquivalenceCodes {
56195613
public const string EQUIVALENT = "equivalent";
5620-
public const string EQUAL = "equal";
56215614
public const string WIDER = "wider";
56225615
public const string SUBSUMES = "subsumes";
56235616
public const string NARROWER = "narrower";
56245617
public const string SPECIALIZES = "specializes";
56255618
public const string INEXACT = "inexact";
56265619
public const string UNMATCHED = "unmatched";
5627-
public const string DISJOINT = "disjoint";
56285620
}
56295621
/// <summary>
56305622
/// Mappings for an individual concept in the source to one or more concepts in the target.
@@ -7343,10 +7335,6 @@ public static class DataElementStatusCodes {
73437335
/// </summary>
73447336
public static class DataElementStringencyCodes {
73457337
public const string COMPARABLE = "comparable";
7346-
public const string FULLY_SPECIFIED = "fully-specified";
7347-
public const string EQUIVALENT = "equivalent";
7348-
public const string CONVERTABLE = "convertable";
7349-
public const string SCALEABLE = "scaleable";
73507338
public const string FLEXIBLE = "flexible";
73517339
}
73527340
/// <summary>
@@ -7657,7 +7645,7 @@ public static class DeviceComponentMeasurementPrincipleCodes {
76577645
public const string BIOLOGICAL = "biological";
76587646
public const string MECHANICAL = "mechanical";
76597647
public const string ACOUSTICAL = "acoustical";
7660-
public const string MANUAL_PLUS = "manual+";
7648+
public const string MANUAL = "manual";
76617649
}
76627650
/// <summary>
76637651
/// Describes the calibrations that have been performed or that are required to be performed.
@@ -9040,6 +9028,11 @@ public static class EncounterClassCodes {
90409028
public const string OUTPATIENT = "outpatient";
90419029
public const string AMBULATORY = "ambulatory";
90429030
public const string EMERGENCY = "emergency";
9031+
public const string HOME = "home";
9032+
public const string FIELD = "field";
9033+
public const string DAYTIME = "daytime";
9034+
public const string VAL_VIRTUAL = "virtual";
9035+
public const string OTHER = "other";
90439036
}
90449037
/// <summary>
90459038
/// Code Values for the Encounter.status field
@@ -10997,7 +10990,6 @@ public static class ImplementationGuidePageKindCodes {
1099710990
public const string LIST = "list";
1099810991
public const string INCLUDE = "include";
1099910992
public const string DIRECTORY = "directory";
11000-
public const string DICTIONARY = "dictionary";
1100110993
public const string TOC = "toc";
1100210994
public const string RESOURCE = "resource";
1100310995
}
@@ -13239,6 +13231,9 @@ public static class ObservationStatusCodes {
1323913231
public const string PRELIMINARY = "preliminary";
1324013232
public const string FINAL = "final";
1324113233
public const string AMENDED = "amended";
13234+
public const string CANCELLED = "cancelled";
13235+
public const string ENTERED_IN_ERROR = "entered-in-error";
13236+
public const string UNKNOWN = "unknown";
1324213237
}
1324313238
/// <summary>
1324413239
/// Contacts to assist a user in finding and communicating with the publisher.
@@ -13688,7 +13683,6 @@ public static class OrderResponseOrderStatusCodes {
1368813683
public const string ERROR = "error";
1368913684
public const string ACCEPTED = "accepted";
1369013685
public const string CANCELLED = "cancelled";
13691-
public const string REPLACED = "replaced";
1369213686
public const string ABORTED = "aborted";
1369313687
public const string COMPLETED = "completed";
1369413688
}
@@ -15258,9 +15252,6 @@ public class ProvenanceEntity : BackboneElement {
1525815252
/// </summary>
1525915253
public static class ProvenanceEntityRoleCodes {
1526015254
public const string DERIVATION = "derivation";
15261-
public const string REVISION = "revision";
15262-
public const string QUOTATION = "quotation";
15263-
public const string SOURCE = "source";
1526415255
}
1526515256
/// <summary>
1526615257
/// Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.
@@ -15389,6 +15380,16 @@ public static class QuestionnaireGroupQuestionTypeCodes {
1538915380
public const string INTEGER = "integer";
1539015381
public const string DATE = "date";
1539115382
public const string DATETIME = "dateTime";
15383+
public const string INSTANT = "instant";
15384+
public const string TIME = "time";
15385+
public const string VAL_STRING = "string";
15386+
public const string TEXT = "text";
15387+
public const string URL = "url";
15388+
public const string CHOICE = "choice";
15389+
public const string OPEN_CHOICE = "open-choice";
15390+
public const string ATTACHMENT = "attachment";
15391+
public const string REFERENCE = "reference";
15392+
public const string QUANTITY = "quantity";
1539215393
}
1539315394
/// <summary>
1539415395
/// Need to be able to logically group answers to grouped questions.

0 commit comments

Comments
 (0)