FHIR Chat · profiling · dotnet

Stream: dotnet

Topic: profiling


view this post on Zulip Binu DGIT (Nov 27 2016 at 10:37):

I tried to publish DutchPatient which I have created during the devdays to hapi server. Following error occurs.
Further, I would like to how do I refer the resource type in my FHIR messages? as "DutchPatient" or "Patient"
Can you please advise..
pasted image

view this post on Zulip Brian Postlethwaite (Nov 27 2016 at 10:42):

Which version of the client, and which server?

view this post on Zulip Brian Postlethwaite (Nov 27 2016 at 10:42):

It is of type Patient. (DutchPatient is just a profile)

view this post on Zulip Binu DGIT (Nov 27 2016 at 10:42):

Forge is the client tool latest version 14.4

view this post on Zulip Binu DGIT (Nov 27 2016 at 10:43):

Hapi my FHIR server,
Please find the xml here..
<StructureDefinition xmlns="http://hl7.org/fhir">
<meta>
<lastUpdated value="2016-11-16T21:01:04.17+04:00"/>
</meta>
<url value="http://example.org/fhir/StructureDefinition/DutchPatient"/>
<name value="DutchPatient"/>
<status value="draft"/>
<kind value="resource"/>
<constrainedType value="Patient"/>
<abstract value="false"/>
<base value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<differential>
<element>
<path value="Patient"/>
<type>
<code value="Patient"/>
</type>
</element>
<element>
<path value="Patient.extension"/>
<slicing>
<discriminator value="url"/>
<rules value="open"/>
</slicing>
</element>
<element>
<path value="Patient.extension"/>
<name value="placeOfBirth"/>
<short value="Place of Birth for patient"/>
<definition value="The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements."/>
<min value="1"/>
<max value="1"/>
<type>
<code value="Extension"/>
<profile value="http://hl7.org/fhir/StructureDefinition/birthPlace"/>
</type>
</element>
<element>
<path value="Patient.identifier"/>
<slicing>
<discriminator value="system"/>
<rules value="openAtEnd"/>
</slicing>
</element>
<element>
<path value="Patient.identifier"/>
<name value="Bsn"/>
<min value="1"/>
<max value="1"/>
</element>
<element>
<path value="Patient.identifier.system"/>
<min value="1"/>
<fixedUri value="http://fhir.nl/fhir/NamingSystem/bsn"/>
</element>
<element>
<path value="Patient.identifier.value"/>
<min value="1"/>
</element>
<element>
<path value="Patient.identifier"/>
<name value="EHRId"/>
</element>
<element>
<path value="Patient.identifier.system"/>
<fixedUri value="http://moh.gov.om/ehr"/>
</element>
<element>
<path value="Patient.active"/>
<min value="1"/>
</element>
<element>
<path value="Patient.name"/>
<max value="1"/>
</element>
<element>
<path value="Patient.name.family"/>
<min value="1"/>
</element>
<element>
<path value="Patient.name.given"/>
<min value="1"/>
</element>
<element>
<path value="Patient.telecom"/>
<slicing>
<discriminator value="system"/>
<rules value="openAtEnd"/>
</slicing>
<min value="1"/>
</element>
<element>
<path value="Patient.telecom"/>
<name value="eMail"/>
<min value="1"/>
<max value="1"/>
</element>
<element>
<path value="Patient.telecom.system"/>
<min value="1"/>
<fixedCode value="email"/>
</element>
<element>
<path value="Patient.telecom.value"/>
<min value="1"/>
</element>
<element>
<path value="Patient.telecom"/>
<name value="phoneNo"/>
<min value="1"/>
<max value="1"/>
</element>
<element>
<path value="Patient.telecom.system"/>
<min value="1"/>
<fixedCode value="phone"/>
</element>
<element>
<path value="Patient.gender"/>
<min value="1"/>
</element>
<element>
<path value="Patient.birthDate"/>
<min value="1"/>
</element>
</differential>
</StructureDefinition>

view this post on Zulip Brian Postlethwaite (Nov 27 2016 at 10:45):

Might be a bug in the new version of the tool. Need to be careful about mixing versions of your profile and server.
(which version of the HAPI server?)
Forge is primarily a DSTU2 tool but has some capabilities working with newer versions (with limitations) - Think will need to be addressed by @Michel Rutten

view this post on Zulip Binu DGIT (Nov 27 2016 at 10:47):

I am using HAPI DSTU2..

view this post on Zulip Binu DGIT (Nov 27 2016 at 10:48):

Can you let me know how the FHIR messages will be addressed? as Patient or DutchPatient

view this post on Zulip Binu DGIT (Nov 27 2016 at 10:49):

I would like to know how to specify the resource type in my FHIR message?
"resourceType": "Patient" or "resourceType": "DutchPatient"

view this post on Zulip Brian Postlethwaite (Nov 27 2016 at 11:02):

"Patient"

view this post on Zulip Binu DGIT (Nov 27 2016 at 11:24):

if it is patient, how can I enforce the Dutchpatient constraints in the FHIR server?

view this post on Zulip Brian Postlethwaite (Nov 27 2016 at 22:14):

You include the Dutch profile's canonical URI in the Meta.Profile, and the server will need to have the profile installed also (the server may require configuration to enable this, but that is up to the server)

view this post on Zulip Binu DGIT (Nov 28 2016 at 05:02):

Thanks Brian for the guidance given. I am able to send FHIR message with DUTCHPATIENT profile, but the extension added is not accepted by the server .. I think, need to chat with James to know how to configure profile HAPI server..


Last updated: Apr 12 2022 at 19:14 UTC