File tree Expand file tree Collapse file tree
examples/mustache-java-r4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ examples/typescript-ccda/type-schemas
5252examples /typescript-sql-on-fhir /fhir-types
5353
5454examples /mustache-java-r4 /type-tree.yaml
55- examples /mustache-java-r4 /fhir-types
55+ examples /mustache-java-r4 /test-project
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments