Skip to content

Instantly share code, notes, and snippets.

@ewoutkramer
Last active March 29, 2017 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewoutkramer/f6c45031849c1bd60d46e26b7bc98280 to your computer and use it in GitHub Desktop.
Save ewoutkramer/f6c45031849c1bd60d46e26b7bc98280 to your computer and use it in GitHub Desktop.
UML class diagram for FHIRPath reflection data
@startuml
title FHIRPath Reflection classes
abstract class TypeInfo {
}
class SimpleTypeInfo{
+string name
}
TypeInfo <|-up- SimpleTypeInfo
SimpleTypeInfo o--> SimpleTypeInfo: baseType
class ClassInfo{
+string name
}
TypeInfo <|-- ClassInfo
ClassInfo o--> TypeInfo: baseType
class ClassInfoElement{
+string name
+boolean isOneBased
' +TypeInfo type
}
' TypeInfo <|-down- ClassInfoElement
ClassInfo *--> "*" ClassInfoElement: element
ClassInfoElement o--> TypeInfo: type
class ListTypeInfo{
}
TypeInfo <|-up- ListTypeInfo
TypeInfo <--o ListTypeInfo: elementType
class TupleTypeInfo{
}
class TupleTypeInfoElement{
+string name
+boolean isOneBased
}
TypeInfo <|-- TupleTypeInfo
TupleTypeInfo *--> "*" TupleTypeInfoElement: element
TupleTypeInfoElement o--> TypeInfo: type
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment