Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Aug 12, 2023
1 parent aae42ce commit c4bcffe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 38 deletions.
12 changes: 0 additions & 12 deletions Sources/SpeziFHIR/FHIR+Identifiable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,3 @@ extension Resource: Identifiable {


extension FHIRPrimitive: Identifiable where PrimitiveType: Identifiable { }


extension Optional: Identifiable where Wrapped == FHIRPrimitive<FHIRString> {
public var id: FHIRPrimitive<FHIRString>? {
switch self {
case let .some(value):
return value
case .none:
return nil
}
}
}

This file was deleted.

1 change: 1 addition & 0 deletions Tests/SpeziFHIRTests/SpeziFHIRTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// SPDX-License-Identifier: MIT
//

import SpeziFHIR
import XCTest


Expand Down

0 comments on commit c4bcffe

Please sign in to comment.