Change a resources profile to display in HAPIs auto generated conformance

18 views
Skip to first unread message

duncan...@gmail.com

unread,
May 4, 2017, 5:08:56 PM5/4/17
to HAPI FHIR
Hi

I was wondering if there is an easy way in HAPI to set the profile for a FHIR resource and make it appear in HAPIs automatically generated conformance?

Say we wanted to change the FHIR Patient Resource Profile to "http://myorg.com/fhir/profiles/Patientwhat would we need to do to make that display in the conformance 

<Conformance xmlns="http://hl7.org/fhir">
...
 
<rest>
   
<mode value="server"/>
   
<resource>
     
<type value="Patient"/>
     
<profile>
       
<reference value="http://myorg.com/fhir/profiles/Patient"/>
     
</profile>

I have come up with a couple of ways, but nothing elegant.

Thanks - Duncan
Reply all
Reply to author
Forward
0 new messages