Stream: hapi
Topic: CapabilityStatement - Resource Specific Operation
Deepak Tiwari (Jan 06 2022 at 21:10):
Hello,
How can we get CapabilityStatement.rest.resource.operation in conformance for any resource specific operation?
We have added @Operation(type = xyzresource.class, name = "$export", idempotent = true) in code but we get below response inside CapabilityStatement.rest.operation :
{
"name": "export",
"definition": "<URL>"
}
We need this export operation to be listed inside CapabilityStatement.rest.resource.operation not inside CapabilityStatement.rest.operation
http://hl7.org/fhir/R4/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.operation
Please let me know how can we achieve this.
Gaurav Vaishnav (Jan 19 2022 at 13:25):
hi any one can guide me how can i customize the capability statement of hapi jpa server starter project ( https://github.com/hapifhir/hapi-fhir-jpaserver-starter.git) to show only terminology specific rest operation
Jens Villadsen (Jan 19 2022 at 14:32):
@Gaurav Vaishnav - take a look at how the capabilitystatement provider is constructed in the parent project - being hapi-fhir.
Last updated: Apr 12 2022 at 19:14 UTC