For this quick start guide, we will be using an excellent example project from the SMART on FHIR team. We have created a fork of the SMART on FHIR project that is configured to use the HSPC Sandbox.
Gain access to the source code
Using Xcode, open the project file SoF-MedList.xcodeproj
(Workaround) Currently the HSPC FHIR server doesn't support the SMART extensions for summary view of the metadata. The Swift library request a summary view. To workaround this issue, modify the following file in the project:
/** Return the relative path to the Conformance statement. This should be "metadata", we're also adding "_summary=true" to only request
the summary, not the entire statement.
*/
public func conformancePath() -> String {
return "metadata";//?_summary=true"
}