Pratap Das
Pratap Das

Reputation: 574

How to start implementing HL7.FHIR in asp.net web api

I am new to HL7.FHIR. I was assigned to implement REST API to send FHIR compliant JSON Messages.

My initial thought is that, we will have to transform our stored data to FHIR compliant data / JSON.

I tried to use given XSD from (http://hl7.org/fhir/) but could not produce classes; it was throwing exceptions.

How should I start transforming our own data to FHIR compliant data?

Upvotes: 0

Views: 3830

Answers (2)

Ewout Kramer
Ewout Kramer

Reputation: 1004

For inspiration, you can also take a look at our open source .NET FHIR server, Spark: https://github.com/furore-fhir/spark

Upvotes: 0

Lloyd McKenzie
Lloyd McKenzie

Reputation: 6793

It's FHIR, not PHIR :> If you're planning to use JSON, the XSDs won't help you much. There's a set of separate schemas on the downloads page that are designed to be used with code generators. However, your best bet is to use one of the reference implementations (links also on the downloads page). Those will support both JSON and XML and produce tighter code than you could get by generating from the schemas anyhow.

Upvotes: 2

Related Questions