This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Working with FHIR Conformance
Overview
The following operations allow you to work with Conformance in FHIR. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with conformance, see Sample configuration.Â
Operation | Description |
---|---|
conformance | The conformance interaction retrieves the server's conformance statement that defines how it supports resources. |
Operation details
This section provides further details on the operations related to Conformance in FHIR.
Conformance
The conformance
interaction retrieves the server's conformance statement that defines how it supports resources, For that use fhir.getConformance
and specify the following properties.
<fhir.getConformance> <base>{$ctx:base}</base> <format>{$ctx:format}</format> <id>{$ctx:id}</id> <content>{$ctx:content}</content> <lastUpdated>{$ctx:lastUpdated}</lastUpdated> <profile>{$ctx:profile}</profile> <query>{$ctx:query}</query> <security>{$ctx:security}</security> <tag>{$ctx:tag}</tag> <text>{$ctx:text}</text> <filter>{$ctx:filter}</filter> Â </fhir.getConformance>
Properties
base
: The Service Root URL.- format: The Mime Type.
- id, content, lastUpdated, profile, query, security, tag, text, filter: These are the optional parameters and are common search parameters for all resources
Sample request
Following is a sample REST request that can be handled by the getConformance operation.
{ "base": "https://open-api.fhir.me", "format": "json", "id":"%s(id)", "content":"%s(content)", "lastUpdated":"%s(lastUpdated)", "profile":"%s(profile)", "query":"%s(query)", "security":"%s(security)", "tag":"%s(tag)", "text":"%s(text)", "filter":"%s(filter)" }
Related Salesforce REST Documentation
http://www.hl7.org/implement/standards/fhir/http.html#conformance
Sample configuration
Following is a sample proxy service that illustrates how to connect to fhir with init operation and use the getConformance operation. The sample request for this proxy can be found in the create sample request.
<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="getConformance" statistics="disable" trace="disable" transports="https http"> <target> <inSequence> <property name="base" expression="json-eval($.base)"/> <property name="format" expression="json-eval($.format)"/> <property name="id" expression="json-eval($.id)"/> <property name="content" expression="json-eval($.content)"/> <property name="lastUpdated" expression="json-eval($.lastUpdated)"/> <property name="profile" expression="json-eval($.profile)"/> <property name="query" expression="json-eval($.query)"/> <property name="security" expression="json-eval($.security)"/> <property name="tag" expression="json-eval($.tag)"/> <property name="text" expression="json-eval($.text)"/> <property name="filter" expression="json-eval($.filter)"/> <fhir.init> <base>{$ctx:base}</base> </fhir.init> Â <fhir.getConformance> <format>{$ctx:format}</format> <id>{$ctx:id}</id> <content>{$ctx:content}</content> <lastUpdated>{$ctx:lastUpdated}</lastUpdated> <profile>{$ctx:profile}</profile> <que>{$ctx:query}</que> <security>{$ctx:security}</security> <tag>{$ctx:tag}</tag> <text>{$ctx:text}</text> <filter>{$ctx:filter}</filter> </fhir.getConformance> <log category="INFO" level="full" separator=","/> <send/> </inSequence> </target> <description/> </proxy>