Stream: dotnet
Topic: Coverage
Marco Rudolph (Aug 21 2019 at 10:04):
Hi.. i use the FHIR.NET API and STU3 ..
Can someone tell me how to add an identifier to the Payor tag in Coverage?
Richard Kavanagh (Aug 21 2019 at 14:56):
Looks like Coverage.payor is a reference so you need to add a reference to one of the permitted resources (Organization, Patient or RelatedPerson). Not sure what you mean by an identifier tag, the text on the resource for this element could probably be better.
pasted image
Angus Millar (Aug 21 2019 at 22:41):
Perhaps you mean the identifier property of the reference data type, like this:
Coverage Cov = new Coverage(); Cov.Payor = new List<ResourceReference>(); var Ref = new ResourceReference(); Ref.Identifier = new Identifier ("http://some.code.system.uri", "123456"); Cov.Payor.Add(Ref);
Marco Rudolph (Aug 22 2019 at 07:32):
thanks so far.. i need it this way pasted image
The payor object doesnt have an identifier-attribute..
Marco Rudolph (Aug 22 2019 at 07:32):
https://simplifier.net/verordnungssoftware-schnittstelle/74prvmkostentraeger
Marco Rudolph (Aug 22 2019 at 07:34):
result:
<payor>
<identifier>
<system value="http://fhir.de/NamingSystem/arge-ik/iknr" />
<value value="998765432" />
</identifier>
<display value="AOK Mittelbaden" />
</payor>
Richard Kavanagh (Aug 22 2019 at 09:38):
Take a look at @Angus Millar 's code. The identifier element is part of the Reference data type
Last updated: Apr 12 2022 at 19:14 UTC