Conformance Data - Smile CDR Documentation

Conformance Data

The following are the definitions of the basic building blocks used for testing FHIR conformance.

StructureDefinition resources

These are the data models to validate against. They contain rules about which data elements are mandatory/forbidden/repeatable/etc., FHIR extensions that can be used, and other structural rules.

CodeSystem Resources

These resources are used to define codes that can be used for coded fields in FHIR. There are several flavors of CodeSystem resources, depending on the "content mode" specified in CodeSystem.content.

ValueSet Resources

ValueSet resources define a set of codes that may be used for a specific data element within FHIR. This can be tricky to differentiate from CodeSystem resources for someone first learning about the FHIR specification. For clarity (note that the descriptions here do not apply to FHIR DSTU2 or earlier):

As an example, consider the US Core Observation Lab profile. It declares that the Observation.code field has a binding to the Observation Codes ValueSet, which has a canonical URL of http://hl7.org/fhir/ValueSet/observation-codes.

The Observation Codes ValueSet includes all codes defined in the LOINC CodeSystem. When an actual Observation resource uses one of these codes, it is the URL for the CodeSystem (LOINC in this case) that is included. E.g.:

{
   "code": [\
      {\
         "system": "http://loinc.org",\
         "code": "10888-6",\
         "display": "Lipase [Enzymatic activity/volume] in Urine"\
      }\
   ]
}

Copy

Validation Support Repository Options

Conformance Data

Validation and Conformance

Introduction Validation Support Repository Validation Support Repository Options Conformance Data Repository Validation Repository Validation: Java Repository Validation: Javascript Repository Validation: Custom Validation Beans Endpoint Validation Packages and Implementation Guides Package Registry Endpoint Module Remote Terminology Services Suppressing Messages Validation Performance Automatic Provenance Injection

Repository Validation