Skip to content

Commit

Permalink
breaking change: change Attachment.Url from FhirUrl to FhirUri
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsmits committed Oct 25, 2024
1 parent 42cbbe6 commit 9541914
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/Hl7.Fhir.Base/Model/Generated/Attachment.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// <auto-generated/>
// Contents of: hl7.fhir.r5.expansions#5.0.0, hl7.fhir.r5.core#5.0.0
// Contents of: hl7.fhir.r5.expansions@5.0.0, hl7.fhir.r5.core@5.0.0

using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -155,20 +155,19 @@ public byte[] Data
}
}

/// <summary>
/// Uri where the data can be found
/// </summary>
[DeclaredType(Type = typeof(FhirUrl), Since = FhirRelease.R4)]
[DeclaredType(Type = typeof(FhirUri), Since = FhirRelease.STU3)]
/// <summary>
/// Uri where the data can be found
/// </summary>
[FhirElement("url", InSummary=true, Order=60)]
[DeclaredType(Type = typeof(FhirUrl), Since = FhirRelease.R4)]
[DataMember]
public Hl7.Fhir.Model.FhirUrl UrlElement
public Hl7.Fhir.Model.FhirUri UrlElement
{
get { return _UrlElement; }
set { _UrlElement = value; OnPropertyChanged("UrlElement"); }
}

private Hl7.Fhir.Model.FhirUrl _UrlElement;
private Hl7.Fhir.Model.FhirUri _UrlElement;

/// <summary>
/// Uri where the data can be found
Expand All @@ -183,7 +182,7 @@ public string Url
if (value == null)
UrlElement = null;
else
UrlElement = new Hl7.Fhir.Model.FhirUrl(value);
UrlElement = new Hl7.Fhir.Model.FhirUri(value);
OnPropertyChanged("Url");
}
}
Expand Down Expand Up @@ -482,7 +481,7 @@ public override IDeepCopyable CopyTo(IDeepCopyable other)
if(ContentTypeElement != null) dest.ContentTypeElement = (Hl7.Fhir.Model.Code)ContentTypeElement.DeepCopy();
if(LanguageElement != null) dest.LanguageElement = (Hl7.Fhir.Model.Code)LanguageElement.DeepCopy();
if(DataElement != null) dest.DataElement = (Hl7.Fhir.Model.Base64Binary)DataElement.DeepCopy();
if(UrlElement != null) dest.UrlElement = (Hl7.Fhir.Model.FhirUrl)UrlElement.DeepCopy();
if(UrlElement != null) dest.UrlElement = (Hl7.Fhir.Model.FhirUri)UrlElement.DeepCopy();
if(SizeElement != null) dest.SizeElement = (Hl7.Fhir.Model.Integer64)SizeElement.DeepCopy();
if(HashElement != null) dest.HashElement = (Hl7.Fhir.Model.Base64Binary)HashElement.DeepCopy();
if(TitleElement != null) dest.TitleElement = (Hl7.Fhir.Model.FhirString)TitleElement.DeepCopy();
Expand Down

0 comments on commit 9541914

Please sign in to comment.