ElementDefinition

object ElementDefinition extends CompanionFor[ElementDefinition]
Companion:
class
class CompanionFor[ElementDefinition]
trait OptionSugar
trait JsonDecoderHelpers
trait BaseFieldDecoders
trait Utils
class Object
trait Matchable
class Any

Type members

Classlikes

@POJOBoilerplate
class Base(val id: Option[String], val min: UnsignedInt, val max: String, val path: String, val extension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Base extends CompanionFor[Base]
Companion:
class
@POJOBoilerplate
class Binding(val id: Option[String], val strength: BINDING_STRENGTH, val valueSet: Option[Canonical], val extension: LitSeq[Extension], val description: Option[String], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Binding extends CompanionFor[Binding]
Companion:
class
@POJOBoilerplate
class Constraint(val id: Option[String], val key: Id, val human: String, val xpath: Option[String], val source: Option[Canonical], val severity: CONSTRAINT_SEVERITY, val extension: LitSeq[Extension], val expression: Option[String], val requirements: Option[String], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Constraint extends CompanionFor[Constraint]
Companion:
class
@POJOBoilerplate
class Example(val id: Option[String], val label: String, val value: ValueChoice, val extension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Example extends CompanionFor[Example]
Companion:
class
@POJOBoilerplate
class Mapping(val id: Option[String], val map: String, val comment: Option[String], val identity: Id, val language: Option[Code], val extension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Mapping extends CompanionFor[Mapping]
Companion:
class
@POJOBoilerplate
class Slicing(val id: Option[String], val rules: RESOURCE_SLICING_RULES, val ordered: Option[Boolean], val extension: LitSeq[Extension], val description: Option[String], val discriminator: LitSeq[Discriminator], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Slicing extends CompanionFor[Slicing]
Companion:
class
@POJOBoilerplate
class Type(val id: Option[String], val code: UriStr, val profile: LitSeq[Canonical], val extension: LitSeq[Extension], val versioning: Option[REFERENCE_VERSION_RULES], val aggregation: LitSeq[RESOURCE_AGGREGATION_MODE], val targetProfile: LitSeq[Canonical], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends Element
Companion:
object
object Type extends CompanionFor[Type]
Companion:
class

Inherited classlikes

implicit class RichCursor(cursor: ACursor)
Inherited from:
JsonDecoderHelpers
implicit class RichSeqT[T](val s1: Seq[T])
Inherited from:
OptionSugar
implicit class RichT[T](val t: T)
Inherited from:
OptionSugar

Types

type DefaultValueChoice = Choice[UnionAll]
type FixedChoice = Choice[UnionAll]
type PatternChoice = Choice[UnionAll]

Value members

Concrete methods

def apply(id: Option[String], min: Option[UnsignedInt], max: Option[String], path: String, code: LitSeq[Coding], label: Option[String], short: Option[String], alias: LitSeq[String], comment: Option[Markdown], fixed: Option[FixedChoice], extension: LitSeq[Extension], sliceName: Option[String], maxLength: Option[Int], condition: LitSeq[Id], isSummary: Option[Boolean], definition: Option[Markdown], pattern: Option[PatternChoice], isModifier: Option[Boolean], minValue: Option[MinValueChoice], maxValue: Option[MaxValueChoice], mustSupport: Option[Boolean], requirements: Option[Markdown], orderMeaning: Option[String], representation: LitSeq[PROPERTY_REPRESENTATION], base: Option[Base], defaultValue: Option[DefaultValueChoice], contentReference: Option[UriStr], isModifierReason: Option[String], modifierExtension: LitSeq[Extension], example: LitSeq[Example], mapping: LitSeq[Mapping], `type`: LitSeq[Type], meaningWhenMissing: Option[Markdown], sliceIsConstraining: Option[Boolean], binding: Option[Binding], constraint: LitSeq[Constraint], slicing: Option[Slicing], primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]): ElementDefinition
def decodeThis(cursor: HCursor)(implicit params: DecoderParams): Try[ElementDefinition]
def extractAlias(t: ElementDefinition): LitSeq[String]
def extractCode(t: ElementDefinition): LitSeq[Coding]
def extractComment(t: ElementDefinition): Option[Markdown]
def extractDefinition(t: ElementDefinition): Option[Markdown]
def extractExtension(t: ElementDefinition): LitSeq[Extension]
def extractId(t: ElementDefinition): Option[String]
def extractIsModifier(t: ElementDefinition): Option[Boolean]
def extractIsSummary(t: ElementDefinition): Option[Boolean]
def extractLabel(t: ElementDefinition): Option[String]
def extractMax(t: ElementDefinition): Option[String]
def extractMaxLength(t: ElementDefinition): Option[Int]
def extractMin(t: ElementDefinition): Option[UnsignedInt]
def extractModifierExtension(t: ElementDefinition): LitSeq[Extension]
def extractMustSupport(t: ElementDefinition): Option[Boolean]
def extractOrderMeaning(t: ElementDefinition): Option[String]
def extractRequirements(t: ElementDefinition): Option[Markdown]
def extractShort(t: ElementDefinition): Option[String]
def extractSliceName(t: ElementDefinition): Option[String]
override def fields(t: ElementDefinition): Seq[FHIRComponentField[_]]
Definition Classes
CompanionFor
override def fieldsFromParent(t: ResourceType): Try[Seq[FHIRComponentField[_]]]
Definition Classes
CompanionFor

Inherited methods

Inherited from:
CompanionFor
def checkUnknownFields(cursor: HCursor, keys: Set[String], keyPrefixes: Seq[Set[String]])(implicit decoderParams: DecoderParams): Try[Unit]
Inherited from:
CompanionFor
def companionClassName[T](tag: LTag[T]): String
Inherited from:
Utils
def companionOf[T <: FHIRObject : ClassTag](implicit evidence$1: ClassTag[T], tag: LTag[T]): CompanionFor[T]
Inherited from:
Utils
def decodeAttributes(cursor: HCursor)(implicit params: DecoderParams): TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]
Inherited from:
CompanionFor
def decodeMethodFor[T <: FHIRObject : ClassTag](implicit evidence$2: ClassTag[T], tag: LTag[T], params: DecoderParams): HCursor => Try[T]
Inherited from:
Utils
def decoder(implicit params: DecoderParams): Decoder[ElementDefinition]
Inherited from:
CompanionFor
def extract[O](fn: ElementDefinition.type => FHIRComponentFieldMeta[O])(t: ElementDefinition): O
Inherited from:
CompanionFor
def isSubTypeOf(other: CompanionFor[_]): Boolean
Inherited from:
CompanionFor
protected def otherMetas: Set[String]
Inherited from:
CompanionFor
def parameterisedDecode(x: HCursor, params: DecoderParams): Try[ElementDefinition]
Inherited from:
CompanionFor
protected def refMetas: Seq[Set[String]]
Inherited from:
CompanionFor
def tryDecode[T](fn: => T, c: HCursor): Either[DecodingFailure, T]
Inherited from:
BaseFieldDecoders

Concrete fields

val `type`: FHIRComponentFieldMeta[LitSeq[Type]]
val alias: FHIRComponentFieldMeta[LitSeq[String]]
val base: FHIRComponentFieldMeta[Option[Base]]
override val baseType: CompanionFor[ResourceType]
val binding: FHIRComponentFieldMeta[Option[Binding]]
val code: FHIRComponentFieldMeta[LitSeq[Coding]]
val comment: FHIRComponentFieldMeta[Option[Markdown]]
val condition: FHIRComponentFieldMeta[LitSeq[Id]]
val constraint: FHIRComponentFieldMeta[LitSeq[Constraint]]
val contentReference: FHIRComponentFieldMeta[Option[UriStr]]
val defaultValue: FHIRComponentFieldMeta[Option[DefaultValueChoice]]
val definition: FHIRComponentFieldMeta[Option[Markdown]]
val example: FHIRComponentFieldMeta[LitSeq[Example]]
val extension: FHIRComponentFieldMeta[LitSeq[Extension]]
val fieldsMeta: Seq[FHIRComponentFieldMeta[_]]
val fixed: FHIRComponentFieldMeta[Option[FixedChoice]]
val id: FHIRComponentFieldMeta[Option[String]]
val isModifier: FHIRComponentFieldMeta[Option[Boolean]]
val isModifierReason: FHIRComponentFieldMeta[Option[String]]
val isSummary: FHIRComponentFieldMeta[Option[Boolean]]
val label: FHIRComponentFieldMeta[Option[String]]
val mapping: FHIRComponentFieldMeta[LitSeq[Mapping]]
val max: FHIRComponentFieldMeta[Option[String]]
val maxLength: FHIRComponentFieldMeta[Option[Int]]
val maxValue: FHIRComponentFieldMeta[Option[MaxValueChoice]]
val meaningWhenMissing: FHIRComponentFieldMeta[Option[Markdown]]
val min: FHIRComponentFieldMeta[Option[UnsignedInt]]
val minValue: FHIRComponentFieldMeta[Option[MinValueChoice]]
val modifierExtension: FHIRComponentFieldMeta[LitSeq[Extension]]
val mustSupport: FHIRComponentFieldMeta[Option[Boolean]]
val orderMeaning: FHIRComponentFieldMeta[Option[String]]
override val parentType: CompanionFor[ParentType]
val path: FHIRComponentFieldMeta[String]
val pattern: FHIRComponentFieldMeta[Option[PatternChoice]]
override val profileUrl: Option[String]
val representation: FHIRComponentFieldMeta[LitSeq[PROPERTY_REPRESENTATION]]
val requirements: FHIRComponentFieldMeta[Option[Markdown]]
val short: FHIRComponentFieldMeta[Option[String]]
val sliceIsConstraining: FHIRComponentFieldMeta[Option[Boolean]]
val sliceName: FHIRComponentFieldMeta[Option[String]]
val slicing: FHIRComponentFieldMeta[Option[Slicing]]
override val thisName: String

Inherited fields

Inherited from:
CompanionFor
val searchParams: Map[String, ElementDefinition => Seq[Any]]
Inherited from:
CompanionFor
Inherited from:
CompanionFor
Inherited from:
CompanionFor
val yearsAndMonths: Regex
Inherited from:
BaseFieldDecoders
Inherited from:
BaseFieldDecoders
val yearsOnly: Regex
Inherited from:
BaseFieldDecoders

Implicits

Inherited implicits

final implicit def RichCursor(cursor: ACursor): RichCursor
Inherited from:
JsonDecoderHelpers
final implicit def RichSeqT[T](s1: Seq[T]): RichSeqT[T]
Inherited from:
OptionSugar
final implicit def RichT[T](t: T): RichT[T]
Inherited from:
OptionSugar
implicit val base64BinaryDecoder: Decoder[Base64Binary]
Inherited from:
BaseFieldDecoders
implicit val base64BinaryEncoder: Encoder[Base64Binary]
Inherited from:
BaseFieldDecoders
implicit val canonicalDecoder: Decoder[Canonical]
Inherited from:
BaseFieldDecoders
implicit val canonicalEncoder: Encoder[Canonical]
Inherited from:
BaseFieldDecoders
implicit val codeDecoder: Decoder[Code]
Inherited from:
BaseFieldDecoders
implicit val codeEncoder: Encoder[Code]
Inherited from:
BaseFieldDecoders
implicit def decodeEither[A, B](implicit decoderA: Decoder[A], decoderB: Decoder[B]): Decoder[Either[A, B]]
Inherited from:
BaseFieldDecoders
implicit val decodeFHIRDate: Decoder[FHIRDate]
Inherited from:
BaseFieldDecoders
implicit val decodeFHIRDateTime: Decoder[FHIRDateTime]
Inherited from:
BaseFieldDecoders
implicit def decodeLitSeq[T](implicit decoder: Decoder[T]): Decoder[LitSeq[T]]
Inherited from:
BaseFieldDecoders
implicit def decodeNonEmptyLitSeq[T](implicit decoder: Decoder[LitSeq[T]]): Decoder[NonEmptyLitSeq[T]]
Inherited from:
BaseFieldDecoders
implicit val decodeZonedDateTime: Decoder[ZonedDateTime]
Inherited from:
BaseFieldDecoders
implicit def encodeEither[A, B](implicit encoderA: Encoder[A], encoderB: Encoder[B]): Encoder[Either[A, B]]
Inherited from:
BaseFieldDecoders
implicit def encodeLitSeq[T](implicit encoder: Encoder[T]): Encoder[LitSeq[T]]
Inherited from:
BaseFieldDecoders
implicit val encodeZonedDateTime: Encoder[ZonedDateTime]
Inherited from:
BaseFieldDecoders
implicit val encoderFHIRDate: Encoder[FHIRDate]
Inherited from:
BaseFieldDecoders
implicit val encoderFHIRDateTime: Encoder[FHIRDateTime]
Inherited from:
BaseFieldDecoders
implicit val idDecoder: Decoder[Id]
Inherited from:
BaseFieldDecoders
implicit val idEncoder: Encoder[Id]
Inherited from:
BaseFieldDecoders
implicit val markdownDecoder: Decoder[Markdown]
Inherited from:
BaseFieldDecoders
implicit val markdownEncoder: Encoder[Markdown]
Inherited from:
BaseFieldDecoders
implicit val oidDecoder: Decoder[OID]
Inherited from:
BaseFieldDecoders
implicit val oidEncoder: Encoder[OID]
Inherited from:
BaseFieldDecoders
implicit val positiveIntDecoder: Decoder[PositiveInt]
Inherited from:
BaseFieldDecoders
implicit val positiveIntEncoder: Encoder[PositiveInt]
Inherited from:
BaseFieldDecoders
implicit val unsignedIntDecoder: Decoder[UnsignedInt]
Inherited from:
BaseFieldDecoders
implicit val unsignedIntEncoder: Encoder[UnsignedInt]
Inherited from:
BaseFieldDecoders
implicit val uriDecoder: Decoder[UriStr]
Inherited from:
BaseFieldDecoders
implicit val uriEncoder: Encoder[UriStr]
Inherited from:
BaseFieldDecoders
implicit val urlDecoder: Decoder[UrlStr]
Inherited from:
BaseFieldDecoders
implicit val urlEncoder: Encoder[UrlStr]
Inherited from:
BaseFieldDecoders
implicit val xhtmlDecoder: Decoder[XHTML]
Inherited from:
BaseFieldDecoders
implicit val xhtmlEncoder: Encoder[XHTML]
Inherited from:
BaseFieldDecoders