Skip to content

Commit

Permalink
Merge pull request #912 from FirelyTeam/fix/872-use-code-not-unit
Browse files Browse the repository at this point in the history
fix: Quantity now binds to <code>, not <unit>
  • Loading branch information
ewoutkramer committed Mar 20, 2019
2 parents d7e1193 + e4ee8c8 commit 0022953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hl7.Fhir.Core/ElementModel/PocoBuilderExtensions.cs
Expand Up @@ -115,7 +115,7 @@ Coding parseQuantity(ITypedElement nav)
{
var newCoding = new Coding();
var q = instance.ParseQuantity();
newCoding.Code = q.Unit;
newCoding.Code = q.Code;
newCoding.System = q.System ?? "http://unitsofmeasure.org";
return newCoding;
}
Expand Down

0 comments on commit 0022953

Please sign in to comment.