Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 893 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 893 Bytes

FHIRbase.Net

fhirbase

FHIRbase.Net is simple .NET wrappers for FHIRbase (https://github.com/fhirbase).

FHIRbase is an open source relational storage for FHIR targeting real production.

To install Simple .NET wrappers for FHIRbase, run the following command in the Package Manager Console:

PM> Install-Package Fhirbase.Net -Pre

Example:

var patient = new Patient();
    patient.Name.Add(HumanName.ForFamily("Hello").WithGiven("World"));
    patient.Telecom.Add(new ContactPoint
    {
            System = ContactPoint.ContactPointSystem.Phone, 
            Use = ContactPoint.ContactPointUse.Mobile,
            Value = "123456789"
    });

    var createdPatient = (Patient)FHIRbase.Create(patient);

...

FHIRbase.Delete(createdPatient);