Skip to content

Commit a5b2ab5

Browse files
committed
Submodule update. Add License. Some reorganization.
1 parent a27b817 commit a5b2ab5

File tree

10 files changed

+94
-63
lines changed

10 files changed

+94
-63
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

Classes/PatientList.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ public class PatientList
5252
/// A block to be called when the `patients` property changes.
5353
public var onPatientUpdate: (Void -> Void)?
5454

55-
private(set) public var expectedNumberOfPatients: Int = 0
55+
private(set) public var expectedNumberOfPatients: UInt = 0
5656

5757
/// The number of patients currently in the list
58-
public var actualNumberOfPatients: Int {
59-
return (nil != patients) ? countElements(patients!) : 0
58+
public var actualNumberOfPatients: UInt {
59+
return UInt((nil != patients) ? countElements(patients!) : 0)
6060
}
6161

6262
var sections: [PatientListSection] = []
@@ -168,7 +168,7 @@ public class PatientList
168168
}
169169
else {
170170
var patients: [Patient]? = nil
171-
var expTotal: Int? = nil
171+
var expTotal: UInt? = nil
172172

173173
// extract patient resources from the search result bundle
174174
if let bndle = bundle {

LICENSE.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2015 SMART Health IT
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
![](assets/banner.png)
22

3-
Swift-SMART is an iOS and OS X framework for building apps that interact with healthcare data through [**SMART on FHIR**](http://docs.smarthealthit.org).
4-
Written in _Swift_ it is compatible with **iOS 8** and **OS X 10.9** and later and requires Xcode 6 or later.
3+
Swift-SMART is a full client implementation of the 🔥FHIR specification for building apps that interact with healthcare data through [**SMART on FHIR**](http://docs.smarthealthit.org).
4+
Written in _Swift_ it is compatible with **iOS 8** and **OS X 10.9** and newer and requires Xcode 6 or newer.
55

6-
The `master` branch is currently working against FHIR _DSTU 1_.
7-
The `develop` branch is work in progress for FHIR _DSTU 2_.
6+
The `master` branch is currently on FHIR _DSTU 1_ ([`0.0.82`](https://github.com/smart-on-fhir/Swift-SMART/releases/tag/FHIR-0.0.82)).
7+
The `develop` branch is up-to-date for the FHIR _DSTU 2_ May 2015 ballot ([`0.5.0`](https://github.com/smart-on-fhir/Swift-SMART/releases/tag/FHIR-0.5.0)).
8+
9+
There are [tags](https://github.com/smart-on-fhir/Swift-SMART/releases) indicating which data models are baked into the framework.
10+
Compare those to the list of [published FHIR versions](http://hl7.org/fhir/directory.html).
811

912

1013
Resources
@@ -65,3 +68,9 @@ smart.authorize() { patient, error in
6568
}
6669
}
6770
```
71+
72+
73+
License
74+
-------
75+
76+
This work is [Apache 2](LICENSE.txt) licensed.

Swift-FHIR

Submodule Swift-FHIR updated 226 files

SwiftSMART.xcodeproj/project.pbxproj

Lines changed: 62 additions & 53 deletions
Large diffs are not rendered by default.

assets/banner.png

568 Bytes
Loading

0 commit comments

Comments
 (0)