Skip to content

Commit

Permalink
Merge pull request #2378 from FirelyTeam/feature/signature-generated
Browse files Browse the repository at this point in the history
Improved comments for some Pocos
  • Loading branch information
marcovisserFurore committed Jan 31, 2023
2 parents 4b203da + d9ae236 commit ee9f1e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Hl7.Fhir.Base/Model/Generated/Binary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public byte[] Data
}

/// <summary>
/// The actual content. Note: Element is deprecated since R4, do not use with R4 and newer releases.
/// The actual content. Note: Element is replaced by 'Binary.data' since R4. Do not use this element 'content' with R4 and newer releases.
/// </summary>
[FhirElement("content", Order=70)]
[NotMapped(Since=FhirRelease.R4)]
Expand Down
15 changes: 10 additions & 5 deletions src/Hl7.Fhir.Base/Model/Generated/Signature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public partial class Signature : Hl7.Fhir.Model.DataType
public override string TypeName { get { return "Signature"; } }

/// <summary>
/// Indication of the reason the entity signed the object(s). Note: Since R5 the cardinality is expanded to 0..* (previous it was 1..*)
/// Indication of the reason the entity signed the object(s).
/// Note: Since R5 the cardinality is expanded to 0..* (previous it was 1..*).
/// </summary>
[FhirElement("type", InSummary=true, Order=30)]
[Cardinality(Min=0,Max=-1)]
Expand All @@ -70,7 +71,8 @@ public List<Hl7.Fhir.Model.Coding> Type
private List<Hl7.Fhir.Model.Coding> _Type;

/// <summary>
/// When the signature was created. Note: Since R5 the cardinality is expanded to 0..1 (previous it was 1..1)
/// When the signature was created.
/// Note: Since R5 the cardinality is expanded to 0..1 (previous it was 1..1).
/// </summary>
[FhirElement("when", InSummary=true, Order=40)]
[DataMember]
Expand Down Expand Up @@ -101,7 +103,9 @@ public DateTimeOffset? When
}

/// <summary>
/// Who signed. Note: Since R5 the cardinality is expanded to 0..1 (previous it was 1..1)
/// Who signed.
/// Note 1: Since R4 the type of this element should be a fixed type (ResourceReference). For backwards compatibility it remains of type DataType.
/// Note 2: Since R5 the cardinality is expanded to 0..1 (previous it was 1..1).
/// </summary>
[FhirElement("who", InSummary=true, Order=50, Choice = ChoiceType.DatatypeChoice)]
[FhirElement("who", InSummary=true, Order=50, Since=FhirRelease.R4)]
Expand All @@ -120,7 +124,8 @@ public Hl7.Fhir.Model.DataType Who
private Hl7.Fhir.Model.DataType _Who;

/// <summary>
/// The party represented
/// The party represented.
/// Note: Since R4 the type of this element should be a fixed type (ResourceReference). For backwards compatibility it remains of type DataType.
/// </summary>
[FhirElement("onBehalfOf", InSummary=true, Order=60, Choice = ChoiceType.DatatypeChoice)]
[FhirElement("onBehalfOf", InSummary=true, Order=60, Since=FhirRelease.R4)]
Expand Down Expand Up @@ -264,7 +269,7 @@ public byte[] Data
}

/// <summary>
/// The actual signature content (XML DigSig. JWS, picture, etc.). Note: Element is deprecated since R4, do not use with R4 and newer releases.
/// The actual signature content (XML DigSig. JWS, picture, etc.). Note: Element is replaced by 'Signature.data' since R4. Do not use this element 'blob' with R4 and newer releases.
/// </summary>
[FhirElement("blob", Order=90)]
[NotMapped(Since=FhirRelease.R4)]
Expand Down

0 comments on commit ee9f1e4

Please sign in to comment.