Written by

Senior Software Engineer
Question Ashok Kumar T · Oct 17, 2023

FHIR Profile Validation Issues

Hello Community,

I've created my FHIR patient profile and POST into FHIR endpoint in Intersystems FHIR Server.  

http:localhost:52773/fhirr4/StructureDefinition

 I use the profile url into my Patient resource without the meet the profile requirements.

http:localhost:52773/fhirr4/Paient

The resource is stored successfully in the FHIR Server instead of a FHIR exception.

Why the resource doesn't validate with the mentioned profile?

Is this profile validation is really a intersystems FHIR server job or the validation implementation is available now  ?

Product version: IRIS 2023.2
$ZV: IRIS for Windows (x86-64) 2023.2 (Build 227) Mon Jul 31 2023

Comments

Luis Angel Pérez Ramos · Oct 17, 2023

I've no idea about how IRIS FHIR Server works with the profiling but according to FHIR documentation...Did you define in the meta element the profile property for the Patient resource? In theory you have to include that info to apply the profiling for the resource.

You can find here the description of profile property in FHIR documentation

It should be something like this:

<meta><profilevalue= "http://localhost:52773/fhirr4/StructureDefinition"></profile></meta>
0
Ashok Kumar T  Oct 17, 2023 to Luis Angel Pérez Ramos

Hello @Luis Angel Pérez Ramos 

Of course, I had added the profile information in the meta data element. like below.

{
    "resourceType":"Patient",
    "meta"{
        "profile":[
            "http://eample.org/fhir/StructureDefinition/TutorialPatient"
        ]
    },
    "name":[
        {
            "use":"official",
            "given":[
                "test"
            ],
            "family":"Patient"
        }
    ]
}
0
Ashok Kumar T  Oct 17, 2023 to Luis Angel Pérez Ramos

Thanks for pointing! I thought it's implemented. So, As of now Intersystems FHIR server doesn't have the ability to validate the resource against the profile. Then FHIR Client system need to take care of it

0
Guillaume Rongier · Oct 17, 2023

Hi, FHIR Profile Validation will be support with IRIS 2023.3.

https://community.intersystems.com/post/intersystems-announces-its-seco…

Highlights

There are several exciting new features in this release, such as support to base HL7® FHIR® version R5, and the integration with the IBM FHIR® Validator. There are also runtime performance improvements for ObjectScript.  Note that these features are expected, but nor assured to appear in the final release. 

Mean while, you can use community edition of Profile Validation :

0
Patrick Jamieson · Oct 17, 2023

Hi Ashok, 

FHIR Profile is a new feature being released with 2023.3.  I would suggest looking at a preview edition of 2023.3 to learn more, until 2023.3 general availability is announced.

0