AU Core Implementation Guide
2.0.0 - Working Standard

AU Core Implementation Guide - Downloaded Version 2.0.0 See the Directory of published versions

## Declaring Conformance

Page standards status: Informative

### Declaring Conformance

Systems may declare conformance to AU Core as:

- Profile Only Support for a system declaring conformance to one or more AU Core profiles
- Profile Support + Interaction Support for a system declaring conformance to one or both of the AU Core Capability Statements

FHIR Servers that implement AU Core declare conformance to one of these approaches as described in the relevant section below.

#### Profile Only Support

Servers that implement Profile Only Support to AU Core profiles declare conformance to each profile by hosting a CapabilityStatement resource at [server-base-url]/metadata that is available to both authenticated and unauthenticated clients. The capability statement declares Profile Only Support for a resource as either a base profile using CapabilityStatement.rest.resource.profile or supported profile using CapabilityStatement.rest.resource.supportedProfile.

Example: CapabilityStatement resource for a server supporting the AU Core Patient profile as a system-wide profile that is applied across all instances of the Patient resource:

    ```
    {
      "resourceType": "CapabilityStatement",
      ...
      "rest": [
        {
          "mode": "server",
        ...
            "resource": [
              ...
              {
                "type": "Patient",
                "profile": [
                  "http://hl7.org/fhir/us/core/StructureDefinition/au-core-patient"
                ],
                ...
              }
            ]
        }
      ]
    }
    ```

Example: CapabilityStatement resource for a server supporting the AU Core Waist Circumference profile as a profile for supported use cases provided by the server:

    ```
    {
      "resourceType": "CapabilityStatement",
      ...
      "rest": [
        {
          "mode": "server",
        ...
            "resource": [
              ...
              {
                "type": "Observation",
                "supportedProfile": [
                  "http://hl7.org.au/fhir/core/StructureDefinition/au-core-waistcircum"
                ],
                ...
              }
            ]
        }
      ]
    }
    ```

#### Profile Support + Interaction Support

Servers that implement Profile Support + Interaction Support declare conformance by hosting a CapabilityStatement at [server-base-url]/metadata, available to both authenticated and unauthenticated clients. The server's CapabilityStatement.instantiates element references the AU Core Responder Capability Statement, as shown in the following fragment:

    ```
    {
      "resourceType": "CapabilityStatement",
      ...
      "instantiates": [
        "http://hl7.org.au/fhir/core/CapabilityStatement/au-core-responder"
      ],
      ...
      "rest": [
        {
          "mode": "server",
        ...
        }
      ]
    }
    ```