Provenance constructor
const
Provenance({
- @Default(Dstu2ResourceType.Provenance) @JsonKey(unknownEnumValue: Dstu2ResourceType.Provenance) Dstu2ResourceType resourceType,
- @JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
- @JsonKey(name: 'id') FhirId? fhirId,
- FhirMeta? meta,
- FhirUri? implicitRules,
- @JsonKey(name: '_implicitRules') Element? implicitRulesElement,
- FhirCode? language,
- @JsonKey(name: '_language') Element? languageElement,
- Narrative? text,
- List<
Resource> ? contained, - @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - List<
FhirExtension> ? modifierExtension, - required List<
Reference> target, - Period? period,
- required FhirInstant recorded,
- @JsonKey(name: '_recorded') Element? recordedElement,
- List<
CodeableConcept> ? reason, - CodeableConcept? activity,
- Reference? location,
- List<
FhirUri> ? policy, - @JsonKey(name: '_policy') List<
Element?> ? policyElement, - List<
ProvenanceAgent> ? agent, - List<
ProvenanceEntity> ? entity, - List<
Signature> ? signature,
Implementation
const factory Provenance({
@Default(Dstu2ResourceType.Provenance)
@JsonKey(unknownEnumValue: Dstu2ResourceType.Provenance)
Dstu2ResourceType resourceType,
@JsonKey(includeFromJson: true, includeToJson: false) int? dbId,
@JsonKey(name: 'id') FhirId? fhirId,
FhirMeta? meta,
FhirUri? implicitRules,
@JsonKey(name: '_implicitRules') Element? implicitRulesElement,
FhirCode? language,
@JsonKey(name: '_language') Element? languageElement,
Narrative? text,
List<Resource>? contained,
@JsonKey(name: 'extension') List<FhirExtension>? extension_,
List<FhirExtension>? modifierExtension,
required List<Reference> target,
Period? period,
required FhirInstant recorded,
@JsonKey(name: '_recorded') Element? recordedElement,
List<CodeableConcept>? reason,
CodeableConcept? activity,
Reference? location,
List<FhirUri>? policy,
@JsonKey(name: '_policy') List<Element?>? policyElement,
List<ProvenanceAgent>? agent,
List<ProvenanceEntity>? entity,
List<Signature>? signature,
}) = _Provenance;