Skip to content

Commit 1624724

Browse files
committed
[misc] Fix
1 parent 7960123 commit 1624724

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ examples/typescript-ccda/type-schemas
5252
examples/typescript-sql-on-fhir/fhir-types
5353

5454
examples/mustache-java-r4/type-tree.yaml
55-
examples/mustache-java-r4/fhir-types
55+
examples/mustache-java-r4/test-project

examples/mustache-java-r4/mustache-java-r4-gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (require.main === module) {
88
.throwException()
99
.fromPackage("hl7.fhir.r4.core", "4.0.1")
1010
.mustache({ templatePath: "./mustache/languages/java", debug: "COMPACT" })
11-
.outputTo("./examples/mustache-java-r4/fhir-types")
11+
.outputTo("./examples/mustache-java-r4/test-project")
1212
.writeTypeTree("./examples/mustache-java-r4/type-tree.yaml")
1313
.cleanOutput(true);
1414

src/typeschema/core/identifier.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function determineKind(fhirSchema: RichFHIRSchema): Identifier["kind"] {
3131
if (fhirSchema.kind === "primitive-type") return "primitive-type";
3232
if (fhirSchema.kind === "complex-type") return "complex-type";
3333
if (fhirSchema.kind === "resource") return "resource";
34+
if (fhirSchema.kind === "logical") return "logical";
3435
return "resource";
3536
}
3637

0 commit comments

Comments
 (0)