├── .gitignore ├── CHANGELOG.md ├── HowTo ├── DateAndTime.md ├── Extensions.md ├── Instantiation.md ├── ModelProperties.md └── README.md ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── FMCore │ ├── ConstructibleFromNSDate.swift │ ├── DecodingError+Utilities.swift │ ├── ExpressibleAsNSDate.swift │ ├── FHIRDateComponents.swift │ ├── FHIRDateParserError.swift │ ├── FHIRIntegerRepresentable.swift │ ├── FHIRType.swift │ ├── Scanner+FHIR.swift │ └── TimeZone+FHIR.swift ├── ModelsBuild │ ├── Account.swift │ ├── ActivityDefinition.swift │ ├── ActorDefinition.swift │ ├── Address.swift │ ├── AdministrableProductDefinition.swift │ ├── AdverseEvent.swift │ ├── Age.swift │ ├── AllergyIntolerance.swift │ ├── Annotation.swift │ ├── Appointment.swift │ ├── AppointmentResponse.swift │ ├── ArtifactAssessment.swift │ ├── Attachment.swift │ ├── AuditEvent.swift │ ├── Availability.swift │ ├── BackboneElement.swift │ ├── BackboneType.swift │ ├── Base.swift │ ├── Base64Binary.swift │ ├── Basic.swift │ ├── Binary.swift │ ├── BiologicallyDerivedProduct.swift │ ├── BiologicallyDerivedProductDispense.swift │ ├── BodyStructure.swift │ ├── Bundle.swift │ ├── Canonical.swift │ ├── CapabilityStatement.swift │ ├── CarePlan.swift │ ├── CareTeam.swift │ ├── ChargeItem.swift │ ├── ChargeItemDefinition.swift │ ├── Citation.swift │ ├── Claim.swift │ ├── ClaimResponse.swift │ ├── ClinicalImpression.swift │ ├── ClinicalUseDefinition.swift │ ├── CodeSystem.swift │ ├── CodeSystemAccountAggregate.swift │ ├── CodeSystemAccountRelationship.swift │ ├── CodeSystemAccountStatus.swift │ ├── CodeSystemActionCardinalityBehavior.swift │ ├── CodeSystemActionCode.swift │ ├── CodeSystemActionConditionKind.swift │ ├── CodeSystemActionGroupingBehavior.swift │ ├── CodeSystemActionParticipantFunction.swift │ ├── CodeSystemActionParticipantType.swift │ ├── CodeSystemActionPrecheckBehavior.swift │ ├── CodeSystemActionReasonCode.swift │ ├── CodeSystemActionRelationshipType.swift │ ├── CodeSystemActionRequiredBehavior.swift │ ├── CodeSystemActionSelectionBehavior.swift │ ├── CodeSystemAdditionalMonitoring.swift │ ├── CodeSystemAddressType.swift │ ├── CodeSystemAddressUse.swift │ ├── CodeSystemAdministrationSubPotentReason.swift │ ├── CodeSystemAdministrativeGender.swift │ ├── CodeSystemAdverseEventActuality.swift │ ├── CodeSystemAggregationMode.swift │ ├── CodeSystemAllergyIntoleranceCategory.swift │ ├── CodeSystemAllergyIntoleranceCriticality.swift │ ├── CodeSystemAllergyIntoleranceSeverity.swift │ ├── CodeSystemAllergyIntoleranceType.swift │ ├── CodeSystemAppointmentStatus.swift │ ├── CodeSystemArtifactAssessmentDisposition.swift │ ├── CodeSystemArtifactAssessmentInformationType.swift │ ├── CodeSystemArtifactAssessmentWorkflowStatus.swift │ ├── CodeSystemArtifactContributionInstanceType.swift │ ├── CodeSystemArtifactContributionType.swift │ ├── CodeSystemArtifactUrlClassifier.swift │ ├── CodeSystemAssertionDirectionType.swift │ ├── CodeSystemAssertionManualCompletionType.swift │ ├── CodeSystemAssertionOperatorType.swift │ ├── CodeSystemAssertionResponseTypes.swift │ ├── CodeSystemAuditEventAction.swift │ ├── CodeSystemAuditEventSeverity.swift │ ├── CodeSystemBindingStrength.swift │ ├── CodeSystemBiologicallyDerivedProductCategory.swift │ ├── CodeSystemBiologicallyDerivedProductCodes.swift │ ├── CodeSystemBiologicallyDerivedProductDispenseMatchStatus.swift │ ├── CodeSystemBiologicallyDerivedProductDispenseOriginRelationship.swift │ ├── CodeSystemBiologicallyDerivedProductDispensePerformerFunction.swift │ ├── CodeSystemBiologicallyDerivedProductDispenseStatus.swift │ ├── CodeSystemBiologicallyDerivedProductStatus.swift │ ├── CodeSystemBundleType.swift │ ├── CodeSystemCapabilityStatementKind.swift │ ├── CodeSystemCareTeamStatus.swift │ ├── CodeSystemCharacteristicOffset.swift │ ├── CodeSystemChargeItemStatus.swift │ ├── CodeSystemCitationClassificationType.swift │ ├── CodeSystemCitationStatusType.swift │ ├── CodeSystemCitationSummaryStyle.swift │ ├── CodeSystemCitedArtifactAbstractType.swift │ ├── CodeSystemCitedArtifactClassificationType.swift │ ├── CodeSystemCitedArtifactPartType.swift │ ├── CodeSystemCitedArtifactStatusType.swift │ ├── CodeSystemCitedMedium.swift │ ├── CodeSystemClaimAdjudicationDecisionCodes.swift │ ├── CodeSystemClaimProcessingCodes.swift │ ├── CodeSystemClaimProcessingOutcomeCodes.swift │ ├── CodeSystemClinicalUseDefinitionCategory.swift │ ├── CodeSystemClinicalUseDefinitionType.swift │ ├── CodeSystemCodeSearchSupport.swift │ ├── CodeSystemCodeSystemContentMode.swift │ ├── CodeSystemCodeSystemHierarchyMeaning.swift │ ├── CodeSystemColorCodes.swift │ ├── CodeSystemCompartmentType.swift │ ├── CodeSystemCompositionAttestationMode.swift │ ├── CodeSystemCompositionStatus.swift │ ├── CodeSystemConceptMapAttributeType.swift │ ├── CodeSystemConceptMapGroupUnmappedMode.swift │ ├── CodeSystemConceptMapPropertyType.swift │ ├── CodeSystemConceptMapRelationship.swift │ ├── CodeSystemConditionPreconditionType.swift │ ├── CodeSystemConditionQuestionnairePurpose.swift │ ├── CodeSystemConditionalDeleteStatus.swift │ ├── CodeSystemConditionalReadStatus.swift │ ├── CodeSystemConsentDataMeaning.swift │ ├── CodeSystemConsentProvisionType.swift │ ├── CodeSystemConsentState.swift │ ├── CodeSystemConstraintSeverity.swift │ ├── CodeSystemContactPointSystem.swift │ ├── CodeSystemContactPointUse.swift │ ├── CodeSystemContributorRole.swift │ ├── CodeSystemContributorSummarySource.swift │ ├── CodeSystemContributorSummaryStyle.swift │ ├── CodeSystemContributorSummaryType.swift │ ├── CodeSystemContributorType.swift │ ├── CodeSystemCriteriaNotExistsBehavior.swift │ ├── CodeSystemDatesEventTypeCodes.swift │ ├── CodeSystemDaysOfWeek.swift │ ├── CodeSystemDefinitionMethod.swift │ ├── CodeSystemDetectedIssueSeverity.swift │ ├── CodeSystemDetectedIssueStatus.swift │ ├── CodeSystemDeviceAlertActivationState.swift │ ├── CodeSystemDeviceAlertAnnunciation.swift │ ├── CodeSystemDeviceAlertManifestation.swift │ ├── CodeSystemDeviceAlertPresence.swift │ ├── CodeSystemDeviceAlertPriority.swift │ ├── CodeSystemDeviceAlertStatus.swift │ ├── CodeSystemDeviceAlertType.swift │ ├── CodeSystemDeviceAssociationStatus.swift │ ├── CodeSystemDeviceAssociationStatusReason.swift │ ├── CodeSystemDeviceCorrectiveActionScope.swift │ ├── CodeSystemDeviceDefinitionRelationType.swift │ ├── CodeSystemDeviceDispenseStatusCodes.swift │ ├── CodeSystemDeviceDispenseStatusReasonCodes.swift │ ├── CodeSystemDeviceMetricCalibrationState.swift │ ├── CodeSystemDeviceMetricCalibrationType.swift │ ├── CodeSystemDeviceMetricCategory.swift │ ├── CodeSystemDeviceMetricOperationalStatus.swift │ ├── CodeSystemDeviceNameType.swift │ ├── CodeSystemDeviceProductionIdentifierInUDI.swift │ ├── CodeSystemDeviceRegulatoryIdentifierType.swift │ ├── CodeSystemDeviceUsageAdherenceCode.swift │ ├── CodeSystemDeviceUsageAdherenceReason.swift │ ├── CodeSystemDeviceUsageStatus.swift │ ├── CodeSystemDiagnosticReportStatus.swift │ ├── CodeSystemDiscriminatorType.swift │ ├── CodeSystemDocumentMode.swift │ ├── CodeSystemDocumentReferenceStatus.swift │ ├── CodeSystemDocumentRelationshipType.swift │ ├── CodeSystemETSISignatureTypeCodes.swift │ ├── CodeSystemEligibility.swift │ ├── CodeSystemEligibilityOutcome.swift │ ├── CodeSystemEligibilityRequestPurpose.swift │ ├── CodeSystemEligibilityResponsePurpose.swift │ ├── CodeSystemEnableWhenBehavior.swift │ ├── CodeSystemEncounterDiagnosisUse.swift │ ├── CodeSystemEncounterLocationStatus.swift │ ├── CodeSystemEncounterReasonUse.swift │ ├── CodeSystemEncounterStatus.swift │ ├── CodeSystemEndpointEnvironment.swift │ ├── CodeSystemEndpointStatus.swift │ ├── CodeSystemEnrollmentOutcome.swift │ ├── CodeSystemEpisodeOfCareStatus.swift │ ├── CodeSystemEventCapabilityMode.swift │ ├── CodeSystemEventTiming.swift │ ├── CodeSystemEvidenceCertaintyRating.swift │ ├── CodeSystemEvidenceCertaintyType.swift │ ├── CodeSystemEvidenceClassifier.swift │ ├── CodeSystemEvidenceReportType.swift │ ├── CodeSystemEvidenceVariableHandling.swift │ ├── CodeSystemExampleScenarioActorType.swift │ ├── CodeSystemExplanationOfBenefitStatus.swift │ ├── CodeSystemExtensionContextType.swift │ ├── CodeSystemExtraActivityType.swift │ ├── CodeSystemFHIRDeviceAssociationOperationStatus.swift │ ├── CodeSystemFHIRDeviceAvailabilityStatus.swift │ ├── CodeSystemFHIRDeviceCategory.swift │ ├── CodeSystemFHIRDeviceOperationMode.swift │ ├── CodeSystemFHIRDeviceSpecializationCategory.swift │ ├── CodeSystemFHIRDeviceStatus.swift │ ├── CodeSystemFHIRFormatType.swift │ ├── CodeSystemFHIRPathTypesCodeSystem.swift │ ├── CodeSystemFHIRRestfulInteractions.swift │ ├── CodeSystemFHIRSafetyCheckListEntries.swift │ ├── CodeSystemFHIRSubstanceStatus.swift │ ├── CodeSystemFamilyHistoryStatus.swift │ ├── CodeSystemFilterOperator.swift │ ├── CodeSystemFinancialResourceStatusCodes.swift │ ├── CodeSystemFlagStatus.swift │ ├── CodeSystemFocusCharacteristicCode.swift │ ├── CodeSystemFormularyItemStatusCodes.swift │ ├── CodeSystemGoalAcceptStatus.swift │ ├── CodeSystemGoalLifecycleStatus.swift │ ├── CodeSystemGraphCompartmentRule.swift │ ├── CodeSystemGraphCompartmentUse.swift │ ├── CodeSystemGroupCharacteristicCombination.swift │ ├── CodeSystemGroupCode.swift │ ├── CodeSystemGroupInvolvement.swift │ ├── CodeSystemGroupMembershipBasis.swift │ ├── CodeSystemGroupType.swift │ ├── CodeSystemGuidanceResponseStatus.swift │ ├── CodeSystemGuidePageGeneration.swift │ ├── CodeSystemHTTPVerb.swift │ ├── CodeSystemIdentifierUse.swift │ ├── CodeSystemIdentityAssuranceLevel.swift │ ├── CodeSystemImagingSelection2DGraphicType.swift │ ├── CodeSystemImagingSelection3DGraphicType.swift │ ├── CodeSystemImagingSelectionStatus.swift │ ├── CodeSystemImagingStudyStatus.swift │ ├── CodeSystemIndicator.swift │ ├── CodeSystemIngredientFunction.swift │ ├── CodeSystemIngredientManufacturerRole.swift │ ├── CodeSystemInteractionIncidence.swift │ ├── CodeSystemInteractionType.swift │ ├── CodeSystemInventoryCountType.swift │ ├── CodeSystemInventoryItemNameType.swift │ ├── CodeSystemInventoryItemStatus.swift │ ├── CodeSystemInventoryReportStatus.swift │ ├── CodeSystemInvoiceStatus.swift │ ├── CodeSystemIssueSeverity.swift │ ├── CodeSystemIssueType.swift │ ├── CodeSystemKind.swift │ ├── CodeSystemKnowledgeRepresentationLevel.swift │ ├── CodeSystemLinkRelationTypes.swift │ ├── CodeSystemLinkType.swift │ ├── CodeSystemLinkageType.swift │ ├── CodeSystemListMode.swift │ ├── CodeSystemListStatus.swift │ ├── CodeSystemLocationCharacteristic.swift │ ├── CodeSystemLocationMode.swift │ ├── CodeSystemLocationStatus.swift │ ├── CodeSystemMeasureAggregateMethod.swift │ ├── CodeSystemMeasureReportStatus.swift │ ├── CodeSystemMeasureReportType.swift │ ├── CodeSystemMedDispenseAdminLocationCodes.swift │ ├── CodeSystemMedicationAdministrationStatusCodes.swift │ ├── CodeSystemMedicationCostCategoryCodes.swift │ ├── CodeSystemMedicationDispenseStatusCodes.swift │ ├── CodeSystemMedicationDispenseStatusReasonCodes.swift │ ├── CodeSystemMedicationDoseAid.swift │ ├── CodeSystemMedicationIngredientStrengthCodes.swift │ ├── CodeSystemMedicationIntendedPerformerRole.swift │ ├── CodeSystemMedicationRequestIntentCodes.swift │ ├── CodeSystemMedicationRequestStatusCodes.swift │ ├── CodeSystemMedicationStatementAdherenceCodes.swift │ ├── CodeSystemMedicationStatementStatusCodes.swift │ ├── CodeSystemMedicationStatusCodes.swift │ ├── CodeSystemMedicinalProductDomain.swift │ ├── CodeSystemMedicinalProductType.swift │ ├── CodeSystemMessageSignificanceCategory.swift │ ├── CodeSystemMessageTransport.swift │ ├── CodeSystemMessageheaderResponseRequest.swift │ ├── CodeSystemNHINPurposeOfUse.swift │ ├── CodeSystemNameUse.swift │ ├── CodeSystemNamingSystemIdentifierType.swift │ ├── CodeSystemNamingSystemType.swift │ ├── CodeSystemNarrativeStatus.swift │ ├── CodeSystemNoteType.swift │ ├── CodeSystemNutritionProductStatus.swift │ ├── CodeSystemObservationDataType.swift │ ├── CodeSystemObservationRangeCategory.swift │ ├── CodeSystemObservationReferenceRangeNormalValue.swift │ ├── CodeSystemObservationStatus.swift │ ├── CodeSystemOperationKind.swift │ ├── CodeSystemOperationParameterScope.swift │ ├── CodeSystemOperationParameterUse.swift │ ├── CodeSystemOrganizationAffiliationRole.swift │ ├── CodeSystemPackageType.swift │ ├── CodeSystemParticipationStatus.swift │ ├── CodeSystemPaymentIssuerTypeCodes.swift │ ├── CodeSystemPaymentKindCodes.swift │ ├── CodeSystemPediatricUse.swift │ ├── CodeSystemPermissionRuleCombining.swift │ ├── CodeSystemPermissionStatus.swift │ ├── CodeSystemPriceComponentType.swift │ ├── CodeSystemProcedureDeviceActionCodes.swift │ ├── CodeSystemProductConfidentiality.swift │ ├── CodeSystemProductContactType.swift │ ├── CodeSystemProductCrossReferenceType.swift │ ├── CodeSystemProductIntendedUse.swift │ ├── CodeSystemProductNamePartType.swift │ ├── CodeSystemProductNameType.swift │ ├── CodeSystemProductStatus.swift │ ├── CodeSystemPropertyRepresentation.swift │ ├── CodeSystemPropertyType.swift │ ├── CodeSystemProvenanceEntityRole.swift │ ├── CodeSystemPublicationStatus.swift │ ├── CodeSystemPublishedInType.swift │ ├── CodeSystemQualificationStatus.swift │ ├── CodeSystemQuantityComparator.swift │ ├── CodeSystemQuestionnaireItemOperator.swift │ ├── CodeSystemQuestionnaireItemType.swift │ ├── CodeSystemQuestionnaireResponseStatus.swift │ ├── CodeSystemReasonMedicationNotGivenCodes.swift │ ├── CodeSystemReferenceHandlingPolicy.swift │ ├── CodeSystemReferenceVersionRules.swift │ ├── CodeSystemRegulatedAuthorizationBasis.swift │ ├── CodeSystemRegulatedAuthorizationType.swift │ ├── CodeSystemRelatedArtifactType.swift │ ├── CodeSystemRelatedArtifactTypeExpanded.swift │ ├── CodeSystemRemittanceOutcome.swift │ ├── CodeSystemReportRelationshipType.swift │ ├── CodeSystemReportSectionType.swift │ ├── CodeSystemResearchStudyArmType.swift │ ├── CodeSystemResearchStudyClassifiers.swift │ ├── CodeSystemResearchStudyFocusType.swift │ ├── CodeSystemResearchStudyObjectiveType.swift │ ├── CodeSystemResearchStudyPartyOrganizationType.swift │ ├── CodeSystemResearchStudyPartyRole.swift │ ├── CodeSystemResearchStudyPhase.swift │ ├── CodeSystemResearchStudyPrimaryPurposeType.swift │ ├── CodeSystemResearchStudyReasonStopped.swift │ ├── CodeSystemResearchStudyStatus.swift │ ├── CodeSystemResourceType.swift │ ├── CodeSystemResourceVersionPolicy.swift │ ├── CodeSystemResponseType.swift │ ├── CodeSystemRestfulCapabilityMode.swift │ ├── CodeSystemRestfulSecurityService.swift │ ├── CodeSystemSearchComparator.swift │ ├── CodeSystemSearchEntryMode.swift │ ├── CodeSystemSearchModifierCode.swift │ ├── CodeSystemSearchParamType.swift │ ├── CodeSystemSearchProcessingModeType.swift │ ├── CodeSystemSequenceType.swift │ ├── CodeSystemSlicingRules.swift │ ├── CodeSystemSlotStatus.swift │ ├── CodeSystemSortDirection.swift │ ├── CodeSystemSpecialMeasures.swift │ ├── CodeSystemSpecimenCombined.swift │ ├── CodeSystemSpecimenContainedPreference.swift │ ├── CodeSystemSpecimenRole.swift │ ├── CodeSystemSpecimenStatus.swift │ ├── CodeSystemStatisticModelCode.swift │ ├── CodeSystemStatus.swift │ ├── CodeSystemStructureDefinitionKind.swift │ ├── CodeSystemStructureMapGroupTypeMode.swift │ ├── CodeSystemStructureMapInputMode.swift │ ├── CodeSystemStructureMapModelMode.swift │ ├── CodeSystemStructureMapSourceListMode.swift │ ├── CodeSystemStructureMapTargetListMode.swift │ ├── CodeSystemStructureMapTransform.swift │ ├── CodeSystemStudyDesign.swift │ ├── CodeSystemSubscriptionNotificationType.swift │ ├── CodeSystemSubscriptionPayloadContent.swift │ ├── CodeSystemSubscriptionStatusCodes.swift │ ├── CodeSystemSubstanceAmountType.swift │ ├── CodeSystemSubstanceForm.swift │ ├── CodeSystemSubstanceGrade.swift │ ├── CodeSystemSubstanceNameAuthority.swift │ ├── CodeSystemSubstanceNameDomain.swift │ ├── CodeSystemSubstanceNameType.swift │ ├── CodeSystemSubstanceOpticalActivity.swift │ ├── CodeSystemSubstanceRelationshipType.swift │ ├── CodeSystemSubstanceRepresentationFormat.swift │ ├── CodeSystemSubstanceRepresentationType.swift │ ├── CodeSystemSubstanceSourceMaterialGenus.swift │ ├── CodeSystemSubstanceSourceMaterialPart.swift │ ├── CodeSystemSubstanceSourceMaterialSpecies.swift │ ├── CodeSystemSubstanceSourceMaterialType.swift │ ├── CodeSystemSubstanceStereochemistry.swift │ ├── CodeSystemSubstanceStructureTechnique.swift │ ├── CodeSystemSubstanceWeightMethod.swift │ ├── CodeSystemSubstanceWeightType.swift │ ├── CodeSystemSupplyDeliveryStage.swift │ ├── CodeSystemSupplyDeliveryStatus.swift │ ├── CodeSystemSupplyDeliverySupplyItemCondition.swift │ ├── CodeSystemSupplyDeliverySupplyItemType.swift │ ├── CodeSystemSupplyRequestStatus.swift │ ├── CodeSystemTaskCode.swift │ ├── CodeSystemTaskIntent.swift │ ├── CodeSystemTaskStatus.swift │ ├── CodeSystemTaskStatusReason.swift │ ├── CodeSystemTemplateStatusCodeLifeCycle.swift │ ├── CodeSystemTestReportActionResult.swift │ ├── CodeSystemTestReportParticipantType.swift │ ├── CodeSystemTestReportResult.swift │ ├── CodeSystemTestReportStatus.swift │ ├── CodeSystemTestScriptRequestMethodCode.swift │ ├── CodeSystemTestScriptScopeConformanceType.swift │ ├── CodeSystemTestScriptScopePhaseType.swift │ ├── CodeSystemTherapyRelationshipType.swift │ ├── CodeSystemTimingAbbreviation.swift │ ├── CodeSystemTitleType.swift │ ├── CodeSystemTransportCode.swift │ ├── CodeSystemTransportIntent.swift │ ├── CodeSystemTransportStatus.swift │ ├── CodeSystemTransportStatusReason.swift │ ├── CodeSystemTriggerType.swift │ ├── CodeSystemTypeDerivationRule.swift │ ├── CodeSystemUDIEntryType.swift │ ├── CodeSystemUndesirablEffectFrequency.swift │ ├── CodeSystemUsageContextAgreementScope.swift │ ├── CodeSystemUse.swift │ ├── CodeSystemVariableRole.swift │ ├── CodeSystemVersionAlgorithm.swift │ ├── CodeSystemVisionBase.swift │ ├── CodeSystemVisionEyes.swift │ ├── CodeSystemW3cProvenanceActivityType.swift │ ├── CodeSystemWarningType.swift │ ├── CodeSystemWeekOfMonth.swift │ ├── CodeableConcept.swift │ ├── CodeableReference.swift │ ├── Coding.swift │ ├── Communication.swift │ ├── CommunicationRequest.swift │ ├── CompartmentDefinition.swift │ ├── Composition.swift │ ├── ConceptMap.swift │ ├── Condition.swift │ ├── ConditionDefinition.swift │ ├── Consent.swift │ ├── ContactDetail.swift │ ├── ContactPoint.swift │ ├── Contract.swift │ ├── Contributor.swift │ ├── Count.swift │ ├── Coverage.swift │ ├── CoverageEligibilityRequest.swift │ ├── CoverageEligibilityResponse.swift │ ├── DataRequirement.swift │ ├── DataType.swift │ ├── DateTime+NSDate.swift │ ├── DateTime.swift │ ├── DetectedIssue.swift │ ├── Device.swift │ ├── DeviceAlert.swift │ ├── DeviceAssociation.swift │ ├── DeviceDefinition.swift │ ├── DeviceDispense.swift │ ├── DeviceMetric.swift │ ├── DeviceRequest.swift │ ├── DeviceUsage.swift │ ├── DiagnosticReport.swift │ ├── Distance.swift │ ├── DocumentReference.swift │ ├── DomainResource+Extensions.swift │ ├── DomainResource.swift │ ├── Dosage.swift │ ├── Duration.swift │ ├── Element+Extensions.swift │ ├── Element.swift │ ├── ElementDefinition.swift │ ├── Encounter.swift │ ├── EncounterHistory.swift │ ├── Endpoint.swift │ ├── EnrollmentRequest.swift │ ├── EnrollmentResponse.swift │ ├── EpisodeOfCare.swift │ ├── EventDefinition.swift │ ├── Evidence.swift │ ├── EvidenceReport.swift │ ├── EvidenceVariable.swift │ ├── ExampleScenario.swift │ ├── ExplanationOfBenefit.swift │ ├── Expression.swift │ ├── ExtendedContactDetail.swift │ ├── Extension.swift │ ├── FHIRAbstractResource.swift │ ├── FHIRBool.swift │ ├── FHIRDate+NSDate.swift │ ├── FHIRDate.swift │ ├── FHIRDecimal.swift │ ├── FHIRInteger.swift │ ├── FHIRInteger64.swift │ ├── FHIRPositiveInteger.swift │ ├── FHIRPrimitive.swift │ ├── FHIRString.swift │ ├── FHIRTime+NSDate.swift │ ├── FHIRTime.swift │ ├── FHIRURI.swift │ ├── FHIRUnsignedInteger.swift │ ├── FamilyMemberHistory.swift │ ├── Flag.swift │ ├── FormularyItem.swift │ ├── GenomicStudy.swift │ ├── Goal.swift │ ├── GraphDefinition.swift │ ├── Group.swift │ ├── GuidanceResponse.swift │ ├── HealthcareService.swift │ ├── HumanName.swift │ ├── Identifier.swift │ ├── ImagingSelection.swift │ ├── ImagingStudy.swift │ ├── Immunization.swift │ ├── ImmunizationEvaluation.swift │ ├── ImmunizationRecommendation.swift │ ├── ImplementationGuide.swift │ ├── Ingredient.swift │ ├── Instant+NSDate.swift │ ├── Instant.swift │ ├── InstantDate.swift │ ├── InsurancePlan.swift │ ├── InsuranceProduct.swift │ ├── InventoryItem.swift │ ├── InventoryReport.swift │ ├── Invoice.swift │ ├── Library.swift │ ├── Linkage.swift │ ├── List.swift │ ├── Location.swift │ ├── ManufacturedItemDefinition.swift │ ├── MarketingStatus.swift │ ├── Measure.swift │ ├── MeasureReport.swift │ ├── Medication.swift │ ├── MedicationAdministration.swift │ ├── MedicationDispense.swift │ ├── MedicationKnowledge.swift │ ├── MedicationRequest.swift │ ├── MedicationStatement.swift │ ├── MedicinalProductDefinition.swift │ ├── MessageDefinition.swift │ ├── MessageHeader.swift │ ├── Meta.swift │ ├── MolecularDefinition.swift │ ├── MolecularSequence.swift │ ├── MonetaryComponent.swift │ ├── Money.swift │ ├── NamingSystem.swift │ ├── Narrative.swift │ ├── NutritionIntake.swift │ ├── NutritionOrder.swift │ ├── NutritionProduct.swift │ ├── Observation.swift │ ├── ObservationDefinition.swift │ ├── OperationDefinition.swift │ ├── OperationOutcome.swift │ ├── Organization.swift │ ├── OrganizationAffiliation.swift │ ├── PackagedProductDefinition.swift │ ├── ParameterDefinition.swift │ ├── Parameters.swift │ ├── Patient.swift │ ├── PaymentNotice.swift │ ├── PaymentReconciliation.swift │ ├── Period.swift │ ├── Permission.swift │ ├── Person.swift │ ├── PersonalRelationship.swift │ ├── PlanDefinition.swift │ ├── Practitioner.swift │ ├── PractitionerRole.swift │ ├── PrimitiveType.swift │ ├── Procedure.swift │ ├── ProductShelfLife.swift │ ├── Provenance.swift │ ├── Quantity.swift │ ├── Questionnaire.swift │ ├── QuestionnaireResponse.swift │ ├── Range.swift │ ├── Ratio.swift │ ├── RatioRange.swift │ ├── Reference.swift │ ├── RegulatedAuthorization.swift │ ├── RelatedArtifact.swift │ ├── RelatedPerson.swift │ ├── RelativeTime.swift │ ├── RequestOrchestration.swift │ ├── Requirements.swift │ ├── ResearchStudy.swift │ ├── ResearchSubject.swift │ ├── Resource.swift │ ├── ResourceProxy.swift │ ├── RiskAssessment.swift │ ├── SampledData.swift │ ├── Schedule.swift │ ├── SearchParameter.swift │ ├── ServiceRequest.swift │ ├── Signature.swift │ ├── Slot.swift │ ├── Specimen.swift │ ├── SpecimenDefinition.swift │ ├── StructureDefinition.swift │ ├── StructureMap.swift │ ├── Subscription.swift │ ├── SubscriptionStatus.swift │ ├── SubscriptionTopic.swift │ ├── Substance.swift │ ├── SubstanceDefinition.swift │ ├── SubstanceNucleicAcid.swift │ ├── SubstancePolymer.swift │ ├── SubstanceProtein.swift │ ├── SubstanceReferenceInformation.swift │ ├── SubstanceSourceMaterial.swift │ ├── SupplyDelivery.swift │ ├── SupplyRequest.swift │ ├── Task.swift │ ├── TerminologyCapabilities.swift │ ├── TestPlan.swift │ ├── TestReport.swift │ ├── TestScript.swift │ ├── Timing.swift │ ├── Transport.swift │ ├── TriggerDefinition.swift │ ├── UsageContext.swift │ ├── ValueSet.swift │ ├── VerificationResult.swift │ ├── VirtualServiceDetail.swift │ └── VisionPrescription.swift ├── ModelsDSTU2 │ ├── Account.swift │ ├── Address.swift │ ├── Age.swift │ ├── AllergyIntolerance.swift │ ├── Annotation.swift │ ├── Appointment.swift │ ├── AppointmentResponse.swift │ ├── Attachment.swift │ ├── AuditEvent.swift │ ├── BackboneElement.swift │ ├── Base64Binary.swift │ ├── Basic.swift │ ├── Binary.swift │ ├── BodySite.swift │ ├── Bundle.swift │ ├── CarePlan.swift │ ├── Claim.swift │ ├── ClaimResponse.swift │ ├── ClinicalImpression.swift │ ├── CodeSystemACMECodesForCholesterolInSerumPlasma.swift │ ├── CodeSystemAHRQMedicationQ1.swift │ ├── CodeSystemAccountStatus.swift │ ├── CodeSystemActionList.swift │ ├── CodeSystemAdditionalMaterialCodes.swift │ ├── CodeSystemAddressType.swift │ ├── CodeSystemAddressUse.swift │ ├── CodeSystemAdjudicationCodes.swift │ ├── CodeSystemAdjudicationErrorCodes.swift │ ├── CodeSystemAdjustmentReasonCodes.swift │ ├── CodeSystemAdministrativeGender.swift │ ├── CodeSystemAdmitSource.swift │ ├── CodeSystemAggregationMode.swift │ ├── CodeSystemAllergyIntoleranceCategory.swift │ ├── CodeSystemAllergyIntoleranceCertainty.swift │ ├── CodeSystemAllergyIntoleranceCriticality.swift │ ├── CodeSystemAllergyIntoleranceSeverity.swift │ ├── CodeSystemAllergyIntoleranceStatus.swift │ ├── CodeSystemAllergyIntoleranceType.swift │ ├── CodeSystemAnimalBreeds.swift │ ├── CodeSystemAnimalSpecies.swift │ ├── CodeSystemAnswerFormat.swift │ ├── CodeSystemAppointmentStatus.swift │ ├── CodeSystemAssertionDirectionType.swift │ ├── CodeSystemAssertionOperatorType.swift │ ├── CodeSystemAssertionResponseTypes.swift │ ├── CodeSystemAuditEventAction.swift │ ├── CodeSystemAuditEventID.swift │ ├── CodeSystemBasicResourceTypes.swift │ ├── CodeSystemBindingStrength.swift │ ├── CodeSystemBundleType.swift │ ├── CodeSystemCarePlanActivityCategory.swift │ ├── CodeSystemCarePlanActivityStatus.swift │ ├── CodeSystemCarePlanRelationship.swift │ ├── CodeSystemCarePlanStatus.swift │ ├── CodeSystemChoiceListOrientation.swift │ ├── CodeSystemClaimType.swift │ ├── CodeSystemClassificationOrContext.swift │ ├── CodeSystemClinicalImpressionStatus.swift │ ├── CodeSystemCommunicationRequestStatus.swift │ ├── CodeSystemCommunicationStatus.swift │ ├── CodeSystemCompositionAttestationMode.swift │ ├── CodeSystemCompositionStatus.swift │ ├── CodeSystemConceptMapEquivalence.swift │ ├── CodeSystemConditionCategoryCodes.swift │ ├── CodeSystemConditionClinicalStatusCodes.swift │ ├── CodeSystemConditionState.swift │ ├── CodeSystemConditionVerificationStatus.swift │ ├── CodeSystemConditionalDeleteStatus.swift │ ├── CodeSystemConformanceEventMode.swift │ ├── CodeSystemConformanceExpectation.swift │ ├── CodeSystemConformanceResourceStatus.swift │ ├── CodeSystemConformanceStatementKind.swift │ ├── CodeSystemConstraintSeverity.swift │ ├── CodeSystemContactEntityType.swift │ ├── CodeSystemContactPointSystem.swift │ ├── CodeSystemContactPointUse.swift │ ├── CodeSystemContentType.swift │ ├── CodeSystemContractActionCodes.swift │ ├── CodeSystemContractActorRoleCodes.swift │ ├── CodeSystemContractSubtypeCodes.swift │ ├── CodeSystemContractTermTypeCodes.swift │ ├── CodeSystemContractTypeCodes.swift │ ├── CodeSystemDataAbsentReason.swift │ ├── CodeSystemDataElementStringency.swift │ ├── CodeSystemDataType.swift │ ├── CodeSystemDaysOfWeek.swift │ ├── CodeSystemDetectedIssueSeverity.swift │ ├── CodeSystemDeviceMetricCalibrationState.swift │ ├── CodeSystemDeviceMetricCalibrationType.swift │ ├── CodeSystemDeviceMetricCategory.swift │ ├── CodeSystemDeviceMetricColor.swift │ ├── CodeSystemDeviceMetricOperationalStatus.swift │ ├── CodeSystemDeviceStatus.swift │ ├── CodeSystemDeviceUseRequestPriority.swift │ ├── CodeSystemDeviceUseRequestStatus.swift │ ├── CodeSystemDiagnosticOrderPriority.swift │ ├── CodeSystemDiagnosticOrderStatus.swift │ ├── CodeSystemDiagnosticReportStatus.swift │ ├── CodeSystemDiet.swift │ ├── CodeSystemDigitalMediaType.swift │ ├── CodeSystemDischargeDisposition.swift │ ├── CodeSystemDocumentMode.swift │ ├── CodeSystemDocumentReferenceStatus.swift │ ├── CodeSystemDocumentRelationshipType.swift │ ├── CodeSystemEncounterClass.swift │ ├── CodeSystemEncounterLocationStatus.swift │ ├── CodeSystemEncounterPriority.swift │ ├── CodeSystemEncounterState.swift │ ├── CodeSystemEncounterType.swift │ ├── CodeSystemEnteralFormulaAdditiveTypeCode.swift │ ├── CodeSystemEpisodeOfCareStatus.swift │ ├── CodeSystemExampleMessageReasonCodes.swift │ ├── CodeSystemExamplePharmacyServiceCodes.swift │ ├── CodeSystemExampleServiceProductCodes.swift │ ├── CodeSystemExampleUseCodesForList.swift │ ├── CodeSystemExampleVisionPrescriptionProductCodes.swift │ ├── CodeSystemExceptionCodes.swift │ ├── CodeSystemExtensionContext.swift │ ├── CodeSystemFHIRRestfulInteractions.swift │ ├── CodeSystemFamilyHistoryStatus.swift │ ├── CodeSystemFilterOperator.swift │ ├── CodeSystemFlagCategory.swift │ ├── CodeSystemFlagCategoryCodes.swift │ ├── CodeSystemFlagPriorityCodes.swift │ ├── CodeSystemFlagStatus.swift │ ├── CodeSystemFundsReservationCodes.swift │ ├── CodeSystemGenderStatus.swift │ ├── CodeSystemGoalAcceptanceStatus.swift │ ├── CodeSystemGoalCategory.swift │ ├── CodeSystemGoalPriority.swift │ ├── CodeSystemGoalRelationshipType.swift │ ├── CodeSystemGoalStatus.swift │ ├── CodeSystemGoalStatusReason.swift │ ├── CodeSystemGroupType.swift │ ├── CodeSystemGuideDependencyType.swift │ ├── CodeSystemGuidePageKind.swift │ ├── CodeSystemGuideResourcePurpose.swift │ ├── CodeSystemHTTPVerb.swift │ ├── CodeSystemIdentifierTypeCodes.swift │ ├── CodeSystemIdentifierUse.swift │ ├── CodeSystemIdentityAssuranceLevel.swift │ ├── CodeSystemImmunizationRecommendationDateCriterionCodes.swift │ ├── CodeSystemImmunizationRecommendationStatusCodes.swift │ ├── CodeSystemInterventionCodes.swift │ ├── CodeSystemIssueSeverity.swift │ ├── CodeSystemIssueType.swift │ ├── CodeSystemLinkType.swift │ ├── CodeSystemListEmptyReasons.swift │ ├── CodeSystemListMode.swift │ ├── CodeSystemListOrderCodes.swift │ ├── CodeSystemListStatus.swift │ ├── CodeSystemLocationMode.swift │ ├── CodeSystemLocationStatus.swift │ ├── CodeSystemLocationType.swift │ ├── CodeSystemMPIMatch.swift │ ├── CodeSystemMaritalStatusCodes.swift │ ├── CodeSystemMaxOccurs.swift │ ├── CodeSystemMeasmntPrinciple.swift │ ├── CodeSystemMediaSubType.swift │ ├── CodeSystemMedicationAdministrationStatus.swift │ ├── CodeSystemMedicationDispenseStatus.swift │ ├── CodeSystemMedicationOrderStatus.swift │ ├── CodeSystemMedicationStatementStatus.swift │ ├── CodeSystemMessageEvent.swift │ ├── CodeSystemMessageSignificanceCategory.swift │ ├── CodeSystemMessageTransport.swift │ ├── CodeSystemMilitaryServiceCodes.swift │ ├── CodeSystemMissingToothReasonCodes.swift │ ├── CodeSystemModifierTypeCodes.swift │ ├── CodeSystemNHINPurposeOfUse.swift │ ├── CodeSystemNameUse.swift │ ├── CodeSystemNamingSystemIdentifierType.swift │ ├── CodeSystemNamingSystemType.swift │ ├── CodeSystemNarrativeStatus.swift │ ├── CodeSystemNoteType.swift │ ├── CodeSystemNutritionOrderStatus.swift │ ├── CodeSystemObservationCategoryCodes.swift │ ├── CodeSystemObservationReferenceRangeMeaningCodes.swift │ ├── CodeSystemObservationRelationshipType.swift │ ├── CodeSystemObservationStatus.swift │ ├── CodeSystemOperationKind.swift │ ├── CodeSystemOperationOutcomeCodes.swift │ ├── CodeSystemOperationParameterUse.swift │ ├── CodeSystemOrderStatus.swift │ ├── CodeSystemOrganizationType.swift │ ├── CodeSystemParticipantRequired.swift │ ├── CodeSystemParticipantStatus.swift │ ├── CodeSystemParticipantType.swift │ ├── CodeSystemParticipationStatus.swift │ ├── CodeSystemPatientContactRelationship.swift │ ├── CodeSystemPayeeTypeCodes.swift │ ├── CodeSystemPaymentStatusCodes.swift │ ├── CodeSystemPaymentTypeCodes.swift │ ├── CodeSystemPractitionerRole.swift │ ├── CodeSystemPractitionerSpecialty.swift │ ├── CodeSystemPriorityCodes.swift │ ├── CodeSystemProcedureDeviceActionCodes.swift │ ├── CodeSystemProcedureProgressStatusCodes.swift │ ├── CodeSystemProcedureRelationshipType.swift │ ├── CodeSystemProcedureRequestPriority.swift │ ├── CodeSystemProcedureRequestStatus.swift │ ├── CodeSystemProcedureStatus.swift │ ├── CodeSystemProcessOutcomeCodes.swift │ ├── CodeSystemPropertyRepresentation.swift │ ├── CodeSystemProvenanceEntityRole.swift │ ├── CodeSystemProvenanceParticipantRole.swift │ ├── CodeSystemProvenanceParticipantType.swift │ ├── CodeSystemQICoreAdverseEventCategoryCodes.swift │ ├── CodeSystemQICoreAdverseEventTypeCodes.swift │ ├── CodeSystemQICoreAppropriatenessScore.swift │ ├── CodeSystemQICoreCommunicationMediumCodes.swift │ ├── CodeSystemQICoreConditionCriticalityCodes.swift │ ├── CodeSystemQuantityComparator.swift │ ├── CodeSystemQuestionnaireGroupSpecialType.swift │ ├── CodeSystemQuestionnaireQuestionUIControlCodes.swift │ ├── CodeSystemQuestionnaireResponseStatus.swift │ ├── CodeSystemQuestionnaireStatus.swift │ ├── CodeSystemReasonMedicationGivenCodes.swift │ ├── CodeSystemReasonMedicationNotGivenCodes.swift │ ├── CodeSystemReferralMethod.swift │ ├── CodeSystemReferralStatus.swift │ ├── CodeSystemRemittanceOutcome.swift │ ├── CodeSystemResourceType.swift │ ├── CodeSystemResourceValidationMode.swift │ ├── CodeSystemResourceVersionPolicy.swift │ ├── CodeSystemResponseType.swift │ ├── CodeSystemRestfulConformanceMode.swift │ ├── CodeSystemRestfulSecurityService.swift │ ├── CodeSystemRiskProbability.swift │ ├── CodeSystemRulesetCodes.swift │ ├── CodeSystemSearchEntryMode.swift │ ├── CodeSystemSearchModifierCode.swift │ ├── CodeSystemSearchParamType.swift │ ├── CodeSystemServiceProvisionConditions.swift │ ├── CodeSystemSlicingRules.swift │ ├── CodeSystemSlotStatus.swift │ ├── CodeSystemSpecialArrangements.swift │ ├── CodeSystemSpecialValues.swift │ ├── CodeSystemSpecimenStatus.swift │ ├── CodeSystemStructureDefinitionKind.swift │ ├── CodeSystemSubscriptionChannelType.swift │ ├── CodeSystemSubscriptionStatus.swift │ ├── CodeSystemSubscriptionTag.swift │ ├── CodeSystemSubstanceCategoryCodes.swift │ ├── CodeSystemSupplyDeliveryStatus.swift │ ├── CodeSystemSupplyItemType.swift │ ├── CodeSystemSupplyRequestReason.swift │ ├── CodeSystemSupplyRequestStatus.swift │ ├── CodeSystemSupplyType.swift │ ├── CodeSystemSurfaceCodes.swift │ ├── CodeSystemTestScriptOperationCodes.swift │ ├── CodeSystemTimingAbbreviation.swift │ ├── CodeSystemTransactionMode.swift │ ├── CodeSystemUDICodes.swift │ ├── CodeSystemUSLABDiagnosticOrderEventCodes.swift │ ├── CodeSystemUnknownContentCode.swift │ ├── CodeSystemUse.swift │ ├── CodeSystemUslabObservationkind.swift │ ├── CodeSystemVaccinationProtocolDoseStatusCodes.swift │ ├── CodeSystemVaccinationProtocolDoseStatusReasonCodes.swift │ ├── CodeSystemVisionBase.swift │ ├── CodeSystemVisionEyes.swift │ ├── CodeSystemXDSRelationshipType.swift │ ├── CodeSystemXPathUsageType.swift │ ├── CodeableConcept.swift │ ├── Coding.swift │ ├── Communication.swift │ ├── CommunicationRequest.swift │ ├── Composition.swift │ ├── ConceptMap.swift │ ├── Condition.swift │ ├── Conformance.swift │ ├── ContactPoint.swift │ ├── Contract.swift │ ├── Count.swift │ ├── Coverage.swift │ ├── DataElement.swift │ ├── DateTime+NSDate.swift │ ├── DateTime.swift │ ├── DetectedIssue.swift │ ├── Device.swift │ ├── DeviceComponent.swift │ ├── DeviceMetric.swift │ ├── DeviceUseRequest.swift │ ├── DeviceUseStatement.swift │ ├── DiagnosticOrder.swift │ ├── DiagnosticReport.swift │ ├── Distance.swift │ ├── DocumentManifest.swift │ ├── DocumentReference.swift │ ├── DomainResource+Extensions.swift │ ├── DomainResource.swift │ ├── Duration.swift │ ├── Element+Extensions.swift │ ├── Element.swift │ ├── ElementDefinition.swift │ ├── EligibilityRequest.swift │ ├── EligibilityResponse.swift │ ├── Encounter.swift │ ├── EnrollmentRequest.swift │ ├── EnrollmentResponse.swift │ ├── EpisodeOfCare.swift │ ├── ExplanationOfBenefit.swift │ ├── Extension.swift │ ├── FHIRAbstractResource.swift │ ├── FHIRBool.swift │ ├── FHIRDate+NSDate.swift │ ├── FHIRDate.swift │ ├── FHIRDecimal.swift │ ├── FHIRInteger.swift │ ├── FHIRPositiveInteger.swift │ ├── FHIRPrimitive.swift │ ├── FHIRString.swift │ ├── FHIRTime+NSDate.swift │ ├── FHIRTime.swift │ ├── FHIRURI.swift │ ├── FHIRUnsignedInteger.swift │ ├── FamilyMemberHistory.swift │ ├── Flag.swift │ ├── Goal.swift │ ├── Group.swift │ ├── HealthcareService.swift │ ├── HumanName.swift │ ├── Identifier.swift │ ├── ImagingObjectSelection.swift │ ├── ImagingStudy.swift │ ├── Immunization.swift │ ├── ImmunizationRecommendation.swift │ ├── ImplementationGuide.swift │ ├── Instant+NSDate.swift │ ├── Instant.swift │ ├── InstantDate.swift │ ├── List.swift │ ├── Location.swift │ ├── Media.swift │ ├── Medication.swift │ ├── MedicationAdministration.swift │ ├── MedicationDispense.swift │ ├── MedicationOrder.swift │ ├── MedicationStatement.swift │ ├── MessageHeader.swift │ ├── Meta.swift │ ├── Money.swift │ ├── NamingSystem.swift │ ├── Narrative.swift │ ├── NutritionOrder.swift │ ├── Observation.swift │ ├── OperationDefinition.swift │ ├── OperationOutcome.swift │ ├── Order.swift │ ├── OrderResponse.swift │ ├── Organization.swift │ ├── Parameters.swift │ ├── Patient.swift │ ├── PaymentNotice.swift │ ├── PaymentReconciliation.swift │ ├── Period.swift │ ├── Person.swift │ ├── Practitioner.swift │ ├── Procedure.swift │ ├── ProcedureRequest.swift │ ├── ProcessRequest.swift │ ├── ProcessResponse.swift │ ├── Provenance.swift │ ├── Quantity.swift │ ├── Questionnaire.swift │ ├── QuestionnaireResponse.swift │ ├── Range.swift │ ├── Ratio.swift │ ├── Reference.swift │ ├── ReferralRequest.swift │ ├── RelatedPerson.swift │ ├── Resource.swift │ ├── ResourceProxy.swift │ ├── RiskAssessment.swift │ ├── SampledData.swift │ ├── Schedule.swift │ ├── SearchParameter.swift │ ├── Signature.swift │ ├── Slot.swift │ ├── Specimen.swift │ ├── StructureDefinition.swift │ ├── Subscription.swift │ ├── Substance.swift │ ├── SupplyDelivery.swift │ ├── SupplyRequest.swift │ ├── TestScript.swift │ ├── Timing.swift │ ├── ValueSet.swift │ └── VisionPrescription.swift ├── ModelsR4 │ ├── Account.swift │ ├── ActivityDefinition.swift │ ├── Address.swift │ ├── AdverseEvent.swift │ ├── Age.swift │ ├── AllergyIntolerance.swift │ ├── Annotation.swift │ ├── Appointment.swift │ ├── AppointmentResponse.swift │ ├── Attachment.swift │ ├── AuditEvent.swift │ ├── BackboneElement.swift │ ├── Base64Binary.swift │ ├── Basic.swift │ ├── Binary.swift │ ├── BiologicallyDerivedProduct.swift │ ├── BodyStructure.swift │ ├── Bundle.swift │ ├── Canonical.swift │ ├── CapabilityStatement.swift │ ├── CarePlan.swift │ ├── CareTeam.swift │ ├── CatalogEntry.swift │ ├── ChargeItem.swift │ ├── ChargeItemDefinition.swift │ ├── Claim.swift │ ├── ClaimResponse.swift │ ├── ClinicalImpression.swift │ ├── CodeSystem.swift │ ├── CodeSystemAbstractType.swift │ ├── CodeSystemAccountStatus.swift │ ├── CodeSystemActionCardinalityBehavior.swift │ ├── CodeSystemActionConditionKind.swift │ ├── CodeSystemActionGroupingBehavior.swift │ ├── CodeSystemActionParticipantType.swift │ ├── CodeSystemActionPrecheckBehavior.swift │ ├── CodeSystemActionRelationshipType.swift │ ├── CodeSystemActionRequiredBehavior.swift │ ├── CodeSystemActionSelectionBehavior.swift │ ├── CodeSystemActionType.swift │ ├── CodeSystemActivityDefinitionCategory.swift │ ├── CodeSystemAdditionalMaterialCodes.swift │ ├── CodeSystemAddressType.swift │ ├── CodeSystemAddressUse.swift │ ├── CodeSystemAdjudicationReasonCodes.swift │ ├── CodeSystemAdjudicationValueCodes.swift │ ├── CodeSystemAdministrativeGender.swift │ ├── CodeSystemAdmitSource.swift │ ├── CodeSystemAdverseEventActuality.swift │ ├── CodeSystemAdverseEventCategory.swift │ ├── CodeSystemAdverseEventCausalityAssessment.swift │ ├── CodeSystemAdverseEventCausalityMethod.swift │ ├── CodeSystemAdverseEventOutcome.swift │ ├── CodeSystemAdverseEventSeriousness.swift │ ├── CodeSystemAdverseEventSeverity.swift │ ├── CodeSystemAggregationMode.swift │ ├── CodeSystemAllergyIntoleranceCategory.swift │ ├── CodeSystemAllergyIntoleranceCertainty.swift │ ├── CodeSystemAllergyIntoleranceClinicalStatusCodes.swift │ ├── CodeSystemAllergyIntoleranceCriticality.swift │ ├── CodeSystemAllergyIntoleranceSeverity.swift │ ├── CodeSystemAllergyIntoleranceSubstanceExposureRisk.swift │ ├── CodeSystemAllergyIntoleranceType.swift │ ├── CodeSystemAllergyIntoleranceVerificationStatusCodes.swift │ ├── CodeSystemAnimalSpecies.swift │ ├── CodeSystemAppointmentStatus.swift │ ├── CodeSystemAssertionDirectionType.swift │ ├── CodeSystemAssertionOperatorType.swift │ ├── CodeSystemAssertionResponseTypes.swift │ ├── CodeSystemAuditEventAction.swift │ ├── CodeSystemAuditEventID.swift │ ├── CodeSystemBasicResourceTypes.swift │ ├── CodeSystemBenefitCostApplicability.swift │ ├── CodeSystemBenefitTermCodes.swift │ ├── CodeSystemBenefitTypeCodes.swift │ ├── CodeSystemBindingStrength.swift │ ├── CodeSystemBiologicallyDerivedProductCategory.swift │ ├── CodeSystemBiologicallyDerivedProductStatus.swift │ ├── CodeSystemBiologicallyDerivedProductStorageScale.swift │ ├── CodeSystemBundleType.swift │ ├── CodeSystemCanPushUpdates.swift │ ├── CodeSystemCanonicalStatusCodesForFHIRResources.swift │ ├── CodeSystemCapabilityStatementKind.swift │ ├── CodeSystemCarePlanActivityStatus.swift │ ├── CodeSystemCareTeamStatus.swift │ ├── CodeSystemCatalogEntryRelationType.swift │ ├── CodeSystemCatalogType.swift │ ├── CodeSystemCertaintySubcomponentRating.swift │ ├── CodeSystemCertaintySubcomponentType.swift │ ├── CodeSystemChargeItemStatus.swift │ ├── CodeSystemChoiceListOrientation.swift │ ├── CodeSystemClaimCareTeamRoleCodes.swift │ ├── CodeSystemClaimInformationCategoryCodes.swift │ ├── CodeSystemClaimItemTypeCodes.swift │ ├── CodeSystemClaimPayeeResourceType.swift │ ├── CodeSystemClaimProcessingCodes.swift │ ├── CodeSystemClaimTypeCodes.swift │ ├── CodeSystemCodeSearchSupport.swift │ ├── CodeSystemCodeSystemContentMode.swift │ ├── CodeSystemCodeSystemHierarchyMeaning.swift │ ├── CodeSystemCommonTags.swift │ ├── CodeSystemCommunicationCategory.swift │ ├── CodeSystemCommunicationNotDoneReason.swift │ ├── CodeSystemCommunicationTopic.swift │ ├── CodeSystemCompartmentType.swift │ ├── CodeSystemCompositeMeasureScoring.swift │ ├── CodeSystemCompositionAttestationMode.swift │ ├── CodeSystemCompositionStatus.swift │ ├── CodeSystemConceptMapEquivalence.swift │ ├── CodeSystemConceptMapGroupUnmappedMode.swift │ ├── CodeSystemConceptSubsumptionOutcome.swift │ ├── CodeSystemConditionCategoryCodes.swift │ ├── CodeSystemConditionClinicalStatusCodes.swift │ ├── CodeSystemConditionState.swift │ ├── CodeSystemConditionVerificationStatus.swift │ ├── CodeSystemConditionalDeleteStatus.swift │ ├── CodeSystemConditionalReadStatus.swift │ ├── CodeSystemConformanceExpectation.swift │ ├── CodeSystemConsentActionCodes.swift │ ├── CodeSystemConsentCategoryCodes.swift │ ├── CodeSystemConsentDataMeaning.swift │ ├── CodeSystemConsentPolicyRuleCodes.swift │ ├── CodeSystemConsentProvisionType.swift │ ├── CodeSystemConsentScopeCodes.swift │ ├── CodeSystemConsentState.swift │ ├── CodeSystemConstraintSeverity.swift │ ├── CodeSystemContactEntityType.swift │ ├── CodeSystemContactPointSystem.swift │ ├── CodeSystemContactPointUse.swift │ ├── CodeSystemContainerCap.swift │ ├── CodeSystemContractActionCodes.swift │ ├── CodeSystemContractActorRoleCodes.swift │ ├── CodeSystemContractContentDerivationCodes.swift │ ├── CodeSystemContractDataMeaning.swift │ ├── CodeSystemContractResourceActionStatusCodes.swift │ ├── CodeSystemContractResourceAssetAvailiabilityCodes.swift │ ├── CodeSystemContractResourceAssetContextCodes.swift │ ├── CodeSystemContractResourceAssetScopeCodes.swift │ ├── CodeSystemContractResourceAssetSubTypeCodes.swift │ ├── CodeSystemContractResourceAssetTypeCodes.swift │ ├── CodeSystemContractResourceDecisionModeCodes.swift │ ├── CodeSystemContractResourceDefinitionSubtypeCodes.swift │ ├── CodeSystemContractResourceDefinitionTypeCodes.swift │ ├── CodeSystemContractResourceExpirationTypeCodes.swift │ ├── CodeSystemContractResourceLegalStateCodes.swift │ ├── CodeSystemContractResourcePartyRoleCodes.swift │ ├── CodeSystemContractResourcePublicationStatusCodes.swift │ ├── CodeSystemContractResourceSecurityControlCodes.swift │ ├── CodeSystemContractResourceStatusCodes.swift │ ├── CodeSystemContractSignerTypeCodes.swift │ ├── CodeSystemContractSubtypeCodes.swift │ ├── CodeSystemContractTermSubtypeCodes.swift │ ├── CodeSystemContractTermTypeCodes.swift │ ├── CodeSystemContractTypeCodes.swift │ ├── CodeSystemContributorType.swift │ ├── CodeSystemCopyNumberEvent.swift │ ├── CodeSystemCoverageClassCodes.swift │ ├── CodeSystemCoverageCopayTypeCodes.swift │ ├── CodeSystemCoverageEligibilityResponseAuthSupportCodes.swift │ ├── CodeSystemCoverageSelfPayCodes.swift │ ├── CodeSystemDataAbsentReason.swift │ ├── CodeSystemDataType.swift │ ├── CodeSystemDaysOfWeek.swift │ ├── CodeSystemDefinitionResourceType.swift │ ├── CodeSystemDefinitionStatus.swift │ ├── CodeSystemDefinitionTopic.swift │ ├── CodeSystemDefinitionUseCodes.swift │ ├── CodeSystemDetectedIssueSeverity.swift │ ├── CodeSystemDeviceDefinitionParameterGroup.swift │ ├── CodeSystemDeviceMetricCalibrationState.swift │ ├── CodeSystemDeviceMetricCalibrationType.swift │ ├── CodeSystemDeviceMetricCategory.swift │ ├── CodeSystemDeviceMetricColor.swift │ ├── CodeSystemDeviceMetricOperationalStatus.swift │ ├── CodeSystemDeviceNameType.swift │ ├── CodeSystemDeviceUseStatementStatus.swift │ ├── CodeSystemDiagnosisRole.swift │ ├── CodeSystemDiagnosticReportStatus.swift │ ├── CodeSystemDiet.swift │ ├── CodeSystemDischargeDisposition.swift │ ├── CodeSystemDiscriminatorType.swift │ ├── CodeSystemDocumentMode.swift │ ├── CodeSystemDocumentReferenceStatus.swift │ ├── CodeSystemDocumentRelationshipType.swift │ ├── CodeSystemDoseAndRateType.swift │ ├── CodeSystemEffectEstimateType.swift │ ├── CodeSystemEligibilityRequestPurpose.swift │ ├── CodeSystemEligibilityResponsePurpose.swift │ ├── CodeSystemEnableWhenBehavior.swift │ ├── CodeSystemEncounterLocationStatus.swift │ ├── CodeSystemEncounterStatus.swift │ ├── CodeSystemEncounterType.swift │ ├── CodeSystemEndpointConnectionType.swift │ ├── CodeSystemEndpointPayloadType.swift │ ├── CodeSystemEndpointStatus.swift │ ├── CodeSystemEnteralFormulaAdditiveTypeCode.swift │ ├── CodeSystemEpisodeOfCareStatus.swift │ ├── CodeSystemEpisodeOfCareType.swift │ ├── CodeSystemEventCapabilityMode.swift │ ├── CodeSystemEventResourceType.swift │ ├── CodeSystemEventStatus.swift │ ├── CodeSystemEventTiming.swift │ ├── CodeSystemEvidenceVariableType.swift │ ├── CodeSystemEvidenceVariantState.swift │ ├── CodeSystemExampleClaimSubTypeCodes.swift │ ├── CodeSystemExampleCoverageFinancialExceptionCodes.swift │ ├── CodeSystemExampleDiagnosisOnAdmissionCodes.swift │ ├── CodeSystemExampleDiagnosisTypeCodes.swift │ ├── CodeSystemExampleMessageReasonCodes.swift │ ├── CodeSystemExampleOnsetTypeReasonCodes.swift │ ├── CodeSystemExamplePaymentTypeCodes.swift │ ├── CodeSystemExamplePharmacyServiceCodes.swift │ ├── CodeSystemExampleProcedureTypeCodes.swift │ ├── CodeSystemExampleProgramReasonCodes.swift │ ├── CodeSystemExampleRelatedClaimRelationshipCodes.swift │ ├── CodeSystemExampleScenarioActorType.swift │ ├── CodeSystemExampleServiceModifierCodes.swift │ ├── CodeSystemExampleServiceProductCodes.swift │ ├── CodeSystemExampleUseCodesForList.swift │ ├── CodeSystemExampleVisionPrescriptionProductCodes.swift │ ├── CodeSystemExceptionCodes.swift │ ├── CodeSystemExpansionParameterSource.swift │ ├── CodeSystemExpansionProcessingRule.swift │ ├── CodeSystemExplanationOfBenefitStatus.swift │ ├── CodeSystemExposureState.swift │ ├── CodeSystemExpressionLanguage.swift │ ├── CodeSystemExtensionContextType.swift │ ├── CodeSystemFHIRDefinedConceptProperties.swift │ ├── CodeSystemFHIRDeviceStatus.swift │ ├── CodeSystemFHIRDeviceStatusReason.swift │ ├── CodeSystemFHIRRestfulInteractions.swift │ ├── CodeSystemFHIRSubstanceStatus.swift │ ├── CodeSystemFailureAction.swift │ ├── CodeSystemFamilyHistoryAbsentReason.swift │ ├── CodeSystemFamilyHistoryStatus.swift │ ├── CodeSystemFeedingDeviceCodes.swift │ ├── CodeSystemFilterOperator.swift │ ├── CodeSystemFinancialResourceStatusCodes.swift │ ├── CodeSystemFinancialTaskCodes.swift │ ├── CodeSystemFinancialTaskInputTypeCodes.swift │ ├── CodeSystemFlagCategory.swift │ ├── CodeSystemFlagPriorityCodes.swift │ ├── CodeSystemFlagStatus.swift │ ├── CodeSystemGenderIdentity.swift │ ├── CodeSystemGenderStatus.swift │ ├── CodeSystemGoalAcceptanceStatus.swift │ ├── CodeSystemGoalAchievementStatus.swift │ ├── CodeSystemGoalCategory.swift │ ├── CodeSystemGoalLifecycleStatus.swift │ ├── CodeSystemGoalPriority.swift │ ├── CodeSystemGoalRelationshipType.swift │ ├── CodeSystemGoalStatusReason.swift │ ├── CodeSystemGraphCompartmentRule.swift │ ├── CodeSystemGraphCompartmentUse.swift │ ├── CodeSystemGroupMeasure.swift │ ├── CodeSystemGroupType.swift │ ├── CodeSystemGuidanceResponseStatus.swift │ ├── CodeSystemGuidePageGeneration.swift │ ├── CodeSystemGuideParameterCode.swift │ ├── CodeSystemHL7Workgroup.swift │ ├── CodeSystemHTTPVerb.swift │ ├── CodeSystemHandlingConditionSet.swift │ ├── CodeSystemHumanNameAssemblyOrder.swift │ ├── CodeSystemISO210892017HealthRecordLifecycleEvents.swift │ ├── CodeSystemIdentifierUse.swift │ ├── CodeSystemIdentityAssuranceLevel.swift │ ├── CodeSystemImagingStudyStatus.swift │ ├── CodeSystemImmunizationEvaluationDoseStatusCodes.swift │ ├── CodeSystemImmunizationEvaluationDoseStatusReasonCodes.swift │ ├── CodeSystemImmunizationFundingSource.swift │ ├── CodeSystemImmunizationOriginCodes.swift │ ├── CodeSystemImmunizationProgramEligibility.swift │ ├── CodeSystemImmunizationRecommendationStatusCodes.swift │ ├── CodeSystemImmunizationSubpotentReason.swift │ ├── CodeSystemImplantStatus.swift │ ├── CodeSystemIndicator.swift │ ├── CodeSystemInterventionCodes.swift │ ├── CodeSystemInvoicePriceComponentType.swift │ ├── CodeSystemInvoiceStatus.swift │ ├── CodeSystemIssueSeverity.swift │ ├── CodeSystemIssueType.swift │ ├── CodeSystemKnowledgeResourceType.swift │ ├── CodeSystemLanguagePreferenceType.swift │ ├── CodeSystemLibraryType.swift │ ├── CodeSystemLinkType.swift │ ├── CodeSystemLinkageType.swift │ ├── CodeSystemListEmptyReasons.swift │ ├── CodeSystemListMode.swift │ ├── CodeSystemListOrderCodes.swift │ ├── CodeSystemListStatus.swift │ ├── CodeSystemLocationMode.swift │ ├── CodeSystemLocationStatus.swift │ ├── CodeSystemLocationType.swift │ ├── CodeSystemMatchGrade.swift │ ├── CodeSystemMaxOccurs.swift │ ├── CodeSystemMeasureDataUsage.swift │ ├── CodeSystemMeasureImprovementNotation.swift │ ├── CodeSystemMeasurePopulationType.swift │ ├── CodeSystemMeasureReportStatus.swift │ ├── CodeSystemMeasureReportType.swift │ ├── CodeSystemMeasureScoring.swift │ ├── CodeSystemMeasureType.swift │ ├── CodeSystemMediaModality.swift │ ├── CodeSystemMediaType.swift │ ├── CodeSystemMedicationAdministrationCategoryCodes.swift │ ├── CodeSystemMedicationAdministrationPerformerFunctionCodes.swift │ ├── CodeSystemMedicationAdministrationStatusCodes.swift │ ├── CodeSystemMedicationDispenseCategoryCodes.swift │ ├── CodeSystemMedicationDispensePerformerFunctionCodes.swift │ ├── CodeSystemMedicationDispenseStatusCodes.swift │ ├── CodeSystemMedicationDispenseStatusReasonCodes.swift │ ├── CodeSystemMedicationKnowledgeCharacteristicCodes.swift │ ├── CodeSystemMedicationKnowledgePackageTypeCodes.swift │ ├── CodeSystemMedicationKnowledgeStatusCodes.swift │ ├── CodeSystemMedicationRequestCategoryCodes.swift │ ├── CodeSystemMedicationRequestCourseOfTherapyCodes.swift │ ├── CodeSystemMedicationRequestIntent.swift │ ├── CodeSystemMedicationRequestStatusReasonCodes.swift │ ├── CodeSystemMedicationStatementCategoryCodes.swift │ ├── CodeSystemMedicationStatementStatusCodes.swift │ ├── CodeSystemMedicationStatusCodes.swift │ ├── CodeSystemMedicationrequestStatus.swift │ ├── CodeSystemMessageSignificanceCategory.swift │ ├── CodeSystemMessageTransport.swift │ ├── CodeSystemMessageheaderResponseRequest.swift │ ├── CodeSystemMissingToothReasonCodes.swift │ ├── CodeSystemModifierTypeCodes.swift │ ├── CodeSystemNHINPurposeOfUse.swift │ ├── CodeSystemNameUse.swift │ ├── CodeSystemNamingSystemIdentifierType.swift │ ├── CodeSystemNamingSystemType.swift │ ├── CodeSystemNarrativeStatus.swift │ ├── CodeSystemNeed.swift │ ├── CodeSystemNetworkTypeCodes.swift │ ├── CodeSystemNoteType.swift │ ├── CodeSystemObservationCategoryCodes.swift │ ├── CodeSystemObservationDataType.swift │ ├── CodeSystemObservationRangeCategory.swift │ ├── CodeSystemObservationReferenceRangeMeaningCodes.swift │ ├── CodeSystemObservationStatus.swift │ ├── CodeSystemOperationKind.swift │ ├── CodeSystemOperationOutcomeCodes.swift │ ├── CodeSystemOperationParameterUse.swift │ ├── CodeSystemOrganizationAffiliationRole.swift │ ├── CodeSystemOrganizationType.swift │ ├── CodeSystemOrientationType.swift │ ├── CodeSystemParticipantRequired.swift │ ├── CodeSystemParticipantType.swift │ ├── CodeSystemParticipationStatus.swift │ ├── CodeSystemPayeeResourceType.swift │ ├── CodeSystemPaymentAdjustmentReasonCodes.swift │ ├── CodeSystemPaymentStatusCodes.swift │ ├── CodeSystemPaymentTypeCodes.swift │ ├── CodeSystemPerformerRoleCodes.swift │ ├── CodeSystemPlanDefinitionType.swift │ ├── CodeSystemPractitionerRoleCodes.swift │ ├── CodeSystemPractitionerSpecialty.swift │ ├── CodeSystemPrecisionEstimateType.swift │ ├── CodeSystemPrimarySourceType.swift │ ├── CodeSystemProcedureDeviceActionCodes.swift │ ├── CodeSystemProcedureProgressStatusCodes.swift │ ├── CodeSystemProcessPriorityCodes.swift │ ├── CodeSystemPropertyRepresentation.swift │ ├── CodeSystemPropertyType.swift │ ├── CodeSystemProvenanceEntityRole.swift │ ├── CodeSystemProvenanceParticipantRole.swift │ ├── CodeSystemProvenanceParticipantType.swift │ ├── CodeSystemPublicationStatus.swift │ ├── CodeSystemPushTypeAvailable.swift │ ├── CodeSystemQualityOfEvidenceRating.swift │ ├── CodeSystemQualityType.swift │ ├── CodeSystemQuantityComparator.swift │ ├── CodeSystemQuestionnaireItemOperator.swift │ ├── CodeSystemQuestionnaireItemType.swift │ ├── CodeSystemQuestionnaireItemUIControlCodes.swift │ ├── CodeSystemQuestionnaireItemUsageMode.swift │ ├── CodeSystemQuestionnaireResponseStatus.swift │ ├── CodeSystemQuestionnaireTextCategories.swift │ ├── CodeSystemReasonMedicationGivenCodes.swift │ ├── CodeSystemReferenceHandlingPolicy.swift │ ├── CodeSystemReferenceVersionRules.swift │ ├── CodeSystemReferralMethod.swift │ ├── CodeSystemRejectionCriterion.swift │ ├── CodeSystemRelatedArtifactType.swift │ ├── CodeSystemRepositoryType.swift │ ├── CodeSystemRequestIntent.swift │ ├── CodeSystemRequestPriority.swift │ ├── CodeSystemRequestResourceType.swift │ ├── CodeSystemRequestStatus.swift │ ├── CodeSystemResearchElementType.swift │ ├── CodeSystemResearchStudyObjectiveType.swift │ ├── CodeSystemResearchStudyPhase.swift │ ├── CodeSystemResearchStudyPrimaryPurposeType.swift │ ├── CodeSystemResearchStudyReasonStopped.swift │ ├── CodeSystemResearchStudyStatus.swift │ ├── CodeSystemResearchSubjectStatus.swift │ ├── CodeSystemResourceSecurityCategory.swift │ ├── CodeSystemResourceType.swift │ ├── CodeSystemResourceValidationMode.swift │ ├── CodeSystemResourceVersionPolicy.swift │ ├── CodeSystemResponseType.swift │ ├── CodeSystemRestfulCapabilityMode.swift │ ├── CodeSystemRestfulSecurityService.swift │ ├── CodeSystemRiskEstimateType.swift │ ├── CodeSystemRiskProbability.swift │ ├── CodeSystemSNOMEDCTReasonMedicationNotGivenCodes.swift │ ├── CodeSystemSearchComparator.swift │ ├── CodeSystemSearchEntryMode.swift │ ├── CodeSystemSearchModifierCode.swift │ ├── CodeSystemSearchParamType.swift │ ├── CodeSystemSequenceStatus.swift │ ├── CodeSystemSequenceType.swift │ ├── CodeSystemServiceProvisionConditions.swift │ ├── CodeSystemSlicingRules.swift │ ├── CodeSystemSlotStatus.swift │ ├── CodeSystemSmartCapabilities.swift │ ├── CodeSystemSortDirection.swift │ ├── CodeSystemSpecialArrangements.swift │ ├── CodeSystemSpecialValues.swift │ ├── CodeSystemSpecimenContainedPreference.swift │ ├── CodeSystemSpecimenStatus.swift │ ├── CodeSystemStandardsStatus.swift │ ├── CodeSystemStatus.swift │ ├── CodeSystemStrandType.swift │ ├── CodeSystemStrengthOfRecommendationRating.swift │ ├── CodeSystemStructureDefinitionKind.swift │ ├── CodeSystemStructureMapContextType.swift │ ├── CodeSystemStructureMapGroupTypeMode.swift │ ├── CodeSystemStructureMapInputMode.swift │ ├── CodeSystemStructureMapModelMode.swift │ ├── CodeSystemStructureMapSourceListMode.swift │ ├── CodeSystemStructureMapTargetListMode.swift │ ├── CodeSystemStructureMapTransform.swift │ ├── CodeSystemStudyType.swift │ ├── CodeSystemSubscriberRelationshipCodes.swift │ ├── CodeSystemSubscriptionChannelType.swift │ ├── CodeSystemSubscriptionStatus.swift │ ├── CodeSystemSubscriptionTag.swift │ ├── CodeSystemSubstanceCategoryCodes.swift │ ├── CodeSystemSupplyDeliveryStatus.swift │ ├── CodeSystemSupplyItemType.swift │ ├── CodeSystemSupplyRequestReason.swift │ ├── CodeSystemSupplyRequestStatus.swift │ ├── CodeSystemSupplyType.swift │ ├── CodeSystemSurfaceCodes.swift │ ├── CodeSystemSynthesisType.swift │ ├── CodeSystemTaskCode.swift │ ├── CodeSystemTaskIntent.swift │ ├── CodeSystemTaskStatus.swift │ ├── CodeSystemTemplateStatusCodeLifeCycle.swift │ ├── CodeSystemTestReportActionResult.swift │ ├── CodeSystemTestReportParticipantType.swift │ ├── CodeSystemTestReportResult.swift │ ├── CodeSystemTestReportStatus.swift │ ├── CodeSystemTestScriptOperationCode.swift │ ├── CodeSystemTestScriptProfileDestinationType.swift │ ├── CodeSystemTestScriptProfileOriginType.swift │ ├── CodeSystemTestScriptRequestMethodCode.swift │ ├── CodeSystemTransactionMode.swift │ ├── CodeSystemTriggerType.swift │ ├── CodeSystemTypeDerivationRule.swift │ ├── CodeSystemUDICodes.swift │ ├── CodeSystemUDIEntryType.swift │ ├── CodeSystemUnitTypeCodes.swift │ ├── CodeSystemUnknownContentCode.swift │ ├── CodeSystemUsageContextType.swift │ ├── CodeSystemUse.swift │ ├── CodeSystemValidationProcess.swift │ ├── CodeSystemValidationStatus.swift │ ├── CodeSystemValidationType.swift │ ├── CodeSystemVerificationresultCommunicationMethod.swift │ ├── CodeSystemVisionBase.swift │ ├── CodeSystemVisionEyes.swift │ ├── CodeSystemXPathUsageType.swift │ ├── CodeableConcept.swift │ ├── Coding.swift │ ├── Communication.swift │ ├── CommunicationRequest.swift │ ├── CompartmentDefinition.swift │ ├── Composition.swift │ ├── ConceptMap.swift │ ├── Condition.swift │ ├── Consent.swift │ ├── ContactDetail.swift │ ├── ContactPoint.swift │ ├── Contract.swift │ ├── Contributor.swift │ ├── Count.swift │ ├── Coverage.swift │ ├── CoverageEligibilityRequest.swift │ ├── CoverageEligibilityResponse.swift │ ├── DataRequirement.swift │ ├── DateTime+NSDate.swift │ ├── DateTime.swift │ ├── DetectedIssue.swift │ ├── Device.swift │ ├── DeviceDefinition.swift │ ├── DeviceMetric.swift │ ├── DeviceRequest.swift │ ├── DeviceUseStatement.swift │ ├── DiagnosticReport.swift │ ├── Distance.swift │ ├── DocumentManifest.swift │ ├── DocumentReference.swift │ ├── DomainResource+Extensions.swift │ ├── DomainResource.swift │ ├── Dosage.swift │ ├── Duration.swift │ ├── EffectEvidenceSynthesis.swift │ ├── Element+Extensions.swift │ ├── Element.swift │ ├── ElementDefinition.swift │ ├── Encounter.swift │ ├── Endpoint.swift │ ├── EnrollmentRequest.swift │ ├── EnrollmentResponse.swift │ ├── EpisodeOfCare.swift │ ├── EventDefinition.swift │ ├── Evidence.swift │ ├── EvidenceVariable.swift │ ├── ExampleScenario.swift │ ├── ExplanationOfBenefit.swift │ ├── Expression.swift │ ├── Extension.swift │ ├── FHIRAbstractResource.swift │ ├── FHIRBool.swift │ ├── FHIRDate+NSDate.swift │ ├── FHIRDate.swift │ ├── FHIRDecimal.swift │ ├── FHIRInteger.swift │ ├── FHIRPositiveInteger.swift │ ├── FHIRPrimitive.swift │ ├── FHIRString.swift │ ├── FHIRTime+NSDate.swift │ ├── FHIRTime.swift │ ├── FHIRURI.swift │ ├── FHIRUnsignedInteger.swift │ ├── FamilyMemberHistory.swift │ ├── Flag.swift │ ├── Goal.swift │ ├── GraphDefinition.swift │ ├── Group.swift │ ├── GuidanceResponse.swift │ ├── HealthcareService.swift │ ├── HumanName.swift │ ├── Identifier.swift │ ├── ImagingStudy.swift │ ├── Immunization.swift │ ├── ImmunizationEvaluation.swift │ ├── ImmunizationRecommendation.swift │ ├── ImplementationGuide.swift │ ├── Instant+NSDate.swift │ ├── Instant.swift │ ├── InstantDate.swift │ ├── InsurancePlan.swift │ ├── Invoice.swift │ ├── Library.swift │ ├── Linkage.swift │ ├── List.swift │ ├── Location.swift │ ├── MarketingStatus.swift │ ├── Measure.swift │ ├── MeasureReport.swift │ ├── Media.swift │ ├── Medication.swift │ ├── MedicationAdministration.swift │ ├── MedicationDispense.swift │ ├── MedicationKnowledge.swift │ ├── MedicationRequest.swift │ ├── MedicationStatement.swift │ ├── MedicinalProduct.swift │ ├── MedicinalProductAuthorization.swift │ ├── MedicinalProductContraindication.swift │ ├── MedicinalProductIndication.swift │ ├── MedicinalProductIngredient.swift │ ├── MedicinalProductInteraction.swift │ ├── MedicinalProductManufactured.swift │ ├── MedicinalProductPackaged.swift │ ├── MedicinalProductPharmaceutical.swift │ ├── MedicinalProductUndesirableEffect.swift │ ├── MessageDefinition.swift │ ├── MessageHeader.swift │ ├── Meta.swift │ ├── MolecularSequence.swift │ ├── Money.swift │ ├── NamingSystem.swift │ ├── Narrative.swift │ ├── NutritionOrder.swift │ ├── Observation.swift │ ├── ObservationDefinition.swift │ ├── OperationDefinition.swift │ ├── OperationOutcome.swift │ ├── Organization.swift │ ├── OrganizationAffiliation.swift │ ├── ParameterDefinition.swift │ ├── Parameters.swift │ ├── Patient.swift │ ├── PaymentNotice.swift │ ├── PaymentReconciliation.swift │ ├── Period.swift │ ├── Person.swift │ ├── PlanDefinition.swift │ ├── Population.swift │ ├── Practitioner.swift │ ├── PractitionerRole.swift │ ├── Procedure.swift │ ├── ProdCharacteristic.swift │ ├── ProductShelfLife.swift │ ├── Provenance.swift │ ├── Quantity.swift │ ├── Questionnaire.swift │ ├── QuestionnaireResponse.swift │ ├── Range.swift │ ├── Ratio.swift │ ├── Reference.swift │ ├── RelatedArtifact.swift │ ├── RelatedPerson.swift │ ├── RequestGroup.swift │ ├── ResearchDefinition.swift │ ├── ResearchElementDefinition.swift │ ├── ResearchStudy.swift │ ├── ResearchSubject.swift │ ├── Resource.swift │ ├── ResourceProxy.swift │ ├── RiskAssessment.swift │ ├── RiskEvidenceSynthesis.swift │ ├── SampledData.swift │ ├── Schedule.swift │ ├── SearchParameter.swift │ ├── ServiceRequest.swift │ ├── Signature.swift │ ├── Slot.swift │ ├── Specimen.swift │ ├── SpecimenDefinition.swift │ ├── StructureDefinition.swift │ ├── StructureMap.swift │ ├── Subscription.swift │ ├── Substance.swift │ ├── SubstanceAmount.swift │ ├── SubstanceNucleicAcid.swift │ ├── SubstancePolymer.swift │ ├── SubstanceProtein.swift │ ├── SubstanceReferenceInformation.swift │ ├── SubstanceSourceMaterial.swift │ ├── SubstanceSpecification.swift │ ├── SupplyDelivery.swift │ ├── SupplyRequest.swift │ ├── Task.swift │ ├── TerminologyCapabilities.swift │ ├── TestReport.swift │ ├── TestScript.swift │ ├── Timing.swift │ ├── TriggerDefinition.swift │ ├── UsageContext.swift │ ├── ValueSet.swift │ ├── VerificationResult.swift │ └── VisionPrescription.swift ├── ModelsR4B │ ├── Account.swift │ ├── ActivityDefinition.swift │ ├── Address.swift │ ├── AdministrableProductDefinition.swift │ ├── AdverseEvent.swift │ ├── Age.swift │ ├── AllergyIntolerance.swift │ ├── Annotation.swift │ ├── Appointment.swift │ ├── AppointmentResponse.swift │ ├── Attachment.swift │ ├── AuditEvent.swift │ ├── BackboneElement.swift │ ├── Base64Binary.swift │ ├── Basic.swift │ ├── Binary.swift │ ├── BiologicallyDerivedProduct.swift │ ├── BodyStructure.swift │ ├── Bundle.swift │ ├── Canonical.swift │ ├── CapabilityStatement.swift │ ├── CarePlan.swift │ ├── CareTeam.swift │ ├── CatalogEntry.swift │ ├── ChargeItem.swift │ ├── ChargeItemDefinition.swift │ ├── Citation.swift │ ├── Claim.swift │ ├── ClaimResponse.swift │ ├── ClinicalImpression.swift │ ├── ClinicalUseDefinition.swift │ ├── CodeSystem.swift │ ├── CodeSystemAbstractType.swift │ ├── CodeSystemAccountStatus.swift │ ├── CodeSystemActionCardinalityBehavior.swift │ ├── CodeSystemActionCode.swift │ ├── CodeSystemActionConditionKind.swift │ ├── CodeSystemActionGroupingBehavior.swift │ ├── CodeSystemActionParticipantType.swift │ ├── CodeSystemActionPrecheckBehavior.swift │ ├── CodeSystemActionReasonCode.swift │ ├── CodeSystemActionRelationshipType.swift │ ├── CodeSystemActionRequiredBehavior.swift │ ├── CodeSystemActionSelectionBehavior.swift │ ├── CodeSystemActionType.swift │ ├── CodeSystemAdditionalMonitoring.swift │ ├── CodeSystemAddressType.swift │ ├── CodeSystemAddressUse.swift │ ├── CodeSystemAdjudicationCodes.swift │ ├── CodeSystemAdjudicationReasonCodes.swift │ ├── CodeSystemAdministrativeGender.swift │ ├── CodeSystemAdmitSource.swift │ ├── CodeSystemAdverseEventActuality.swift │ ├── CodeSystemAdverseEventCategory.swift │ ├── CodeSystemAdverseEventCausalityAssessment.swift │ ├── CodeSystemAdverseEventCausalityMethod.swift │ ├── CodeSystemAdverseEventOutcome.swift │ ├── CodeSystemAdverseEventSeriousness.swift │ ├── CodeSystemAdverseEventSeverity.swift │ ├── CodeSystemAggregationMode.swift │ ├── CodeSystemAllergyIntoleranceCategory.swift │ ├── CodeSystemAllergyIntoleranceCertainty.swift │ ├── CodeSystemAllergyIntoleranceClinicalStatusCodes.swift │ ├── CodeSystemAllergyIntoleranceCriticality.swift │ ├── CodeSystemAllergyIntoleranceSeverity.swift │ ├── CodeSystemAllergyIntoleranceType.swift │ ├── CodeSystemAllergyIntoleranceVerificationStatusCodes.swift │ ├── CodeSystemAnimalSpecies.swift │ ├── CodeSystemAppointmentStatus.swift │ ├── CodeSystemArticleUrlType.swift │ ├── CodeSystemArtifactContributionInstanceType.swift │ ├── CodeSystemArtifactContributionType.swift │ ├── CodeSystemArtifactRelationshipType.swift │ ├── CodeSystemAssertionDirectionType.swift │ ├── CodeSystemAssertionOperatorType.swift │ ├── CodeSystemAssertionResponseTypes.swift │ ├── CodeSystemAuditEventAction.swift │ ├── CodeSystemAuditEventID.swift │ ├── CodeSystemBasicResourceTypes.swift │ ├── CodeSystemBenefitCostApplicability.swift │ ├── CodeSystemBenefitTermCodes.swift │ ├── CodeSystemBenefitTypeCodes.swift │ ├── CodeSystemBindingStrength.swift │ ├── CodeSystemBiologicallyDerivedProductCategory.swift │ ├── CodeSystemBiologicallyDerivedProductStatus.swift │ ├── CodeSystemBiologicallyDerivedProductStorageScale.swift │ ├── CodeSystemBundleType.swift │ ├── CodeSystemCanPushUpdates.swift │ ├── CodeSystemCanonicalStatusCodesForFHIRResources.swift │ ├── CodeSystemCapabilityStatementKind.swift │ ├── CodeSystemCarePlanActivityStatus.swift │ ├── CodeSystemCareTeamStatus.swift │ ├── CodeSystemCatalogEntryRelationType.swift │ ├── CodeSystemCatalogType.swift │ ├── CodeSystemCharacteristicCombination.swift │ ├── CodeSystemCharacteristicMethod.swift │ ├── CodeSystemChargeItemStatus.swift │ ├── CodeSystemCitationClassificationType.swift │ ├── CodeSystemCitationStatusType.swift │ ├── CodeSystemCitationSummaryStyle.swift │ ├── CodeSystemCitedArtifactAbstractType.swift │ ├── CodeSystemCitedArtifactClassificationType.swift │ ├── CodeSystemCitedArtifactPartType.swift │ ├── CodeSystemCitedArtifactStatusType.swift │ ├── CodeSystemCitedMedium.swift │ ├── CodeSystemClaimCareTeamRoleCodes.swift │ ├── CodeSystemClaimInformationCategoryCodes.swift │ ├── CodeSystemClaimTypeCodes.swift │ ├── CodeSystemClinicalUseDefinitionCategory.swift │ ├── CodeSystemClinicalUseDefinitionType.swift │ ├── CodeSystemCodeSearchSupport.swift │ ├── CodeSystemCodeSystemContentMode.swift │ ├── CodeSystemCodeSystemHierarchyMeaning.swift │ ├── CodeSystemCommunicationCategory.swift │ ├── CodeSystemCommunicationNotDoneReason.swift │ ├── CodeSystemCommunicationTopic.swift │ ├── CodeSystemCompartmentType.swift │ ├── CodeSystemCompositeMeasureScoring.swift │ ├── CodeSystemCompositionAttestationMode.swift │ ├── CodeSystemCompositionStatus.swift │ ├── CodeSystemConceptMapEquivalence.swift │ ├── CodeSystemConceptMapGroupUnmappedMode.swift │ ├── CodeSystemConceptSubsumptionOutcome.swift │ ├── CodeSystemConditionCategoryCodes.swift │ ├── CodeSystemConditionClinicalStatusCodes.swift │ ├── CodeSystemConditionVerificationStatus.swift │ ├── CodeSystemConditionalDeleteStatus.swift │ ├── CodeSystemConditionalReadStatus.swift │ ├── CodeSystemConsentActionCodes.swift │ ├── CodeSystemConsentCategoryCodes.swift │ ├── CodeSystemConsentDataMeaning.swift │ ├── CodeSystemConsentProvisionType.swift │ ├── CodeSystemConsentScopeCodes.swift │ ├── CodeSystemConsentState.swift │ ├── CodeSystemConstraintSeverity.swift │ ├── CodeSystemContactEntityType.swift │ ├── CodeSystemContactPointSystem.swift │ ├── CodeSystemContactPointUse.swift │ ├── CodeSystemContainerCap.swift │ ├── CodeSystemContractActionCodes.swift │ ├── CodeSystemContractActorRoleCodes.swift │ ├── CodeSystemContractSignerTypeCodes.swift │ ├── CodeSystemContractSubtypeCodes.swift │ ├── CodeSystemContractTermSubtypeCodes.swift │ ├── CodeSystemContractTermTypeCodes.swift │ ├── CodeSystemContractTypeCodes.swift │ ├── CodeSystemContributorRole.swift │ ├── CodeSystemContributorSummarySource.swift │ ├── CodeSystemContributorSummaryStyle.swift │ ├── CodeSystemContributorSummaryType.swift │ ├── CodeSystemContributorType.swift │ ├── CodeSystemCoverageClassCodes.swift │ ├── CodeSystemCoverageCoPayTypeCodes.swift │ ├── CodeSystemCoverageEligibilityResponseAuthSupportCodes.swift │ ├── CodeSystemCriteriaNotExistsBehavior.swift │ ├── CodeSystemDataAbsentReason.swift │ ├── CodeSystemDataType.swift │ ├── CodeSystemDaysOfWeek.swift │ ├── CodeSystemDefinitionResourceType.swift │ ├── CodeSystemDefinitionStatus.swift │ ├── CodeSystemDefinitionTopic.swift │ ├── CodeSystemDefinitionUseCodes.swift │ ├── CodeSystemDetectedIssueSeverity.swift │ ├── CodeSystemDeviceMetricCalibrationState.swift │ ├── CodeSystemDeviceMetricCalibrationType.swift │ ├── CodeSystemDeviceMetricCategory.swift │ ├── CodeSystemDeviceMetricColor.swift │ ├── CodeSystemDeviceMetricOperationalStatus.swift │ ├── CodeSystemDeviceNameType.swift │ ├── CodeSystemDeviceUseStatementStatus.swift │ ├── CodeSystemDiagnosisRole.swift │ ├── CodeSystemDiagnosticReportStatus.swift │ ├── CodeSystemDiet.swift │ ├── CodeSystemDigitalMediaType.swift │ ├── CodeSystemDischargeDisposition.swift │ ├── CodeSystemDiscriminatorType.swift │ ├── CodeSystemDocumentMode.swift │ ├── CodeSystemDocumentReferenceStatus.swift │ ├── CodeSystemDocumentRelationshipType.swift │ ├── CodeSystemEligibilityRequestPurpose.swift │ ├── CodeSystemEligibilityResponsePurpose.swift │ ├── CodeSystemEnableWhenBehavior.swift │ ├── CodeSystemEncounterLocationStatus.swift │ ├── CodeSystemEncounterStatus.swift │ ├── CodeSystemEncounterType.swift │ ├── CodeSystemEndpointConnectionType.swift │ ├── CodeSystemEndpointPayloadType.swift │ ├── CodeSystemEndpointStatus.swift │ ├── CodeSystemEnteralFormulaAdditiveTypeCode.swift │ ├── CodeSystemEpisodeOfCareStatus.swift │ ├── CodeSystemEpisodeOfCareType.swift │ ├── CodeSystemEventCapabilityMode.swift │ ├── CodeSystemEventResourceType.swift │ ├── CodeSystemEventTiming.swift │ ├── CodeSystemEvidenceCertaintyRating.swift │ ├── CodeSystemEvidenceCertaintyType.swift │ ├── CodeSystemEvidenceClassifier.swift │ ├── CodeSystemEvidenceDirectness.swift │ ├── CodeSystemEvidenceReportType.swift │ ├── CodeSystemEvidenceVariableHandling.swift │ ├── CodeSystemEvidenceVariableRole.swift │ ├── CodeSystemEvidenceVariableType.swift │ ├── CodeSystemExampleClaimSubTypeCodes.swift │ ├── CodeSystemExampleCoverageFinancialExceptionsCode.swift │ ├── CodeSystemExampleDiagnosisOnAdmissionCodes.swift │ ├── CodeSystemExampleDiagnosisTypeCodes.swift │ ├── CodeSystemExampleMessageReasonCodes.swift │ ├── CodeSystemExamplePaymentTypeCodes.swift │ ├── CodeSystemExampleProcedureTypeCodes.swift │ ├── CodeSystemExampleProgramCodes.swift │ ├── CodeSystemExampleRelatedClaimRelationshipCodes.swift │ ├── CodeSystemExampleScenarioActorType.swift │ ├── CodeSystemExampleUseCodesForList.swift │ ├── CodeSystemExampleVisionPrescriptionProductCodes.swift │ ├── CodeSystemExceptionCodes.swift │ ├── CodeSystemExplanationOfBenefitStatus.swift │ ├── CodeSystemExpressionLanguage.swift │ ├── CodeSystemExtensionContextType.swift │ ├── CodeSystemFHIRDefinedConceptProperties.swift │ ├── CodeSystemFHIRDeviceStatus.swift │ ├── CodeSystemFHIRDeviceStatusReason.swift │ ├── CodeSystemFHIRPathTypes.swift │ ├── CodeSystemFHIRRestfulInteractions.swift │ ├── CodeSystemFHIRSubstanceStatus.swift │ ├── CodeSystemFailureAction.swift │ ├── CodeSystemFamilyHistoryAbsentReason.swift │ ├── CodeSystemFamilyHistoryStatus.swift │ ├── CodeSystemFeedingDeviceCodes.swift │ ├── CodeSystemFilterOperator.swift │ ├── CodeSystemFinancialResourceStatusCodes.swift │ ├── CodeSystemFlagCategory.swift │ ├── CodeSystemFlagPriorityCodes.swift │ ├── CodeSystemFlagStatus.swift │ ├── CodeSystemFocusCharacteristicCode.swift │ ├── CodeSystemGenderStatus.swift │ ├── CodeSystemGeneticObservationSecondaryFindings.swift │ ├── CodeSystemGoalAchievementStatus.swift │ ├── CodeSystemGoalCategory.swift │ ├── CodeSystemGoalLifecycleStatus.swift │ ├── CodeSystemGoalPriority.swift │ ├── CodeSystemGraphCompartmentRule.swift │ ├── CodeSystemGraphCompartmentUse.swift │ ├── CodeSystemGroupMeasure.swift │ ├── CodeSystemGroupType.swift │ ├── CodeSystemGuidanceResponseStatus.swift │ ├── CodeSystemGuidePageGeneration.swift │ ├── CodeSystemGuideParameterCode.swift │ ├── CodeSystemHTTPVerb.swift │ ├── CodeSystemHandlingConditionSet.swift │ ├── CodeSystemHumanNameAssemblyOrder.swift │ ├── CodeSystemISO210892017HealthRecordLifecycleEvents.swift │ ├── CodeSystemIdentifierUse.swift │ ├── CodeSystemIdentityAssuranceLevel.swift │ ├── CodeSystemImagingStudyStatus.swift │ ├── CodeSystemImmunizationEvaluationDoseStatusCodes.swift │ ├── CodeSystemImmunizationEvaluationDoseStatusReasonCodes.swift │ ├── CodeSystemImmunizationEventFundingSource.swift │ ├── CodeSystemImmunizationEventOrigin.swift │ ├── CodeSystemImmunizationEventProgramEligibility.swift │ ├── CodeSystemImmunizationEventSubpotentReason.swift │ ├── CodeSystemImmunizationRecommendationStatusCodes.swift │ ├── CodeSystemIndicator.swift │ ├── CodeSystemIngredientFunction.swift │ ├── CodeSystemIngredientManufacturerRole.swift │ ├── CodeSystemInteractionIncidence.swift │ ├── CodeSystemInteractionType.swift │ ├── CodeSystemInvoicePriceComponentType.swift │ ├── CodeSystemInvoiceStatus.swift │ ├── CodeSystemIssueSeverity.swift │ ├── CodeSystemIssueType.swift │ ├── CodeSystemKnowledgeResourceType.swift │ ├── CodeSystemLibraryType.swift │ ├── CodeSystemLinkType.swift │ ├── CodeSystemLinkageType.swift │ ├── CodeSystemListEmptyReasons.swift │ ├── CodeSystemListMode.swift │ ├── CodeSystemListOrderCodes.swift │ ├── CodeSystemListStatus.swift │ ├── CodeSystemLocationMode.swift │ ├── CodeSystemLocationStatus.swift │ ├── CodeSystemLocationType.swift │ ├── CodeSystemMeasureDataUsage.swift │ ├── CodeSystemMeasureGroupExample.swift │ ├── CodeSystemMeasureImprovementNotation.swift │ ├── CodeSystemMeasurePopulationType.swift │ ├── CodeSystemMeasureReportStatus.swift │ ├── CodeSystemMeasureReportStratifierValueExample.swift │ ├── CodeSystemMeasureReportType.swift │ ├── CodeSystemMeasureScoring.swift │ ├── CodeSystemMeasureStratifierExample.swift │ ├── CodeSystemMeasureSupplementalDataExample.swift │ ├── CodeSystemMeasureType.swift │ ├── CodeSystemMediaSubType.swift │ ├── CodeSystemMedicationAdministrationCategoryCodes.swift │ ├── CodeSystemMedicationAdministrationPerformerFunctionCodes.swift │ ├── CodeSystemMedicationAdministrationStatusCodes.swift │ ├── CodeSystemMedicationDispenseCategoryCodes.swift │ ├── CodeSystemMedicationDispensePerformerFunctionCodes.swift │ ├── CodeSystemMedicationDispenseStatusCodes.swift │ ├── CodeSystemMedicationDispenseStatusReasonCodes.swift │ ├── CodeSystemMedicationKnowledgeCharacteristicCodes.swift │ ├── CodeSystemMedicationKnowledgePackageTypeCodes.swift │ ├── CodeSystemMedicationKnowledgeStatusCodes.swift │ ├── CodeSystemMedicationRequestCategoryCodes.swift │ ├── CodeSystemMedicationRequestCourseOfTherapyCodes.swift │ ├── CodeSystemMedicationRequestIntentCodes.swift │ ├── CodeSystemMedicationRequestStatusCodes.swift │ ├── CodeSystemMedicationRequestStatusReasonCodes.swift │ ├── CodeSystemMedicationStatementCategoryCodes.swift │ ├── CodeSystemMedicationStatementStatusCodes.swift │ ├── CodeSystemMedicationStatusCodes.swift │ ├── CodeSystemMedicinalProductDomain.swift │ ├── CodeSystemMedicinalProductType.swift │ ├── CodeSystemMessageSignificanceCategory.swift │ ├── CodeSystemMessageTransport.swift │ ├── CodeSystemMessageheaderResponseRequest.swift │ ├── CodeSystemMissingToothReasonCodes.swift │ ├── CodeSystemModifierTypeCodes.swift │ ├── CodeSystemNHINPurposeOfUse.swift │ ├── CodeSystemNameUse.swift │ ├── CodeSystemNamingSystemIdentifierType.swift │ ├── CodeSystemNamingSystemType.swift │ ├── CodeSystemNarrativeStatus.swift │ ├── CodeSystemNeed.swift │ ├── CodeSystemNetworkTypeCodes.swift │ ├── CodeSystemNoteType.swift │ ├── CodeSystemNutritionProductStatus.swift │ ├── CodeSystemObservationCategoryCodes.swift │ ├── CodeSystemObservationDataType.swift │ ├── CodeSystemObservationRangeCategory.swift │ ├── CodeSystemObservationReferenceRangeMeaningCodes.swift │ ├── CodeSystemObservationStatus.swift │ ├── CodeSystemOperationKind.swift │ ├── CodeSystemOperationParameterUse.swift │ ├── CodeSystemOrganizationAffiliationRole.swift │ ├── CodeSystemOrganizationType.swift │ ├── CodeSystemOrientationType.swift │ ├── CodeSystemPackageCharacteristic.swift │ ├── CodeSystemPackageType.swift │ ├── CodeSystemParticipantRequired.swift │ ├── CodeSystemParticipantType.swift │ ├── CodeSystemParticipationStatus.swift │ ├── CodeSystemPaymentAdjustmentReasonCodes.swift │ ├── CodeSystemPaymentStatusCodes.swift │ ├── CodeSystemPaymentTypeCodes.swift │ ├── CodeSystemPediatricUse.swift │ ├── CodeSystemPlanDefinitionType.swift │ ├── CodeSystemPolicyCodes.swift │ ├── CodeSystemPrimarySourceType.swift │ ├── CodeSystemPriorityCodes.swift │ ├── CodeSystemProcedureDeviceActionCodes.swift │ ├── CodeSystemProcedureProgressStatusCodes.swift │ ├── CodeSystemProductConfidentiality.swift │ ├── CodeSystemProductContactType.swift │ ├── CodeSystemProductCrossReferenceType.swift │ ├── CodeSystemProductIntendedUse.swift │ ├── CodeSystemProductNamePartType.swift │ ├── CodeSystemProductNameType.swift │ ├── CodeSystemPropertyRepresentation.swift │ ├── CodeSystemPropertyType.swift │ ├── CodeSystemProvenanceEntityRole.swift │ ├── CodeSystemProvenanceParticipantRole.swift │ ├── CodeSystemProvenanceParticipantType.swift │ ├── CodeSystemPublicationStatus.swift │ ├── CodeSystemPublishedInType.swift │ ├── CodeSystemPushTypeAvailable.swift │ ├── CodeSystemQualityOfEvidenceRating.swift │ ├── CodeSystemQualityType.swift │ ├── CodeSystemQuantityComparator.swift │ ├── CodeSystemQuestionnaireItemOperator.swift │ ├── CodeSystemQuestionnaireItemType.swift │ ├── CodeSystemQuestionnaireItemUIControlCodes.swift │ ├── CodeSystemQuestionnaireResponseStatus.swift │ ├── CodeSystemQuestionnaireTextCategories.swift │ ├── CodeSystemReasonMedicationGivenCodes.swift │ ├── CodeSystemReasonMedicationNotGivenCodes.swift │ ├── CodeSystemReferenceHandlingPolicy.swift │ ├── CodeSystemReferenceVersionRules.swift │ ├── CodeSystemReferralMethod.swift │ ├── CodeSystemRegulatedAuthorizationBasis.swift │ ├── CodeSystemRegulatedAuthorizationType.swift │ ├── CodeSystemRejectionCriterion.swift │ ├── CodeSystemRelatedArtifactType.swift │ ├── CodeSystemReportRelationshipType.swift │ ├── CodeSystemReportSectionType.swift │ ├── CodeSystemRepositoryType.swift │ ├── CodeSystemRequestResourceType.swift │ ├── CodeSystemResearchElementType.swift │ ├── CodeSystemResearchStudyObjectiveType.swift │ ├── CodeSystemResearchStudyPhase.swift │ ├── CodeSystemResearchStudyPrimaryPurposeType.swift │ ├── CodeSystemResearchStudyReasonStopped.swift │ ├── CodeSystemResearchStudyStatus.swift │ ├── CodeSystemResearchSubjectStatus.swift │ ├── CodeSystemResourceSecurityCategory.swift │ ├── CodeSystemResourceType.swift │ ├── CodeSystemResourceValidationMode.swift │ ├── CodeSystemResourceVersionPolicy.swift │ ├── CodeSystemResponseType.swift │ ├── CodeSystemRestfulCapabilityMode.swift │ ├── CodeSystemRestfulSecurityService.swift │ ├── CodeSystemRiskProbability.swift │ ├── CodeSystemSearchComparator.swift │ ├── CodeSystemSearchEntryMode.swift │ ├── CodeSystemSearchModifierCode.swift │ ├── CodeSystemSearchParamType.swift │ ├── CodeSystemSequenceType.swift │ ├── CodeSystemServiceProvisionConditions.swift │ ├── CodeSystemSlicingRules.swift │ ├── CodeSystemSlotStatus.swift │ ├── CodeSystemSmartCapabilities.swift │ ├── CodeSystemSortDirection.swift │ ├── CodeSystemSpecialArrangements.swift │ ├── CodeSystemSpecialMeasures.swift │ ├── CodeSystemSpecialValues.swift │ ├── CodeSystemSpecimenContainedPreference.swift │ ├── CodeSystemSpecimenStatus.swift │ ├── CodeSystemStandardsStatus.swift │ ├── CodeSystemStatisticModelCode.swift │ ├── CodeSystemStatus.swift │ ├── CodeSystemStrandType.swift │ ├── CodeSystemStrengthOfRecommendationRating.swift │ ├── CodeSystemStructureDefinitionKind.swift │ ├── CodeSystemStructureMapContextType.swift │ ├── CodeSystemStructureMapGroupTypeMode.swift │ ├── CodeSystemStructureMapInputMode.swift │ ├── CodeSystemStructureMapModelMode.swift │ ├── CodeSystemStructureMapSourceListMode.swift │ ├── CodeSystemStructureMapTargetListMode.swift │ ├── CodeSystemStructureMapTransform.swift │ ├── CodeSystemStudyType.swift │ ├── CodeSystemSubscriberRelationshipCodes.swift │ ├── CodeSystemSubscriptionChannelType.swift │ ├── CodeSystemSubscriptionNotificationType.swift │ ├── CodeSystemSubscriptionSearchModifer.swift │ ├── CodeSystemSubscriptionStatusCodes.swift │ ├── CodeSystemSubstanceAmountType.swift │ ├── CodeSystemSubstanceGrade.swift │ ├── CodeSystemSubstanceNameAuthority.swift │ ├── CodeSystemSubstanceNameDomain.swift │ ├── CodeSystemSubstanceNameType.swift │ ├── CodeSystemSubstanceOpticalActivity.swift │ ├── CodeSystemSubstanceRelationshipType.swift │ ├── CodeSystemSubstanceRepresentationFormat.swift │ ├── CodeSystemSubstanceRepresentationType.swift │ ├── CodeSystemSubstanceSourceMaterialGenus.swift │ ├── CodeSystemSubstanceSourceMaterialPart.swift │ ├── CodeSystemSubstanceSourceMaterialSpecies.swift │ ├── CodeSystemSubstanceSourceMaterialType.swift │ ├── CodeSystemSubstanceStereochemistry.swift │ ├── CodeSystemSubstanceStructureTechnique.swift │ ├── CodeSystemSubstanceWeightMethod.swift │ ├── CodeSystemSubstanceWeightType.swift │ ├── CodeSystemSupplyDeliveryStatus.swift │ ├── CodeSystemSupplyItemType.swift │ ├── CodeSystemSupplyRequestReason.swift │ ├── CodeSystemSupplyRequestStatus.swift │ ├── CodeSystemSupplyType.swift │ ├── CodeSystemSurfaceCodes.swift │ ├── CodeSystemSynthesisType.swift │ ├── CodeSystemTaskCode.swift │ ├── CodeSystemTaskIntent.swift │ ├── CodeSystemTaskStatus.swift │ ├── CodeSystemTemplateStatusCodeLifeCycle.swift │ ├── CodeSystemTestReportActionResult.swift │ ├── CodeSystemTestReportParticipantType.swift │ ├── CodeSystemTestReportResult.swift │ ├── CodeSystemTestReportStatus.swift │ ├── CodeSystemTestScriptOperationCodes.swift │ ├── CodeSystemTestScriptProfileDestinationTypes.swift │ ├── CodeSystemTestScriptProfileOriginTypes.swift │ ├── CodeSystemTestScriptRequestMethodCode.swift │ ├── CodeSystemTitleType.swift │ ├── CodeSystemTriggerType.swift │ ├── CodeSystemTypeDerivationRule.swift │ ├── CodeSystemUDIEntryType.swift │ ├── CodeSystemUndesirablEffectFrequency.swift │ ├── CodeSystemUnitTypeCodes.swift │ ├── CodeSystemUsageContextType.swift │ ├── CodeSystemUse.swift │ ├── CodeSystemValidationProcess.swift │ ├── CodeSystemValidationStatus.swift │ ├── CodeSystemValidationType.swift │ ├── CodeSystemVerificationresultCommunicationMethod.swift │ ├── CodeSystemVisionBase.swift │ ├── CodeSystemVisionEyes.swift │ ├── CodeSystemWarningType.swift │ ├── CodeSystemXPathUsageType.swift │ ├── CodeableConcept.swift │ ├── CodeableReference.swift │ ├── Coding.swift │ ├── Communication.swift │ ├── CommunicationRequest.swift │ ├── CompartmentDefinition.swift │ ├── Composition.swift │ ├── ConceptMap.swift │ ├── Condition.swift │ ├── Consent.swift │ ├── ContactDetail.swift │ ├── ContactPoint.swift │ ├── Contract.swift │ ├── Contributor.swift │ ├── Count.swift │ ├── Coverage.swift │ ├── CoverageEligibilityRequest.swift │ ├── CoverageEligibilityResponse.swift │ ├── DataRequirement.swift │ ├── DateTime+NSDate.swift │ ├── DateTime.swift │ ├── DetectedIssue.swift │ ├── Device.swift │ ├── DeviceDefinition.swift │ ├── DeviceMetric.swift │ ├── DeviceRequest.swift │ ├── DeviceUseStatement.swift │ ├── DiagnosticReport.swift │ ├── Distance.swift │ ├── DocumentManifest.swift │ ├── DocumentReference.swift │ ├── DomainResource+Extensions.swift │ ├── DomainResource.swift │ ├── Dosage.swift │ ├── Duration.swift │ ├── Element+Extensions.swift │ ├── Element.swift │ ├── ElementDefinition.swift │ ├── Encounter.swift │ ├── Endpoint.swift │ ├── EnrollmentRequest.swift │ ├── EnrollmentResponse.swift │ ├── EpisodeOfCare.swift │ ├── EventDefinition.swift │ ├── Evidence.swift │ ├── EvidenceReport.swift │ ├── EvidenceVariable.swift │ ├── ExampleScenario.swift │ ├── ExplanationOfBenefit.swift │ ├── Expression.swift │ ├── Extension.swift │ ├── FHIRAbstractResource.swift │ ├── FHIRBool.swift │ ├── FHIRDate+NSDate.swift │ ├── FHIRDate.swift │ ├── FHIRDecimal.swift │ ├── FHIRInteger.swift │ ├── FHIRPositiveInteger.swift │ ├── FHIRPrimitive.swift │ ├── FHIRString.swift │ ├── FHIRTime+NSDate.swift │ ├── FHIRTime.swift │ ├── FHIRURI.swift │ ├── FHIRUnsignedInteger.swift │ ├── FamilyMemberHistory.swift │ ├── Flag.swift │ ├── Goal.swift │ ├── GraphDefinition.swift │ ├── Group.swift │ ├── GuidanceResponse.swift │ ├── HealthcareService.swift │ ├── HumanName.swift │ ├── Identifier.swift │ ├── ImagingStudy.swift │ ├── Immunization.swift │ ├── ImmunizationEvaluation.swift │ ├── ImmunizationRecommendation.swift │ ├── ImplementationGuide.swift │ ├── Ingredient.swift │ ├── Instant+NSDate.swift │ ├── Instant.swift │ ├── InstantDate.swift │ ├── InsurancePlan.swift │ ├── Invoice.swift │ ├── Library.swift │ ├── Linkage.swift │ ├── List.swift │ ├── Location.swift │ ├── ManufacturedItemDefinition.swift │ ├── MarketingStatus.swift │ ├── Measure.swift │ ├── MeasureReport.swift │ ├── Media.swift │ ├── Medication.swift │ ├── MedicationAdministration.swift │ ├── MedicationDispense.swift │ ├── MedicationKnowledge.swift │ ├── MedicationRequest.swift │ ├── MedicationStatement.swift │ ├── MedicinalProductDefinition.swift │ ├── MessageDefinition.swift │ ├── MessageHeader.swift │ ├── Meta.swift │ ├── MolecularSequence.swift │ ├── Money.swift │ ├── NamingSystem.swift │ ├── Narrative.swift │ ├── NutritionOrder.swift │ ├── NutritionProduct.swift │ ├── Observation.swift │ ├── ObservationDefinition.swift │ ├── OperationDefinition.swift │ ├── OperationOutcome.swift │ ├── Organization.swift │ ├── OrganizationAffiliation.swift │ ├── PackagedProductDefinition.swift │ ├── ParameterDefinition.swift │ ├── Parameters.swift │ ├── Patient.swift │ ├── PaymentNotice.swift │ ├── PaymentReconciliation.swift │ ├── Period.swift │ ├── Person.swift │ ├── PlanDefinition.swift │ ├── Population.swift │ ├── Practitioner.swift │ ├── PractitionerRole.swift │ ├── Procedure.swift │ ├── ProdCharacteristic.swift │ ├── ProductShelfLife.swift │ ├── Provenance.swift │ ├── Quantity.swift │ ├── Questionnaire.swift │ ├── QuestionnaireResponse.swift │ ├── Range.swift │ ├── Ratio.swift │ ├── RatioRange.swift │ ├── Reference.swift │ ├── RegulatedAuthorization.swift │ ├── RelatedArtifact.swift │ ├── RelatedPerson.swift │ ├── RequestGroup.swift │ ├── ResearchDefinition.swift │ ├── ResearchElementDefinition.swift │ ├── ResearchStudy.swift │ ├── ResearchSubject.swift │ ├── Resource.swift │ ├── ResourceProxy.swift │ ├── RiskAssessment.swift │ ├── SampledData.swift │ ├── Schedule.swift │ ├── SearchParameter.swift │ ├── ServiceRequest.swift │ ├── Signature.swift │ ├── Slot.swift │ ├── Specimen.swift │ ├── SpecimenDefinition.swift │ ├── StructureDefinition.swift │ ├── StructureMap.swift │ ├── Subscription.swift │ ├── SubscriptionStatus.swift │ ├── SubscriptionTopic.swift │ ├── Substance.swift │ ├── SubstanceDefinition.swift │ ├── SupplyDelivery.swift │ ├── SupplyRequest.swift │ ├── Task.swift │ ├── TerminologyCapabilities.swift │ ├── TestReport.swift │ ├── TestScript.swift │ ├── Timing.swift │ ├── TriggerDefinition.swift │ ├── UsageContext.swift │ ├── ValueSet.swift │ ├── VerificationResult.swift │ └── VisionPrescription.swift ├── ModelsR5 │ ├── Account.swift │ ├── ActivityDefinition.swift │ ├── ActorDefinition.swift │ ├── Address.swift │ ├── AdministrableProductDefinition.swift │ ├── AdverseEvent.swift │ ├── Age.swift │ ├── AllergyIntolerance.swift │ ├── Annotation.swift │ ├── Appointment.swift │ ├── AppointmentResponse.swift │ ├── ArtifactAssessment.swift │ ├── Attachment.swift │ ├── AuditEvent.swift │ ├── Availability.swift │ ├── BackboneElement.swift │ ├── BackboneType.swift │ ├── Base.swift │ ├── Base64Binary.swift │ ├── Basic.swift │ ├── Binary.swift │ ├── BiologicallyDerivedProduct.swift │ ├── BiologicallyDerivedProductDispense.swift │ ├── BodyStructure.swift │ ├── Bundle.swift │ ├── Canonical.swift │ ├── CapabilityStatement.swift │ ├── CarePlan.swift │ ├── CareTeam.swift │ ├── ChargeItem.swift │ ├── ChargeItemDefinition.swift │ ├── Citation.swift │ ├── Claim.swift │ ├── ClaimResponse.swift │ ├── ClinicalImpression.swift │ ├── ClinicalUseDefinition.swift │ ├── CodeSystem.swift │ ├── CodeSystemAccountAggregate.swift │ ├── CodeSystemAccountRelationship.swift │ ├── CodeSystemAccountStatus.swift │ ├── CodeSystemActionCardinalityBehavior.swift │ ├── CodeSystemActionCode.swift │ ├── CodeSystemActionConditionKind.swift │ ├── CodeSystemActionGroupingBehavior.swift │ ├── CodeSystemActionParticipantFunction.swift │ ├── CodeSystemActionParticipantType.swift │ ├── CodeSystemActionPrecheckBehavior.swift │ ├── CodeSystemActionReasonCode.swift │ ├── CodeSystemActionRelationshipType.swift │ ├── CodeSystemActionRequiredBehavior.swift │ ├── CodeSystemActionSelectionBehavior.swift │ ├── CodeSystemAdditionalMonitoring.swift │ ├── CodeSystemAddressType.swift │ ├── CodeSystemAddressUse.swift │ ├── CodeSystemAdministrationSubPotentReason.swift │ ├── CodeSystemAdministrativeGender.swift │ ├── CodeSystemAdverseEventActuality.swift │ ├── CodeSystemAggregationMode.swift │ ├── CodeSystemAllergyIntoleranceCategory.swift │ ├── CodeSystemAllergyIntoleranceCriticality.swift │ ├── CodeSystemAllergyIntoleranceSeverity.swift │ ├── CodeSystemAllergyIntoleranceType.swift │ ├── CodeSystemAppointmentStatus.swift │ ├── CodeSystemArtifactAssessmentDisposition.swift │ ├── CodeSystemArtifactAssessmentInformationType.swift │ ├── CodeSystemArtifactAssessmentWorkflowStatus.swift │ ├── CodeSystemArtifactContributionInstanceType.swift │ ├── CodeSystemArtifactContributionType.swift │ ├── CodeSystemArtifactUrlClassifier.swift │ ├── CodeSystemAssertionDirectionType.swift │ ├── CodeSystemAssertionManualCompletionType.swift │ ├── CodeSystemAssertionOperatorType.swift │ ├── CodeSystemAssertionResponseTypes.swift │ ├── CodeSystemAuditEventAction.swift │ ├── CodeSystemAuditEventSeverity.swift │ ├── CodeSystemBindingStrength.swift │ ├── CodeSystemBiologicallyDerivedProductCategory.swift │ ├── CodeSystemBiologicallyDerivedProductCodes.swift │ ├── CodeSystemBiologicallyDerivedProductDispenseMatchStatus.swift │ ├── CodeSystemBiologicallyDerivedProductDispenseOriginRelationship.swift │ ├── CodeSystemBiologicallyDerivedProductDispensePerformerFunction.swift │ ├── CodeSystemBiologicallyDerivedProductDispenseStatus.swift │ ├── CodeSystemBiologicallyDerivedProductStatus.swift │ ├── CodeSystemBundleType.swift │ ├── CodeSystemCapabilityStatementKind.swift │ ├── CodeSystemCareTeamStatus.swift │ ├── CodeSystemCharacteristicCombination.swift │ ├── CodeSystemCharacteristicOffset.swift │ ├── CodeSystemChargeItemStatus.swift │ ├── CodeSystemCitationClassificationType.swift │ ├── CodeSystemCitationStatusType.swift │ ├── CodeSystemCitationSummaryStyle.swift │ ├── CodeSystemCitedArtifactAbstractType.swift │ ├── CodeSystemCitedArtifactClassificationType.swift │ ├── CodeSystemCitedArtifactPartType.swift │ ├── CodeSystemCitedArtifactStatusType.swift │ ├── CodeSystemCitedMedium.swift │ ├── CodeSystemClaimAdjudicationDecisionCodes.swift │ ├── CodeSystemClaimProcessingCodes.swift │ ├── CodeSystemClaimProcessingOutcomeCodes.swift │ ├── CodeSystemClinicalUseDefinitionCategory.swift │ ├── CodeSystemClinicalUseDefinitionType.swift │ ├── CodeSystemCodeSearchSupport.swift │ ├── CodeSystemCodeSystemContentMode.swift │ ├── CodeSystemCodeSystemHierarchyMeaning.swift │ ├── CodeSystemColorCodes.swift │ ├── CodeSystemCompartmentType.swift │ ├── CodeSystemCompositionAttestationMode.swift │ ├── CodeSystemCompositionStatus.swift │ ├── CodeSystemConceptMapAttributeType.swift │ ├── CodeSystemConceptMapGroupUnmappedMode.swift │ ├── CodeSystemConceptMapPropertyType.swift │ ├── CodeSystemConceptMapRelationship.swift │ ├── CodeSystemConditionPreconditionType.swift │ ├── CodeSystemConditionQuestionnairePurpose.swift │ ├── CodeSystemConditionalDeleteStatus.swift │ ├── CodeSystemConditionalReadStatus.swift │ ├── CodeSystemConsentDataMeaning.swift │ ├── CodeSystemConsentProvisionType.swift │ ├── CodeSystemConsentState.swift │ ├── CodeSystemConstraintSeverity.swift │ ├── CodeSystemContactPointSystem.swift │ ├── CodeSystemContactPointUse.swift │ ├── CodeSystemContributorRole.swift │ ├── CodeSystemContributorSummarySource.swift │ ├── CodeSystemContributorSummaryStyle.swift │ ├── CodeSystemContributorSummaryType.swift │ ├── CodeSystemContributorType.swift │ ├── CodeSystemCriteriaNotExistsBehavior.swift │ ├── CodeSystemDatesEventTypeCodes.swift │ ├── CodeSystemDaysOfWeek.swift │ ├── CodeSystemDefinitionMethod.swift │ ├── CodeSystemDetectedIssueSeverity.swift │ ├── CodeSystemDetectedIssueStatus.swift │ ├── CodeSystemDeviceAssociationStatus.swift │ ├── CodeSystemDeviceAssociationStatusReason.swift │ ├── CodeSystemDeviceCorrectiveActionScope.swift │ ├── CodeSystemDeviceDefinitionRelationType.swift │ ├── CodeSystemDeviceDispenseStatusCodes.swift │ ├── CodeSystemDeviceDispenseStatusReasonCodes.swift │ ├── CodeSystemDeviceMetricCalibrationState.swift │ ├── CodeSystemDeviceMetricCalibrationType.swift │ ├── CodeSystemDeviceMetricCategory.swift │ ├── CodeSystemDeviceMetricOperationalStatus.swift │ ├── CodeSystemDeviceNameType.swift │ ├── CodeSystemDeviceProductionIdentifierInUDI.swift │ ├── CodeSystemDeviceRegulatoryIdentifierType.swift │ ├── CodeSystemDeviceUsageAdherenceCode.swift │ ├── CodeSystemDeviceUsageAdherenceReason.swift │ ├── CodeSystemDeviceUsageStatus.swift │ ├── CodeSystemDiagnosticReportStatus.swift │ ├── CodeSystemDiscriminatorType.swift │ ├── CodeSystemDocumentMode.swift │ ├── CodeSystemDocumentReferenceStatus.swift │ ├── CodeSystemDocumentRelationshipType.swift │ ├── CodeSystemETSISignatureTypeCodes.swift │ ├── CodeSystemEligibilityOutcome.swift │ ├── CodeSystemEligibilityRequestPurpose.swift │ ├── CodeSystemEligibilityResponsePurpose.swift │ ├── CodeSystemEnableWhenBehavior.swift │ ├── CodeSystemEncounterDiagnosisUse.swift │ ├── CodeSystemEncounterLocationStatus.swift │ ├── CodeSystemEncounterReasonUse.swift │ ├── CodeSystemEncounterStatus.swift │ ├── CodeSystemEndpointEnvironment.swift │ ├── CodeSystemEndpointStatus.swift │ ├── CodeSystemEnrollmentOutcome.swift │ ├── CodeSystemEpisodeOfCareStatus.swift │ ├── CodeSystemEventCapabilityMode.swift │ ├── CodeSystemEventTiming.swift │ ├── CodeSystemEvidenceCertaintyRating.swift │ ├── CodeSystemEvidenceCertaintyType.swift │ ├── CodeSystemEvidenceClassifier.swift │ ├── CodeSystemEvidenceReportType.swift │ ├── CodeSystemEvidenceVariableEvent.swift │ ├── CodeSystemEvidenceVariableHandling.swift │ ├── CodeSystemExampleScenarioActorType.swift │ ├── CodeSystemExplanationOfBenefitStatus.swift │ ├── CodeSystemExtensionContextType.swift │ ├── CodeSystemFHIRDeviceAssociationOperationStatus.swift │ ├── CodeSystemFHIRDeviceAvailabilityStatus.swift │ ├── CodeSystemFHIRDeviceCategory.swift │ ├── CodeSystemFHIRDeviceOperationMode.swift │ ├── CodeSystemFHIRDeviceSpecializationCategory.swift │ ├── CodeSystemFHIRDeviceStatus.swift │ ├── CodeSystemFHIRFormatType.swift │ ├── CodeSystemFHIROldTypes.swift │ ├── CodeSystemFHIRPathTypesCodeSystem.swift │ ├── CodeSystemFHIRRestfulInteractions.swift │ ├── CodeSystemFHIRSafetyCheckListEntries.swift │ ├── CodeSystemFHIRSubstanceStatus.swift │ ├── CodeSystemFamilyHistoryStatus.swift │ ├── CodeSystemFilterOperator.swift │ ├── CodeSystemFinancialResourceStatusCodes.swift │ ├── CodeSystemFlagStatus.swift │ ├── CodeSystemFocusCharacteristicCode.swift │ ├── CodeSystemFormularyItemStatusCodes.swift │ ├── CodeSystemGoalLifecycleStatus.swift │ ├── CodeSystemGraphCompartmentRule.swift │ ├── CodeSystemGraphCompartmentUse.swift │ ├── CodeSystemGroupMembershipBasis.swift │ ├── CodeSystemGroupType.swift │ ├── CodeSystemGuidanceResponseStatus.swift │ ├── CodeSystemGuidePageGeneration.swift │ ├── CodeSystemHTTPVerb.swift │ ├── CodeSystemIdentifierUse.swift │ ├── CodeSystemIdentityAssuranceLevel.swift │ ├── CodeSystemImagingSelection2DGraphicType.swift │ ├── CodeSystemImagingSelection3DGraphicType.swift │ ├── CodeSystemImagingSelectionStatus.swift │ ├── CodeSystemImagingStudyStatus.swift │ ├── CodeSystemIndicator.swift │ ├── CodeSystemIngredientFunction.swift │ ├── CodeSystemIngredientManufacturerRole.swift │ ├── CodeSystemInteractionIncidence.swift │ ├── CodeSystemInteractionType.swift │ ├── CodeSystemInventoryCountType.swift │ ├── CodeSystemInventoryItemNameType.swift │ ├── CodeSystemInventoryItemStatus.swift │ ├── CodeSystemInventoryReportStatus.swift │ ├── CodeSystemInvoiceStatus.swift │ ├── CodeSystemIssueSeverity.swift │ ├── CodeSystemIssueType.swift │ ├── CodeSystemKind.swift │ ├── CodeSystemKnowledgeRepresentationLevel.swift │ ├── CodeSystemLinkRelationTypes.swift │ ├── CodeSystemLinkType.swift │ ├── CodeSystemLinkageType.swift │ ├── CodeSystemListMode.swift │ ├── CodeSystemListStatus.swift │ ├── CodeSystemLocationCharacteristic.swift │ ├── CodeSystemLocationMode.swift │ ├── CodeSystemLocationStatus.swift │ ├── CodeSystemMeasureAggregateMethod.swift │ ├── CodeSystemMeasureReportStatus.swift │ ├── CodeSystemMeasureReportType.swift │ ├── CodeSystemMedDispenseAdminLocationCodes.swift │ ├── CodeSystemMedicationAdministrationStatusCodes.swift │ ├── CodeSystemMedicationCostCategoryCodes.swift │ ├── CodeSystemMedicationDispenseStatusCodes.swift │ ├── CodeSystemMedicationDispenseStatusReasonCodes.swift │ ├── CodeSystemMedicationDoseAid.swift │ ├── CodeSystemMedicationIngredientStrengthCodes.swift │ ├── CodeSystemMedicationIntendedPerformerRole.swift │ ├── CodeSystemMedicationKnowledgeStatusCodes.swift │ ├── CodeSystemMedicationRequestIntentCodes.swift │ ├── CodeSystemMedicationRequestStatusCodes.swift │ ├── CodeSystemMedicationStatementAdherenceCodes.swift │ ├── CodeSystemMedicationStatementStatusCodes.swift │ ├── CodeSystemMedicationStatusCodes.swift │ ├── CodeSystemMedicinalProductDomain.swift │ ├── CodeSystemMedicinalProductType.swift │ ├── CodeSystemMessageSignificanceCategory.swift │ ├── CodeSystemMessageTransport.swift │ ├── CodeSystemMessageheaderResponseRequest.swift │ ├── CodeSystemNHINPurposeOfUse.swift │ ├── CodeSystemNameUse.swift │ ├── CodeSystemNamingSystemIdentifierType.swift │ ├── CodeSystemNamingSystemType.swift │ ├── CodeSystemNarrativeStatus.swift │ ├── CodeSystemNoteType.swift │ ├── CodeSystemNutritionProductStatus.swift │ ├── CodeSystemObservationDataType.swift │ ├── CodeSystemObservationRangeCategory.swift │ ├── CodeSystemObservationReferenceRangeNormalValue.swift │ ├── CodeSystemObservationStatus.swift │ ├── CodeSystemOperationKind.swift │ ├── CodeSystemOperationParameterScope.swift │ ├── CodeSystemOperationParameterUse.swift │ ├── CodeSystemOrganizationAffiliationRole.swift │ ├── CodeSystemOrientationType.swift │ ├── CodeSystemPackageType.swift │ ├── CodeSystemParticipationStatus.swift │ ├── CodeSystemPaymentIssuerTypeCodes.swift │ ├── CodeSystemPaymentKindCodes.swift │ ├── CodeSystemPediatricUse.swift │ ├── CodeSystemPermissionRuleCombining.swift │ ├── CodeSystemPermissionStatus.swift │ ├── CodeSystemPriceComponentType.swift │ ├── CodeSystemProcedureDeviceActionCodes.swift │ ├── CodeSystemProductConfidentiality.swift │ ├── CodeSystemProductContactType.swift │ ├── CodeSystemProductCrossReferenceType.swift │ ├── CodeSystemProductIntendedUse.swift │ ├── CodeSystemProductNamePartType.swift │ ├── CodeSystemProductNameType.swift │ ├── CodeSystemProductStatus.swift │ ├── CodeSystemPropertyRepresentation.swift │ ├── CodeSystemPropertyType.swift │ ├── CodeSystemProvenanceEntityRole.swift │ ├── CodeSystemPublicationStatus.swift │ ├── CodeSystemPublishedInType.swift │ ├── CodeSystemQuantityComparator.swift │ ├── CodeSystemQuestionnaireItemOperator.swift │ ├── CodeSystemQuestionnaireItemType.swift │ ├── CodeSystemQuestionnaireResponseStatus.swift │ ├── CodeSystemReasonMedicationNotGivenCodes.swift │ ├── CodeSystemReferenceHandlingPolicy.swift │ ├── CodeSystemReferenceVersionRules.swift │ ├── CodeSystemRegulatedAuthorizationBasis.swift │ ├── CodeSystemRegulatedAuthorizationType.swift │ ├── CodeSystemRelatedArtifactType.swift │ ├── CodeSystemRelatedArtifactTypeExpanded.swift │ ├── CodeSystemRemittanceOutcome.swift │ ├── CodeSystemReportRelationshipType.swift │ ├── CodeSystemReportSectionType.swift │ ├── CodeSystemResearchStudyArmType.swift │ ├── CodeSystemResearchStudyClassifiers.swift │ ├── CodeSystemResearchStudyFocusType.swift │ ├── CodeSystemResearchStudyObjectiveType.swift │ ├── CodeSystemResearchStudyPartyOrganizationType.swift │ ├── CodeSystemResearchStudyPartyRole.swift │ ├── CodeSystemResearchStudyPhase.swift │ ├── CodeSystemResearchStudyPrimaryPurposeType.swift │ ├── CodeSystemResearchStudyReasonStopped.swift │ ├── CodeSystemResearchStudyStatus.swift │ ├── CodeSystemResourceType.swift │ ├── CodeSystemResourceVersionPolicy.swift │ ├── CodeSystemResponseType.swift │ ├── CodeSystemRestfulCapabilityMode.swift │ ├── CodeSystemRestfulSecurityService.swift │ ├── CodeSystemSearchComparator.swift │ ├── CodeSystemSearchEntryMode.swift │ ├── CodeSystemSearchModifierCode.swift │ ├── CodeSystemSearchParamType.swift │ ├── CodeSystemSearchProcessingModeType.swift │ ├── CodeSystemSequenceType.swift │ ├── CodeSystemSlicingRules.swift │ ├── CodeSystemSlotStatus.swift │ ├── CodeSystemSortDirection.swift │ ├── CodeSystemSpecialMeasures.swift │ ├── CodeSystemSpecimenCombined.swift │ ├── CodeSystemSpecimenContainedPreference.swift │ ├── CodeSystemSpecimenRole.swift │ ├── CodeSystemSpecimenStatus.swift │ ├── CodeSystemStatisticModelCode.swift │ ├── CodeSystemStatus.swift │ ├── CodeSystemStrandType.swift │ ├── CodeSystemStructureDefinitionKind.swift │ ├── CodeSystemStructureMapGroupTypeMode.swift │ ├── CodeSystemStructureMapInputMode.swift │ ├── CodeSystemStructureMapModelMode.swift │ ├── CodeSystemStructureMapSourceListMode.swift │ ├── CodeSystemStructureMapTargetListMode.swift │ ├── CodeSystemStructureMapTransform.swift │ ├── CodeSystemStudyDesign.swift │ ├── CodeSystemSubscriptionNotificationType.swift │ ├── CodeSystemSubscriptionPayloadContent.swift │ ├── CodeSystemSubscriptionStatusCodes.swift │ ├── CodeSystemSubstanceAmountType.swift │ ├── CodeSystemSubstanceForm.swift │ ├── CodeSystemSubstanceGrade.swift │ ├── CodeSystemSubstanceNameAuthority.swift │ ├── CodeSystemSubstanceNameDomain.swift │ ├── CodeSystemSubstanceNameType.swift │ ├── CodeSystemSubstanceOpticalActivity.swift │ ├── CodeSystemSubstanceRelationshipType.swift │ ├── CodeSystemSubstanceRepresentationFormat.swift │ ├── CodeSystemSubstanceRepresentationType.swift │ ├── CodeSystemSubstanceSourceMaterialGenus.swift │ ├── CodeSystemSubstanceSourceMaterialPart.swift │ ├── CodeSystemSubstanceSourceMaterialSpecies.swift │ ├── CodeSystemSubstanceSourceMaterialType.swift │ ├── CodeSystemSubstanceStereochemistry.swift │ ├── CodeSystemSubstanceStructureTechnique.swift │ ├── CodeSystemSubstanceWeightMethod.swift │ ├── CodeSystemSubstanceWeightType.swift │ ├── CodeSystemSupplyDeliveryStatus.swift │ ├── CodeSystemSupplyDeliverySupplyItemType.swift │ ├── CodeSystemSupplyRequestStatus.swift │ ├── CodeSystemTaskCode.swift │ ├── CodeSystemTaskIntent.swift │ ├── CodeSystemTaskStatus.swift │ ├── CodeSystemTaskStatusReason.swift │ ├── CodeSystemTemplateStatusCodeLifeCycle.swift │ ├── CodeSystemTestReportActionResult.swift │ ├── CodeSystemTestReportParticipantType.swift │ ├── CodeSystemTestReportResult.swift │ ├── CodeSystemTestReportStatus.swift │ ├── CodeSystemTestScriptRequestMethodCode.swift │ ├── CodeSystemTestScriptScopeConformanceType.swift │ ├── CodeSystemTestScriptScopePhaseType.swift │ ├── CodeSystemTherapyRelationshipType.swift │ ├── CodeSystemTimingAbbreviation.swift │ ├── CodeSystemTitleType.swift │ ├── CodeSystemTransportCode.swift │ ├── CodeSystemTransportIntent.swift │ ├── CodeSystemTransportStatus.swift │ ├── CodeSystemTransportStatusReason.swift │ ├── CodeSystemTriggerType.swift │ ├── CodeSystemTypeDerivationRule.swift │ ├── CodeSystemUDIEntryType.swift │ ├── CodeSystemUndesirablEffectFrequency.swift │ ├── CodeSystemUsageContextAgreementScope.swift │ ├── CodeSystemUse.swift │ ├── CodeSystemVersionAlgorithm.swift │ ├── CodeSystemVisionBase.swift │ ├── CodeSystemVisionEyes.swift │ ├── CodeSystemWarningType.swift │ ├── CodeSystemWeekOfMonth.swift │ ├── CodeableConcept.swift │ ├── CodeableReference.swift │ ├── Coding.swift │ ├── Communication.swift │ ├── CommunicationRequest.swift │ ├── CompartmentDefinition.swift │ ├── Composition.swift │ ├── ConceptMap.swift │ ├── Condition.swift │ ├── ConditionDefinition.swift │ ├── Consent.swift │ ├── ContactDetail.swift │ ├── ContactPoint.swift │ ├── Contract.swift │ ├── Contributor.swift │ ├── Count.swift │ ├── Coverage.swift │ ├── CoverageEligibilityRequest.swift │ ├── CoverageEligibilityResponse.swift │ ├── DataRequirement.swift │ ├── DataType.swift │ ├── DateTime+NSDate.swift │ ├── DateTime.swift │ ├── DetectedIssue.swift │ ├── Device.swift │ ├── DeviceAssociation.swift │ ├── DeviceDefinition.swift │ ├── DeviceDispense.swift │ ├── DeviceMetric.swift │ ├── DeviceRequest.swift │ ├── DeviceUsage.swift │ ├── DiagnosticReport.swift │ ├── Distance.swift │ ├── DocumentReference.swift │ ├── DomainResource+Extensions.swift │ ├── DomainResource.swift │ ├── Dosage.swift │ ├── Duration.swift │ ├── Element+Extensions.swift │ ├── Element.swift │ ├── ElementDefinition.swift │ ├── Encounter.swift │ ├── EncounterHistory.swift │ ├── Endpoint.swift │ ├── EnrollmentRequest.swift │ ├── EnrollmentResponse.swift │ ├── EpisodeOfCare.swift │ ├── EventDefinition.swift │ ├── Evidence.swift │ ├── EvidenceReport.swift │ ├── EvidenceVariable.swift │ ├── ExampleScenario.swift │ ├── ExplanationOfBenefit.swift │ ├── Expression.swift │ ├── ExtendedContactDetail.swift │ ├── Extension.swift │ ├── FHIRAbstractResource.swift │ ├── FHIRBool.swift │ ├── FHIRDate+NSDate.swift │ ├── FHIRDate.swift │ ├── FHIRDecimal.swift │ ├── FHIRInteger.swift │ ├── FHIRInteger64.swift │ ├── FHIRPositiveInteger.swift │ ├── FHIRPrimitive.swift │ ├── FHIRString.swift │ ├── FHIRTime+NSDate.swift │ ├── FHIRTime.swift │ ├── FHIRURI.swift │ ├── FHIRUnsignedInteger.swift │ ├── FamilyMemberHistory.swift │ ├── Flag.swift │ ├── FormularyItem.swift │ ├── GenomicStudy.swift │ ├── Goal.swift │ ├── GraphDefinition.swift │ ├── Group.swift │ ├── GuidanceResponse.swift │ ├── HealthcareService.swift │ ├── HumanName.swift │ ├── Identifier.swift │ ├── ImagingSelection.swift │ ├── ImagingStudy.swift │ ├── Immunization.swift │ ├── ImmunizationEvaluation.swift │ ├── ImmunizationRecommendation.swift │ ├── ImplementationGuide.swift │ ├── Ingredient.swift │ ├── Instant+NSDate.swift │ ├── Instant.swift │ ├── InstantDate.swift │ ├── InsurancePlan.swift │ ├── InventoryItem.swift │ ├── InventoryReport.swift │ ├── Invoice.swift │ ├── Library.swift │ ├── Linkage.swift │ ├── List.swift │ ├── Location.swift │ ├── ManufacturedItemDefinition.swift │ ├── MarketingStatus.swift │ ├── Measure.swift │ ├── MeasureReport.swift │ ├── Medication.swift │ ├── MedicationAdministration.swift │ ├── MedicationDispense.swift │ ├── MedicationKnowledge.swift │ ├── MedicationRequest.swift │ ├── MedicationStatement.swift │ ├── MedicinalProductDefinition.swift │ ├── MessageDefinition.swift │ ├── MessageHeader.swift │ ├── Meta.swift │ ├── MolecularSequence.swift │ ├── MonetaryComponent.swift │ ├── Money.swift │ ├── NamingSystem.swift │ ├── Narrative.swift │ ├── NutritionIntake.swift │ ├── NutritionOrder.swift │ ├── NutritionProduct.swift │ ├── Observation.swift │ ├── ObservationDefinition.swift │ ├── OperationDefinition.swift │ ├── OperationOutcome.swift │ ├── Organization.swift │ ├── OrganizationAffiliation.swift │ ├── PackagedProductDefinition.swift │ ├── ParameterDefinition.swift │ ├── Parameters.swift │ ├── Patient.swift │ ├── PaymentNotice.swift │ ├── PaymentReconciliation.swift │ ├── Period.swift │ ├── Permission.swift │ ├── Person.swift │ ├── PlanDefinition.swift │ ├── Practitioner.swift │ ├── PractitionerRole.swift │ ├── PrimitiveType.swift │ ├── Procedure.swift │ ├── ProductShelfLife.swift │ ├── Provenance.swift │ ├── Quantity.swift │ ├── Questionnaire.swift │ ├── QuestionnaireResponse.swift │ ├── Range.swift │ ├── Ratio.swift │ ├── RatioRange.swift │ ├── Reference.swift │ ├── RegulatedAuthorization.swift │ ├── RelatedArtifact.swift │ ├── RelatedPerson.swift │ ├── RequestOrchestration.swift │ ├── Requirements.swift │ ├── ResearchStudy.swift │ ├── ResearchSubject.swift │ ├── Resource.swift │ ├── ResourceProxy.swift │ ├── RiskAssessment.swift │ ├── SampledData.swift │ ├── Schedule.swift │ ├── SearchParameter.swift │ ├── ServiceRequest.swift │ ├── Signature.swift │ ├── Slot.swift │ ├── Specimen.swift │ ├── SpecimenDefinition.swift │ ├── StructureDefinition.swift │ ├── StructureMap.swift │ ├── Subscription.swift │ ├── SubscriptionStatus.swift │ ├── SubscriptionTopic.swift │ ├── Substance.swift │ ├── SubstanceDefinition.swift │ ├── SubstanceNucleicAcid.swift │ ├── SubstancePolymer.swift │ ├── SubstanceProtein.swift │ ├── SubstanceReferenceInformation.swift │ ├── SubstanceSourceMaterial.swift │ ├── SupplyDelivery.swift │ ├── SupplyRequest.swift │ ├── Task.swift │ ├── TerminologyCapabilities.swift │ ├── TestPlan.swift │ ├── TestReport.swift │ ├── TestScript.swift │ ├── Timing.swift │ ├── Transport.swift │ ├── TriggerDefinition.swift │ ├── UsageContext.swift │ ├── ValueSet.swift │ ├── VerificationResult.swift │ ├── VirtualServiceDetail.swift │ └── VisionPrescription.swift └── ModelsSTU3 │ ├── Account.swift │ ├── ActivityDefinition.swift │ ├── Address.swift │ ├── AdverseEvent.swift │ ├── Age.swift │ ├── AllergyIntolerance.swift │ ├── Annotation.swift │ ├── Appointment.swift │ ├── AppointmentResponse.swift │ ├── Attachment.swift │ ├── AuditEvent.swift │ ├── BackboneElement.swift │ ├── Base64Binary.swift │ ├── Basic.swift │ ├── Binary.swift │ ├── BodySite.swift │ ├── Bundle.swift │ ├── CapabilityStatement.swift │ ├── CarePlan.swift │ ├── CareTeam.swift │ ├── ChargeItem.swift │ ├── Claim.swift │ ├── ClaimResponse.swift │ ├── ClinicalImpression.swift │ ├── CodeSystem.swift │ ├── CodeSystemAbstractType.swift │ ├── CodeSystemAccountStatus.swift │ ├── CodeSystemActionCardinalityBehavior.swift │ ├── CodeSystemActionConditionKind.swift │ ├── CodeSystemActionGroupingBehavior.swift │ ├── CodeSystemActionList.swift │ ├── CodeSystemActionParticipantType.swift │ ├── CodeSystemActionPrecheckBehavior.swift │ ├── CodeSystemActionRelationshipType.swift │ ├── CodeSystemActionRequiredBehavior.swift │ ├── CodeSystemActionSelectionBehavior.swift │ ├── CodeSystemActionType.swift │ ├── CodeSystemActivityDefinitionCategory.swift │ ├── CodeSystemAddressType.swift │ ├── CodeSystemAddressUse.swift │ ├── CodeSystemAdministrativeGender.swift │ ├── CodeSystemAdverseEventCategory.swift │ ├── CodeSystemAdverseEventCausality.swift │ ├── CodeSystemAdverseEventCausalityAssessment.swift │ ├── CodeSystemAdverseEventCausalityMethod.swift │ ├── CodeSystemAdverseEventCausalityResult.swift │ ├── CodeSystemAdverseEventOutcome.swift │ ├── CodeSystemAdverseEventSeriousness.swift │ ├── CodeSystemAggregationMode.swift │ ├── CodeSystemAllergyIntoleranceCategory.swift │ ├── CodeSystemAllergyIntoleranceCertainty.swift │ ├── CodeSystemAllergyIntoleranceClinicalStatus.swift │ ├── CodeSystemAllergyIntoleranceCriticality.swift │ ├── CodeSystemAllergyIntoleranceSeverity.swift │ ├── CodeSystemAllergyIntoleranceSubstanceExposureRisk.swift │ ├── CodeSystemAllergyIntoleranceType.swift │ ├── CodeSystemAllergyIntoleranceVerificationStatus.swift │ ├── CodeSystemAppointmentStatus.swift │ ├── CodeSystemAssertionDirectionType.swift │ ├── CodeSystemAssertionOperatorType.swift │ ├── CodeSystemAssertionResponseTypes.swift │ ├── CodeSystemAuditEventAction.swift │ ├── CodeSystemBindingStrength.swift │ ├── CodeSystemBundleType.swift │ ├── CodeSystemCapabilityStatementKind.swift │ ├── CodeSystemCarePlanActivityStatus.swift │ ├── CodeSystemCarePlanIntent.swift │ ├── CodeSystemCarePlanStatus.swift │ ├── CodeSystemCareTeamCategory.swift │ ├── CodeSystemCareTeamStatus.swift │ ├── CodeSystemChargeItemStatus.swift │ ├── CodeSystemChoiceListOrientation.swift │ ├── CodeSystemClaimPayeeResourceType.swift │ ├── CodeSystemClassificationOrContext.swift │ ├── CodeSystemClinicalImpressionStatus.swift │ ├── CodeSystemCodeSystemContentMode.swift │ ├── CodeSystemCodeSystemHierarchyMeaning.swift │ ├── CodeSystemCommunicationCategory.swift │ ├── CodeSystemCommunicationNotDoneReason.swift │ ├── CodeSystemCompartmentType.swift │ ├── CodeSystemCompositeMeasureScoring.swift │ ├── CodeSystemCompositionAttestationMode.swift │ ├── CodeSystemCompositionStatus.swift │ ├── CodeSystemConceptMapEquivalence.swift │ ├── CodeSystemConceptMapGroupUnmappedMode.swift │ ├── CodeSystemConditionState.swift │ ├── CodeSystemConditionVerificationStatus.swift │ ├── CodeSystemConditionalDeleteStatus.swift │ ├── CodeSystemConditionalReadStatus.swift │ ├── CodeSystemConformanceExpectation.swift │ ├── CodeSystemConsentDataMeaning.swift │ ├── CodeSystemConsentExceptType.swift │ ├── CodeSystemConsentState.swift │ ├── CodeSystemConstraintSeverity.swift │ ├── CodeSystemContactPointSystem.swift │ ├── CodeSystemContactPointUse.swift │ ├── CodeSystemContentType.swift │ ├── CodeSystemContributorType.swift │ ├── CodeSystemCopyNumberEvent.swift │ ├── CodeSystemDataAbsentReason.swift │ ├── CodeSystemDataElementStringency.swift │ ├── CodeSystemDataType.swift │ ├── CodeSystemDaysOfWeek.swift │ ├── CodeSystemDefinitionStatus.swift │ ├── CodeSystemDefinitionTopic.swift │ ├── CodeSystemDetectedIssueSeverity.swift │ ├── CodeSystemDeviceComponentOperationalStatus.swift │ ├── CodeSystemDeviceComponentParameterGroup.swift │ ├── CodeSystemDeviceMetricCalibrationState.swift │ ├── CodeSystemDeviceMetricCalibrationType.swift │ ├── CodeSystemDeviceMetricCategory.swift │ ├── CodeSystemDeviceMetricColor.swift │ ├── CodeSystemDeviceMetricOperationalStatus.swift │ ├── CodeSystemDeviceSpecificationSpecType.swift │ ├── CodeSystemDeviceUseStatementStatus.swift │ ├── CodeSystemDiagnosticReportStatus.swift │ ├── CodeSystemDigitalMediaType.swift │ ├── CodeSystemDiscriminatorType.swift │ ├── CodeSystemDocumentMode.swift │ ├── CodeSystemDocumentReferenceStatus.swift │ ├── CodeSystemDocumentRelationshipType.swift │ ├── CodeSystemEncounterLocationStatus.swift │ ├── CodeSystemEncounterStatus.swift │ ├── CodeSystemEndpointStatus.swift │ ├── CodeSystemEpisodeOfCareStatus.swift │ ├── CodeSystemEventCapabilityMode.swift │ ├── CodeSystemEventStatus.swift │ ├── CodeSystemEventTiming.swift │ ├── CodeSystemExplanationOfBenefitStatus.swift │ ├── CodeSystemExtensionContext.swift │ ├── CodeSystemFHIRDefinedConceptProperties.swift │ ├── CodeSystemFHIRDeviceStatus.swift │ ├── CodeSystemFHIRRestfulInteractions.swift │ ├── CodeSystemFHIRSubstanceStatus.swift │ ├── CodeSystemFamilyHistoryNotDoneReason.swift │ ├── CodeSystemFamilyHistoryStatus.swift │ ├── CodeSystemFilterOperator.swift │ ├── CodeSystemFlagStatus.swift │ ├── CodeSystemGoalAcceptanceStatus.swift │ ├── CodeSystemGoalRelationshipType.swift │ ├── CodeSystemGoalStatus.swift │ ├── CodeSystemGraphCompartmentRule.swift │ ├── CodeSystemGroupType.swift │ ├── CodeSystemGuidanceResponseStatus.swift │ ├── CodeSystemGuideDependencyType.swift │ ├── CodeSystemGuidePageKind.swift │ ├── CodeSystemHL7Workgroup.swift │ ├── CodeSystemHTTPVerb.swift │ ├── CodeSystemHumanNameAssemblyOrder.swift │ ├── CodeSystemIdentifierUse.swift │ ├── CodeSystemIdentityAssuranceLevel.swift │ ├── CodeSystemImplantStatus.swift │ ├── CodeSystemIssueSeverity.swift │ ├── CodeSystemIssueType.swift │ ├── CodeSystemLibraryType.swift │ ├── CodeSystemLinkType.swift │ ├── CodeSystemLinkageType.swift │ ├── CodeSystemListMode.swift │ ├── CodeSystemListStatus.swift │ ├── CodeSystemLocationMode.swift │ ├── CodeSystemLocationStatus.swift │ ├── CodeSystemMatchGrade.swift │ ├── CodeSystemMaxOccurs.swift │ ├── CodeSystemMeasmntPrinciple.swift │ ├── CodeSystemMeasureDataUsage.swift │ ├── CodeSystemMeasurePopulationType.swift │ ├── CodeSystemMeasureReportStatus.swift │ ├── CodeSystemMeasureReportType.swift │ ├── CodeSystemMeasureScoring.swift │ ├── CodeSystemMeasureType.swift │ ├── CodeSystemMedicationAdministrationCategory.swift │ ├── CodeSystemMedicationAdministrationStatus.swift │ ├── CodeSystemMedicationContainer.swift │ ├── CodeSystemMedicationDispenseCategory.swift │ ├── CodeSystemMedicationDispenseStatus.swift │ ├── CodeSystemMedicationRequestCategory.swift │ ├── CodeSystemMedicationRequestIntent.swift │ ├── CodeSystemMedicationRequestPriority.swift │ ├── CodeSystemMedicationRequestStatus.swift │ ├── CodeSystemMedicationStatementCategory.swift │ ├── CodeSystemMedicationStatementStatus.swift │ ├── CodeSystemMedicationStatementTaken.swift │ ├── CodeSystemMedicationStatus.swift │ ├── CodeSystemMessageEvent.swift │ ├── CodeSystemMessageSignificanceCategory.swift │ ├── CodeSystemMessageTransport.swift │ ├── CodeSystemMessageheaderResponseRequest.swift │ ├── CodeSystemNHINPurposeOfUse.swift │ ├── CodeSystemNameUse.swift │ ├── CodeSystemNamingSystemIdentifierType.swift │ ├── CodeSystemNamingSystemType.swift │ ├── CodeSystemNarrativeStatus.swift │ ├── CodeSystemNoteType.swift │ ├── CodeSystemNutritionOrderStatus.swift │ ├── CodeSystemObservationRelationshipType.swift │ ├── CodeSystemObservationStatus.swift │ ├── CodeSystemOperationKind.swift │ ├── CodeSystemOperationOutcomeCodes.swift │ ├── CodeSystemOperationParameterUse.swift │ ├── CodeSystemParticipantRequired.swift │ ├── CodeSystemParticipationStatus.swift │ ├── CodeSystemPayeeResourceType.swift │ ├── CodeSystemPlanDefinitionType.swift │ ├── CodeSystemPropertyRepresentation.swift │ ├── CodeSystemPropertyType.swift │ ├── CodeSystemProvenanceEntityRole.swift │ ├── CodeSystemPublicationStatus.swift │ ├── CodeSystemQualityOfEvidenceRating.swift │ ├── CodeSystemQualityType.swift │ ├── CodeSystemQuantityComparator.swift │ ├── CodeSystemQuestionnaireItemType.swift │ ├── CodeSystemQuestionnaireItemUsageMode.swift │ ├── CodeSystemQuestionnaireResponseStatus.swift │ ├── CodeSystemReferenceHandlingPolicy.swift │ ├── CodeSystemReferenceVersionRules.swift │ ├── CodeSystemReferralMethod.swift │ ├── CodeSystemRelatedArtifactType.swift │ ├── CodeSystemRepositoryType.swift │ ├── CodeSystemRequestIntent.swift │ ├── CodeSystemRequestPriority.swift │ ├── CodeSystemRequestStatus.swift │ ├── CodeSystemResearchStudyStatus.swift │ ├── CodeSystemResearchSubjectStatus.swift │ ├── CodeSystemResourceType.swift │ ├── CodeSystemResourceValidationMode.swift │ ├── CodeSystemResourceVersionPolicy.swift │ ├── CodeSystemResponseType.swift │ ├── CodeSystemRestfulCapabilityMode.swift │ ├── CodeSystemRestfulSecurityService.swift │ ├── CodeSystemSearchComparator.swift │ ├── CodeSystemSearchEntryMode.swift │ ├── CodeSystemSearchModifierCode.swift │ ├── CodeSystemSearchParamType.swift │ ├── CodeSystemSequenceStatus.swift │ ├── CodeSystemSequenceType.swift │ ├── CodeSystemServiceProvisionConditions.swift │ ├── CodeSystemSlicingRules.swift │ ├── CodeSystemSlotStatus.swift │ ├── CodeSystemSpecialValues.swift │ ├── CodeSystemSpecimenStatus.swift │ ├── CodeSystemStrengthOfRecommendationRating.swift │ ├── CodeSystemStructureDefinitionKind.swift │ ├── CodeSystemStructureMapContextType.swift │ ├── CodeSystemStructureMapGroupTypeMode.swift │ ├── CodeSystemStructureMapInputMode.swift │ ├── CodeSystemStructureMapModelMode.swift │ ├── CodeSystemStructureMapSourceListMode.swift │ ├── CodeSystemStructureMapTargetListMode.swift │ ├── CodeSystemStructureMapTransform.swift │ ├── CodeSystemSubscriptionChannelType.swift │ ├── CodeSystemSubscriptionStatus.swift │ ├── CodeSystemSubscriptionTag.swift │ ├── CodeSystemSupplyDeliveryStatus.swift │ ├── CodeSystemSupplyRequestReason.swift │ ├── CodeSystemSupplyRequestStatus.swift │ ├── CodeSystemSystemVersionProcessingMode.swift │ ├── CodeSystemTaskPerformerType.swift │ ├── CodeSystemTaskStatus.swift │ ├── CodeSystemTestReportActionResult.swift │ ├── CodeSystemTestReportParticipantType.swift │ ├── CodeSystemTestReportResult.swift │ ├── CodeSystemTestReportStatus.swift │ ├── CodeSystemTestScriptRequestMethodCode.swift │ ├── CodeSystemTransactionMode.swift │ ├── CodeSystemTriggerType.swift │ ├── CodeSystemTypeDerivationRule.swift │ ├── CodeSystemUDIEntryType.swift │ ├── CodeSystemUnknownContentCode.swift │ ├── CodeSystemUsageContextType.swift │ ├── CodeSystemUse.swift │ ├── CodeSystemVisionBase.swift │ ├── CodeSystemVisionEyes.swift │ ├── CodeSystemXPathUsageType.swift │ ├── CodeableConcept.swift │ ├── Coding.swift │ ├── Communication.swift │ ├── CommunicationRequest.swift │ ├── CompartmentDefinition.swift │ ├── Composition.swift │ ├── ConceptMap.swift │ ├── Condition.swift │ ├── Consent.swift │ ├── ContactDetail.swift │ ├── ContactPoint.swift │ ├── Contract.swift │ ├── Contributor.swift │ ├── Count.swift │ ├── Coverage.swift │ ├── DataElement.swift │ ├── DataRequirement.swift │ ├── DateTime+NSDate.swift │ ├── DateTime.swift │ ├── DetectedIssue.swift │ ├── Device.swift │ ├── DeviceComponent.swift │ ├── DeviceMetric.swift │ ├── DeviceRequest.swift │ ├── DeviceUseStatement.swift │ ├── DiagnosticReport.swift │ ├── Distance.swift │ ├── DocumentManifest.swift │ ├── DocumentReference.swift │ ├── DomainResource+Extensions.swift │ ├── DomainResource.swift │ ├── Dosage.swift │ ├── Duration.swift │ ├── Element+Extensions.swift │ ├── Element.swift │ ├── ElementDefinition.swift │ ├── EligibilityRequest.swift │ ├── EligibilityResponse.swift │ ├── Encounter.swift │ ├── Endpoint.swift │ ├── EnrollmentRequest.swift │ ├── EnrollmentResponse.swift │ ├── EpisodeOfCare.swift │ ├── ExpansionProfile.swift │ ├── ExplanationOfBenefit.swift │ ├── Extension.swift │ ├── FHIRAbstractResource.swift │ ├── FHIRBool.swift │ ├── FHIRDate+NSDate.swift │ ├── FHIRDate.swift │ ├── FHIRDecimal.swift │ ├── FHIRInteger.swift │ ├── FHIRPositiveInteger.swift │ ├── FHIRPrimitive.swift │ ├── FHIRString.swift │ ├── FHIRTime+NSDate.swift │ ├── FHIRTime.swift │ ├── FHIRURI.swift │ ├── FHIRUnsignedInteger.swift │ ├── FamilyMemberHistory.swift │ ├── Flag.swift │ ├── Goal.swift │ ├── GraphDefinition.swift │ ├── Group.swift │ ├── GuidanceResponse.swift │ ├── HealthcareService.swift │ ├── HumanName.swift │ ├── Identifier.swift │ ├── ImagingManifest.swift │ ├── ImagingStudy.swift │ ├── Immunization.swift │ ├── ImmunizationRecommendation.swift │ ├── ImplementationGuide.swift │ ├── Instant+NSDate.swift │ ├── Instant.swift │ ├── InstantDate.swift │ ├── Library.swift │ ├── Linkage.swift │ ├── List.swift │ ├── Location.swift │ ├── Measure.swift │ ├── MeasureReport.swift │ ├── Media.swift │ ├── Medication.swift │ ├── MedicationAdministration.swift │ ├── MedicationDispense.swift │ ├── MedicationRequest.swift │ ├── MedicationStatement.swift │ ├── MessageDefinition.swift │ ├── MessageHeader.swift │ ├── Meta.swift │ ├── Money.swift │ ├── NamingSystem.swift │ ├── Narrative.swift │ ├── NutritionOrder.swift │ ├── Observation.swift │ ├── OperationDefinition.swift │ ├── OperationOutcome.swift │ ├── Organization.swift │ ├── ParameterDefinition.swift │ ├── Parameters.swift │ ├── Patient.swift │ ├── PaymentNotice.swift │ ├── PaymentReconciliation.swift │ ├── Period.swift │ ├── Person.swift │ ├── PlanDefinition.swift │ ├── Practitioner.swift │ ├── PractitionerRole.swift │ ├── Procedure.swift │ ├── ProcedureRequest.swift │ ├── ProcessRequest.swift │ ├── ProcessResponse.swift │ ├── Provenance.swift │ ├── Quantity.swift │ ├── Questionnaire.swift │ ├── QuestionnaireResponse.swift │ ├── Range.swift │ ├── Ratio.swift │ ├── Reference.swift │ ├── ReferralRequest.swift │ ├── RelatedArtifact.swift │ ├── RelatedPerson.swift │ ├── RequestGroup.swift │ ├── ResearchStudy.swift │ ├── ResearchSubject.swift │ ├── Resource.swift │ ├── ResourceProxy.swift │ ├── RiskAssessment.swift │ ├── SampledData.swift │ ├── Schedule.swift │ ├── SearchParameter.swift │ ├── Sequence.swift │ ├── ServiceDefinition.swift │ ├── Signature.swift │ ├── Slot.swift │ ├── Specimen.swift │ ├── StructureDefinition.swift │ ├── StructureMap.swift │ ├── Subscription.swift │ ├── Substance.swift │ ├── SupplyDelivery.swift │ ├── SupplyRequest.swift │ ├── Task.swift │ ├── TestReport.swift │ ├── TestScript.swift │ ├── Timing.swift │ ├── TriggerDefinition.swift │ ├── UsageContext.swift │ ├── ValueSet.swift │ └── VisionPrescription.swift └── Tests ├── CoreTests ├── FHIRDateComponentsTests.swift ├── FHIRDateParserErrorTests.swift └── TimeZoneTests.swift ├── DateTimeTests ├── DateTimeConversionTests.swift ├── DateTimeTests.swift ├── FHIRDateTests.swift ├── FHIRTimeTests.swift └── InstantTests.swift ├── LinuxMain.swift ├── ModelTests ├── DecodeEncodeTests.swift ├── EqualityTests.swift ├── ExtensionTests.swift ├── ModelsBuildTests.swift ├── ModelsDSTU2Tests.swift ├── ModelsR4BTests.swift ├── ModelsR4Tests.swift ├── ModelsR5Tests.swift ├── ModelsSTU3Tests.swift ├── ResourceEncodeDecodeTests.swift └── UnittestError.swift └── PrimitiveTests └── PrimitiveConstructionTests.swift /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | .swiftpm 7 | -------------------------------------------------------------------------------- /HowTo/DateAndTime.md: -------------------------------------------------------------------------------- 1 | # Date & Time 2 | 3 | FHIRModels handles date/time ↔︎ string conversion transparently and will discard invalid dates. 4 | 5 | ```swift 6 | do { 7 | let dateTimeString = "2020-03-12T12:33:54.6543-06:00" 8 | let dateTime = try DateTime(dateTimeString) 9 | dateTime.date.year == 2020 10 | dateTime.time.minute == 33 11 | dateTime.timeZone == TimeZone(secondsFromGMT: -6 * 3600) 12 | } catch { 13 | print("Failed to parse date time string: \(error)") 14 | } 15 | ``` 16 | -------------------------------------------------------------------------------- /HowTo/README.md: -------------------------------------------------------------------------------- 1 | How To 2 | ====== 3 | 4 | - [Instantiating FHIR Models](./Instantiation.md) 5 | - [Model Properties](./ModelProperties.md) 6 | - [Dates & Times](./DateAndTime.md) 7 | - [Working with Extensions](./Extensions.md) 8 | -------------------------------------------------------------------------------- /Sources/FMCore/ConstructibleFromNSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ConstructibleFromNSDate.swift 3 | // HealthSoftware 4 | // 5 | // Copyright 2020 Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | 21 | public protocol ConstructibleFromNSDate { 22 | 23 | init(date: Date, timeZone: TimeZone) throws 24 | } 25 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemAccountRelationship.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Relationship between accounts 24 | 25 | URL: http://hl7.org/fhir/account-relationship 26 | ValueSet: http://hl7.org/fhir/ValueSet/account-relationship 27 | */ 28 | public enum AccountRelationship: String, FHIRPrimitiveType { 29 | 30 | /// guarantor 31 | case guarantor 32 | 33 | /// parent 34 | case parent 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemCharacteristicOffset.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Reference point for characteristic.valueQuantity. 24 | 25 | URL: http://hl7.org/fhir/characteristic-offset 26 | ValueSet: http://hl7.org/fhir/ValueSet/characteristic-offset 27 | */ 28 | public enum CharacteristicOffset: String, FHIRPrimitiveType { 29 | 30 | /// The lower bound of the reference range. 31 | case LNL 32 | 33 | /// The upper bound of the reference range. 34 | case UNL 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemDetectedIssueStatus.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Indicates the status of the detected issue. This code system contains only status codes that are not already defined 24 | and used from the ObservationStatus code system. 25 | 26 | URL: http://hl7.org/fhir/detectedissue-status 27 | */ 28 | public enum DetectedIssueStatus: String, FHIRPrimitiveType { 29 | 30 | /// Indicates the detected issue has been mitigated 31 | case mitigated 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemEncounterDiagnosisUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Encounter Condition Use 24 | 25 | URL: http://hl7.org/fhir/encounter-diagnosis-use 26 | */ 27 | public enum EncounterDiagnosisUse: String, FHIRPrimitiveType { 28 | 29 | /// final 30 | case final 31 | 32 | /// working 33 | case working 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemEncounterReasonUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Encounter Reason Use 24 | 25 | URL: http://hl7.org/fhir/encounter-reason-use 26 | ValueSet: http://hl7.org/fhir/ValueSet/encounter-reason-use 27 | */ 28 | public enum EncounterReasonUse: String, FHIRPrimitiveType { 29 | 30 | /// AD 31 | case AD 32 | 33 | /// CC 34 | case CC 35 | 36 | /// HC 37 | case HC 38 | 39 | /// HM 40 | case HM 41 | 42 | /// RV 43 | case RV 44 | } 45 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemExampleScenarioActorType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The type of actor - system or human. 24 | 25 | URL: http://hl7.org/fhir/examplescenario-actor-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/examplescenario-actor-type 27 | */ 28 | public enum ExampleScenarioActorType: String, FHIRPrimitiveType { 29 | 30 | /// A human actor 31 | case person 32 | 33 | /// A software application or other system 34 | case system 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemMedicationCostCategoryCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Medication Cost Category Codes 24 | 25 | URL: http://hl7.org/fhir/medication-cost-category 26 | ValueSet: http://hl7.org/fhir/ValueSet/medication-cost-category 27 | */ 28 | public enum MedicationCostCategoryCodes: String, FHIRPrimitiveType { 29 | 30 | /// Tier A cost for this medication 31 | case banda 32 | 33 | /// Tier B cost for this medication 34 | case bandb 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemNoteType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The presentation types of notes. 24 | 25 | URL: http://hl7.org/fhir/note-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/note-type 27 | */ 28 | public enum NoteType: String, FHIRPrimitiveType { 29 | 30 | /// Display the note. 31 | case display 32 | 33 | /// Print the note on the form. 34 | case print 35 | 36 | /// Print the note for the operator. 37 | case printoper 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemOperationParameterUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Whether an operation parameter is an input or an output parameter. 24 | 25 | URL: http://hl7.org/fhir/operation-parameter-use 26 | ValueSet: http://hl7.org/fhir/ValueSet/operation-parameter-use 27 | */ 28 | public enum OperationParameterUse: String, FHIRPrimitiveType { 29 | 30 | /// This is an input parameter. 31 | case `in` 32 | 33 | /// This is an output parameter. 34 | case out 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSequenceType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type if a sequence -- DNA, RNA, or amino acid sequence. 24 | 25 | URL: http://hl7.org/fhir/sequence-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/sequence-type 27 | */ 28 | public enum SequenceType: String, FHIRPrimitiveType { 29 | 30 | /// Amino acid sequence. 31 | case aa 32 | 33 | /// DNA Sequence. 34 | case dna 35 | 36 | /// RNA Sequence. 37 | case rna 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSpecimenCombined.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Codes providing the combined status of the specimen. 24 | 25 | URL: http://hl7.org/fhir/specimen-combined 26 | ValueSet: http://hl7.org/fhir/ValueSet/specimen-combined 27 | */ 28 | public enum SpecimenCombined: String, FHIRPrimitiveType { 29 | 30 | /// The specimen is in a group. 31 | case grouped 32 | 33 | /// The specimen is pooled. 34 | case pooled 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemStructureMapInputMode.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Mode for this instance of data. 24 | 25 | URL: http://hl7.org/fhir/map-input-mode 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-input-mode 27 | */ 28 | public enum StructureMapInputMode: String, FHIRPrimitiveType { 29 | 30 | /// Names an input instance used a source for mapping. 31 | case source 32 | 33 | /// Names an instance that is being populated. 34 | case target 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSubstanceForm.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceForm 24 | 25 | URL: http://hl7.org/fhir/substance-form 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-form 27 | */ 28 | public enum SubstanceForm: String, FHIRPrimitiveType { 29 | 30 | /// base 31 | case base 32 | 33 | /// salt 34 | case salt 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSubstanceNameDomain.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceNameDomain 24 | 25 | URL: http://hl7.org/fhir/substance-name-domain 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-name-domain 27 | */ 28 | public enum SubstanceNameDomain: String, FHIRPrimitiveType { 29 | 30 | /// activeIngredient 31 | case activeIngredient = "ActiveIngredient" 32 | 33 | /// foodColorAdditive 34 | case foodColorAdditive = "FoodColorAdditive" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSubstanceNameType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceNameType 24 | 25 | URL: http://hl7.org/fhir/substance-name-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-name-type 27 | */ 28 | public enum SubstanceNameType: String, FHIRPrimitiveType { 29 | 30 | /// brand 31 | case brand = "Brand" 32 | 33 | /// scientific 34 | case scientific = "Scientific" 35 | 36 | /// systematic 37 | case systematic = "Systematic" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSubstanceOpticalActivity.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The optical rotation type of a substance. 24 | 25 | URL: http://hl7.org/fhir/substance-optical-activity 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-optical-activity 27 | */ 28 | public enum SubstanceOpticalActivity: String, FHIRPrimitiveType { 29 | 30 | /// dextrorotary 31 | case dextrorotary = "+" 32 | 33 | /// levorotary 34 | case levorotary = "-" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemSupplyDeliveryStage.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Stage of the supply delivery. 24 | 25 | URL: http://hl7.org/fhir/supplydelivery-stage 26 | ValueSet: http://hl7.org/fhir/ValueSet/supplydelivery-stage 27 | */ 28 | public enum SupplyDeliveryStage: String, FHIRPrimitiveType { 29 | 30 | /// This is about a Dispatch. 31 | case dispatch 32 | 33 | /// This is about a Reception. 34 | case reception 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemTimingAbbreviation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Code for a known / defined timing pattern. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/timing-abbreviation 26 | */ 27 | public enum TimingAbbreviation: String, FHIRPrimitiveType { 28 | 29 | /// Service is provided continuously between start time and stop time. 30 | case C 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemVisionBase.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the base codes. 24 | 25 | URL: http://hl7.org/fhir/vision-base-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-base-codes 27 | */ 28 | public enum VisionBase: String, FHIRPrimitiveType { 29 | 30 | /// inner edge. 31 | case `in` 32 | 33 | /// bottom. 34 | case down 35 | 36 | /// outer edge. 37 | case out 38 | 39 | /// top. 40 | case up 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/CodeSystemVisionEyes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 6.0.0-ballot2 6 | // Copyright 2024 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the eye codes. 24 | 25 | URL: http://hl7.org/fhir/vision-eye-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-eye-codes 27 | */ 28 | public enum VisionEyes: String, FHIRPrimitiveType { 29 | 30 | /// Left Eye. 31 | case left 32 | 33 | /// Right Eye. 34 | case right 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/DomainResource+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DomainResource+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension DomainResource { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/Element+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Element+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension Element { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsBuild/FHIRTime+NSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FHIRTime+NSDate.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | import FMCore 21 | 22 | extension FHIRTime: ConstructibleFromNSDate { 23 | 24 | public init(date: Date, timeZone: TimeZone = TimeZone.current) throws { 25 | self.originalSecondsString = nil 26 | (self.hour, self.minute, self.second) = try FHIRDateComponents.timeComponents(from: date, with: timeZone) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemAdjudicationErrorCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of adjudication codes. 24 | 25 | URL: http://hl7.org/fhir/adjudication-error 26 | ValueSet: http://hl7.org/fhir/ValueSet/adjudication-error 27 | */ 28 | public enum AdjudicationErrorCodes: String, FHIRPrimitiveType { 29 | 30 | /// A001 31 | case A001 = "A001" 32 | 33 | /// A002 34 | case A002 = "A002" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemAdjustmentReasonCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes smattering of a Adjustment Reason codes. 24 | 25 | URL: http://hl7.org/fhir/adjustment-reason 26 | ValueSet: http://hl7.org/fhir/ValueSet/adjustment-reason 27 | */ 28 | public enum AdjustmentReasonCodes: String, FHIRPrimitiveType { 29 | 30 | /// A001 31 | case A001 = "A001" 32 | 33 | /// A002 34 | case A002 = "A002" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemAuditEventID.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Event Types for Audit Events - defined by DICOM with some FHIR specific additions. 24 | 25 | URL: http://hl7.org/fhir/audit-event-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/audit-event-type 27 | */ 28 | public enum AuditEventID: String, FHIRPrimitiveType { 29 | 30 | /// Audit Event: Execution of a RESTful operation as defined by FHIR. 31 | case rest = "rest" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemContractActionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Contract Action codes. 24 | 25 | URL: http://www.hl7.org/fhir/contractaction 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-action 27 | */ 28 | public enum ContractActionCodes: String, FHIRPrimitiveType { 29 | 30 | /// actionA 31 | case actionA = "action-a" 32 | 33 | /// actionB 34 | case actionB = "action-b" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemContractActorRoleCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Contract Actor Role codes. 24 | 25 | URL: http://www.hl7.org/fhir/contractactorrole 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-actorrole 27 | */ 28 | public enum ContractActorRoleCodes: String, FHIRPrimitiveType { 29 | 30 | /// practitioner 31 | case practitioner = "practitioner" 32 | 33 | /// patient 34 | case patient = "patient" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemContractSubtypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Contract Subtype codes. 24 | 25 | URL: http://hl7.org/fhir/contractsubtypecodes 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-subtype 27 | */ 28 | public enum ContractSubtypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// disclosureCA 31 | case disclosureCA = "disclosure-CA" 32 | 33 | /// disclosureUS 34 | case disclosureUS = "disclosure-US" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemContractTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Contract Type codes. 24 | 25 | URL: http://hl7.org/fhir/contracttypecodes 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-type 27 | */ 28 | public enum ContractTypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// privacy 31 | case privacy = "privacy" 32 | 33 | /// disclosure 34 | case disclosure = "disclosure" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemExamplePharmacyServiceCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of Pharmacy Service codes. 24 | 25 | URL: http://hl7.org/fhir/ex-pharmaservice 26 | ValueSet: http://hl7.org/fhir/ValueSet/service-pharmacy 27 | */ 28 | public enum ExamplePharmacyServiceCodes: String, FHIRPrimitiveType { 29 | 30 | /// Smoking cessation 31 | case smokecess = "smokecess" 32 | 33 | /// Flu Shot 34 | case flushot = "flushot" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemExampleServiceProductCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of Service/Product codes. 24 | 25 | URL: http://hl7.org/fhir/ex-serviceproduct 26 | ValueSet: http://hl7.org/fhir/ValueSet/service-product 27 | */ 28 | public enum ExampleServiceProductCodes: String, FHIRPrimitiveType { 29 | 30 | /// Exam 31 | case exam = "exam" 32 | 33 | /// Flu shot 34 | case flushot = "flushot" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemExceptionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Exception codes. 24 | 25 | URL: http://hl7.org/fhir/exception 26 | ValueSet: http://hl7.org/fhir/ValueSet/claim-exception 27 | */ 28 | public enum ExceptionCodes: String, FHIRPrimitiveType { 29 | 30 | /// Fulltime Student 31 | case student = "student" 32 | 33 | /// Disabled 34 | case disabled = "disabled" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemHTTPVerb.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | HTTP verbs (in the HTTP command line). 24 | 25 | URL: http://hl7.org/fhir/http-verb 26 | ValueSet: http://hl7.org/fhir/ValueSet/http-verb 27 | */ 28 | public enum HTTPVerb: String, FHIRPrimitiveType { 29 | 30 | /// HTTP GET 31 | case GET = "GET" 32 | 33 | /// HTTP POST 34 | case POST = "POST" 35 | 36 | /// HTTP PUT 37 | case PUT = "PUT" 38 | 39 | /// HTTP DELETE 40 | case DELETE = "DELETE" 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemInterventionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Intervention codes. 24 | 25 | URL: http://hl7.org/fhir/intervention 26 | ValueSet: http://hl7.org/fhir/ValueSet/intervention 27 | */ 28 | public enum InterventionCodes: String, FHIRPrimitiveType { 29 | 30 | /// Unknown 31 | case unknown = "unknown" 32 | 33 | /// Other 34 | case other = "other" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemMaxOccurs.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Flags an element as having unlimited repetitions 24 | 25 | URL: http://hl7.org/fhir/question-max-occurs 26 | ValueSet: http://hl7.org/fhir/ValueSet/question-max-occurs 27 | */ 28 | public enum MaxOccurs: String, FHIRPrimitiveType { 29 | 30 | /// Element can repeat an unlimited number of times 31 | case max = "*" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemPayeeTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Payee Type codes. 24 | 25 | URL: http://hl7.org/fhir/payeetype 26 | ValueSet: http://hl7.org/fhir/ValueSet/payeetype 27 | */ 28 | public enum PayeeTypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// subscriber 31 | case subscriber = "subscriber" 32 | 33 | /// provider 34 | case provider = "provider" 35 | 36 | /// other 37 | case other = "other" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemPaymentStatusCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a sample set of Payment Status codes. 24 | 25 | URL: http://hl7.org/fhir/paymentstatus 26 | ValueSet: http://hl7.org/fhir/ValueSet/payment-status 27 | */ 28 | public enum PaymentStatusCodes: String, FHIRPrimitiveType { 29 | 30 | /// paid 31 | case paid = "paid" 32 | 33 | /// cleared 34 | case cleared = "cleared" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemPropertyRepresentation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | How a property is represented on the wire. 24 | 25 | URL: http://hl7.org/fhir/property-representation 26 | ValueSet: http://hl7.org/fhir/ValueSet/property-representation 27 | */ 28 | public enum PropertyRepresentation: String, FHIRPrimitiveType { 29 | 30 | /// In XML, this property is represented as an attribute not an element. 31 | case xmlAttr = "xmlAttr" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemRemittanceOutcome.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The outcome of the processing. 24 | 25 | URL: http://hl7.org/fhir/remittance-outcome 26 | ValueSet: http://hl7.org/fhir/ValueSet/remittance-outcome 27 | */ 28 | public enum RemittanceOutcome: String, FHIRPrimitiveType { 29 | 30 | /// The processing completed without errors. 31 | case complete = "complete" 32 | 33 | /// The processing identified errors. 34 | case error = "error" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemUDICodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample UDI codes. 24 | 25 | URL: http://hl7.org/fhir/ex-udi 26 | ValueSet: http://hl7.org/fhir/ValueSet/udi 27 | */ 28 | public enum UDICodes: String, FHIRPrimitiveType { 29 | 30 | /// Example DI in GS1 format. 31 | case _01123456789 = "{01}123456789" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/CodeSystemVisionEyes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 1.0.2.7202 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the eye codes. 24 | 25 | URL: http://hl7.org/fhir/vision-eye-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-eye-codes 27 | */ 28 | public enum VisionEyes: String, FHIRPrimitiveType { 29 | 30 | /// Right Eye 31 | case right = "right" 32 | 33 | /// Left Eye 34 | case left = "left" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/DomainResource+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DomainResource+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension DomainResource { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/Element+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Element+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension Element { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsDSTU2/FHIRTime+NSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FHIRTime+NSDate.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | import FMCore 21 | 22 | extension FHIRTime: ConstructibleFromNSDate { 23 | 24 | public init(date: Date, timeZone: TimeZone = TimeZone.current) throws { 25 | self.originalSecondsString = nil 26 | (self.hour, self.minute, self.second) = try FHIRDateComponents.timeComponents(from: date, with: timeZone) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemAdjudicationReasonCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes smattering of Adjudication Reason codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/adjudication-reason 26 | ValueSet: http://hl7.org/fhir/ValueSet/adjudication-reason 27 | */ 28 | public enum AdjudicationReasonCodes: String, FHIRPrimitiveType { 29 | 30 | /// Not covered 31 | case ar001 32 | 33 | /// Plan Limit Reached 34 | case ar002 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemAnimalSpecies.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This example value set defines a set of codes that can be used to indicate species of animal patients. 24 | 25 | URL: http://hl7.org/fhir/animal-species 26 | */ 27 | public enum AnimalSpecies: String, FHIRPrimitiveType { 28 | 29 | /// Canis lupus familiaris 30 | case canislf 31 | 32 | /// Ovis aries 33 | case ovisa 34 | 35 | /// Serinus canaria domestica 36 | case serinuscd 37 | } 38 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemAuditEventID.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Event Types for Audit Events - defined by DICOM with some FHIR specific additions. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/audit-event-type 26 | */ 27 | public enum AuditEventID: String, FHIRPrimitiveType { 28 | 29 | /// Audit Event: Execution of a RESTful operation as defined by FHIR. 30 | case rest 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemCanPushUpdates.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Ability of the primary source to push updates/alerts 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/can-push-updates 26 | ValueSet: http://hl7.org/fhir/ValueSet/verificationresult-can-push-updates 27 | */ 28 | public enum CanPushUpdates: String, FHIRPrimitiveType { 29 | 30 | /// yes 31 | case yes 32 | 33 | /// no 34 | case no 35 | 36 | /// undetermined 37 | case undetermined 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemCatalogType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The type of catalog. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/catalogType 26 | ValueSet: http://hl7.org/fhir/ValueSet/catalogType 27 | */ 28 | public enum CatalogType: String, FHIRPrimitiveType { 29 | 30 | /// Medication Catalog. 31 | case medication 32 | 33 | /// Device Catalog. 34 | case device 35 | 36 | /// Protocol List. 37 | case `protocol` 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemCommonTags.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Common Tag Codes defined by FHIR project 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/common-tags 26 | ValueSet: http://hl7.org/fhir/ValueSet/common-tags 27 | */ 28 | public enum CommonTags: String, FHIRPrimitiveType { 29 | 30 | /// This request is intended to be acted upon, not merely stored 31 | case actionable 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceActionStatusCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for action status. 24 | 25 | URL: http://hl7.org/fhir/contract-action-status 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-actionstatus 27 | */ 28 | public enum ContractResourceActionStatusCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case complete 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceAssetAvailiabilityCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set has asset availability codes. 24 | 25 | URL: http://hl7.org/fhir/asset-availability 26 | ValueSet: http://hl7.org/fhir/ValueSet/asset-availability 27 | */ 28 | public enum ContractResourceAssetAvailiabilityCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case lease 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceAssetContextCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for asset context. 24 | 25 | URL: http://hl7.org/fhir/contract-asset-context 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-assetcontext 27 | */ 28 | public enum ContractResourceAssetContextCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case custodian 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceAssetScopeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for asset scope. 24 | 25 | URL: http://hl7.org/fhir/contract-asset-scope 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-assetscope 27 | */ 28 | public enum ContractResourceAssetScopeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case thing 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceAssetSubTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for asset subtype. 24 | 25 | URL: http://hl7.org/fhir/contract-asset-subtype 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-assetsubtype 27 | */ 28 | public enum ContractResourceAssetSubTypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case participation 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceAssetTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for asset type. 24 | 25 | URL: http://hl7.org/fhir/contract-asset-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-assettype 27 | */ 28 | public enum ContractResourceAssetTypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case participation 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceDecisionModeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for decision modes. 24 | 25 | URL: http://hl7.org/fhir/contract-decision-mode 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-decision-mode 27 | */ 28 | public enum ContractResourceDecisionModeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case policy 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceDefinitionSubtypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for status. 24 | 25 | URL: http://hl7.org/fhir/contract-definition-subtype 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-definition-subtype 27 | */ 28 | public enum ContractResourceDefinitionSubtypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case temp 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceDefinitionTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for status. 24 | 25 | URL: http://hl7.org/fhir/contract-definition-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-definition-type 27 | */ 28 | public enum ContractResourceDefinitionTypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case temp 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceExpirationTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for status. 24 | 25 | URL: http://hl7.org/fhir/contract-expiration-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-expiration-type 27 | */ 28 | public enum ContractResourceExpirationTypeCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case breach 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourcePartyRoleCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for offer party participation. 24 | 25 | URL: http://hl7.org/fhir/contract-party-role 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-party-role 27 | */ 28 | public enum ContractResourcePartyRoleCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case flunky 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemContractResourceSecurityControlCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set contract specific codes for security control. 24 | 25 | URL: http://hl7.org/fhir/contract-security-control 26 | ValueSet: http://hl7.org/fhir/ValueSet/contract-security-control 27 | */ 28 | public enum ContractResourceSecurityControlCodes: String, FHIRPrimitiveType { 29 | 30 | /// To be completed 31 | case policy 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemCopyNumberEvent.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Copy Number Event. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/copy-number-event 26 | ValueSet: http://hl7.org/fhir/ValueSet/copy-number-event 27 | */ 28 | public enum CopyNumberEvent: String, FHIRPrimitiveType { 29 | 30 | /// amplification. 31 | case amp 32 | 33 | /// deletion. 34 | case del 35 | 36 | /// loss of function. 37 | case lof 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemCoverageSelfPayCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes Coverage SelfPay codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/coverage-selfpay 26 | ValueSet: http://hl7.org/fhir/ValueSet/coverage-selfpay 27 | */ 28 | public enum CoverageSelfPayCodes: String, FHIRPrimitiveType { 29 | 30 | /// An individual or organization is paying directly for goods and services. 31 | case pay 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemExampleScenarioActorType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The type of actor - system or human. 24 | 25 | URL: http://hl7.org/fhir/examplescenario-actor-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/examplescenario-actor-type 27 | */ 28 | public enum ExampleScenarioActorType: String, FHIRPrimitiveType { 29 | 30 | /// A person. 31 | case person 32 | 33 | /// A system. 34 | case entity 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemExampleServiceProductCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of Service/Product codes. 24 | 25 | URL: http://hl7.org/fhir/ex-serviceproduct 26 | ValueSet: http://hl7.org/fhir/ValueSet/service-product 27 | */ 28 | public enum ExampleServiceProductCodes: String, FHIRPrimitiveType { 29 | 30 | /// Exam 31 | case exam 32 | 33 | /// Flu shot 34 | case flushot 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemExceptionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Exception codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/claim-exception 26 | ValueSet: http://hl7.org/fhir/ValueSet/claim-exception 27 | */ 28 | public enum ExceptionCodes: String, FHIRPrimitiveType { 29 | 30 | /// Fulltime Student 31 | case student 32 | 33 | /// Disabled 34 | case disabled 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemHumanNameAssemblyOrder.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A code that represents the preferred display order of the components of a human name. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/name-assembly-order 26 | */ 27 | public enum HumanNameAssemblyOrder: String, FHIRPrimitiveType { 28 | 29 | /// NL1 30 | case NL1 31 | 32 | /// NL2 33 | case NL2 34 | 35 | /// NL3 36 | case NL3 37 | 38 | /// NL4 39 | case NL4 40 | } 41 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemInterventionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Intervention codes. 24 | 25 | URL: http://hl7.org/fhir/intervention 26 | ValueSet: http://hl7.org/fhir/ValueSet/intervention 27 | */ 28 | public enum InterventionCodes: String, FHIRPrimitiveType { 29 | 30 | /// Unknown 31 | case unknown 32 | 33 | /// Other 34 | case other 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemMaxOccurs.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Flags an element as having unlimited repetitions. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/question-max-occurs 26 | ValueSet: http://hl7.org/fhir/ValueSet/question-max-occurs 27 | */ 28 | public enum MaxOccurs: String, FHIRPrimitiveType { 29 | 30 | /// Element can repeat an unlimited number of times. 31 | case max = "*" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemNeed.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The frequency with which the target must be validated 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/need 26 | ValueSet: http://hl7.org/fhir/ValueSet/verificationresult-need 27 | */ 28 | public enum Need: String, FHIRPrimitiveType { 29 | 30 | /// ***TODO*** 31 | case none 32 | 33 | /// ***TODO*** 34 | case initial 35 | 36 | /// ***TODO*** 37 | case periodic 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemNoteType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The presentation types of notes. 24 | 25 | URL: http://hl7.org/fhir/note-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/note-type 27 | */ 28 | public enum NoteType: String, FHIRPrimitiveType { 29 | 30 | /// Display the note. 31 | case display 32 | 33 | /// Print the note on the form. 34 | case print 35 | 36 | /// Print the note for the operator. 37 | case printoper 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemOrientationType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for orientation. 24 | 25 | URL: http://hl7.org/fhir/orientation-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/orientation-type 27 | */ 28 | public enum OrientationType: String, FHIRPrimitiveType { 29 | 30 | /// Sense orientation of reference sequence. 31 | case sense 32 | 33 | /// Antisense orientation of reference sequence. 34 | case antisense 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemQualityType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for quality report. 24 | 25 | URL: http://hl7.org/fhir/quality-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/quality-type 27 | */ 28 | public enum QualityType: String, FHIRPrimitiveType { 29 | 30 | /// INDEL Comparison. 31 | case indel 32 | 33 | /// SNP Comparison. 34 | case snp 35 | 36 | /// UNKNOWN Comparison. 37 | case unknown 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemSequenceType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type if a sequence -- DNA, RNA, or amino acid sequence. 24 | 25 | URL: http://hl7.org/fhir/sequence-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/sequence-type 27 | */ 28 | public enum SequenceType: String, FHIRPrimitiveType { 29 | 30 | /// Amino acid sequence. 31 | case aa 32 | 33 | /// DNA Sequence. 34 | case dna 35 | 36 | /// RNA Sequence. 37 | case rna 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemStrandType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for strand. 24 | 25 | URL: http://hl7.org/fhir/strand-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/strand-type 27 | */ 28 | public enum StrandType: String, FHIRPrimitiveType { 29 | 30 | /// Watson strand of reference sequence. 31 | case watson 32 | 33 | /// Crick strand of reference sequence. 34 | case crick 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemStructureMapContextType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | How to interpret the context. 24 | 25 | URL: http://hl7.org/fhir/map-context-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-context-type 27 | */ 28 | public enum StructureMapContextType: String, FHIRPrimitiveType { 29 | 30 | /// The context specifies a type. 31 | case type 32 | 33 | /// The context specifies a variable. 34 | case variable 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemStructureMapInputMode.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Mode for this instance of data. 24 | 25 | URL: http://hl7.org/fhir/map-input-mode 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-input-mode 27 | */ 28 | public enum StructureMapInputMode: String, FHIRPrimitiveType { 29 | 30 | /// Names an input instance used a source for mapping. 31 | case source 32 | 33 | /// Names an instance that is being populated. 34 | case target 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemUDICodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample UDI codes. 24 | 25 | URL: http://hl7.org/fhir/ex-udi 26 | ValueSet: http://hl7.org/fhir/ValueSet/udi 27 | */ 28 | public enum UDICodes: String, FHIRPrimitiveType { 29 | 30 | /// GUDID (FDA) US Repository 31 | case gudid 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemValidationType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | What the target is validated against 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/validation-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/verificationresult-validation-type 27 | */ 28 | public enum ValidationType: String, FHIRPrimitiveType { 29 | 30 | /// nothing 31 | case nothing 32 | 33 | /// primary 34 | case primary 35 | 36 | /// multiple 37 | case multiple 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemVisionBase.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the base codes. 24 | 25 | URL: http://hl7.org/fhir/vision-base-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-base-codes 27 | */ 28 | public enum VisionBase: String, FHIRPrimitiveType { 29 | 30 | /// top. 31 | case up 32 | 33 | /// bottom. 34 | case down 35 | 36 | /// inner edge. 37 | case `in` 38 | 39 | /// outer edge. 40 | case out 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ModelsR4/CodeSystemVisionEyes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.0.1-9346c8cc45 6 | // Copyright 2022 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the eye codes. 24 | 25 | URL: http://hl7.org/fhir/vision-eye-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-eye-codes 27 | */ 28 | public enum VisionEyes: String, FHIRPrimitiveType { 29 | 30 | /// Right Eye. 31 | case right 32 | 33 | /// Left Eye. 34 | case left 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4/DomainResource+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DomainResource+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension DomainResource { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR4/Element+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Element+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension Element { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR4/FHIRTime+NSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FHIRTime+NSDate.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | import FMCore 21 | 22 | extension FHIRTime: ConstructibleFromNSDate { 23 | 24 | public init(date: Date, timeZone: TimeZone = TimeZone.current) throws { 25 | self.originalSecondsString = nil 26 | (self.hour, self.minute, self.second) = try FHIRDateComponents.timeComponents(from: date, with: timeZone) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemAdjudicationReasonCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes smattering of Adjudication Reason codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/adjudication-reason 26 | */ 27 | public enum AdjudicationReasonCodes: String, FHIRPrimitiveType { 28 | 29 | /// Not covered 30 | case ar001 31 | 32 | /// Plan Limit Reached 33 | case ar002 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemAnimalSpecies.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This example value set defines a set of codes that can be used to indicate species of animal patients. 24 | 25 | URL: http://hl7.org/fhir/animal-species 26 | */ 27 | public enum AnimalSpecies: String, FHIRPrimitiveType { 28 | 29 | /// Canis lupus familiaris 30 | case canislf 31 | 32 | /// Ovis aries 33 | case ovisa 34 | 35 | /// Serinus canaria domestica 36 | case serinuscd 37 | } 38 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemAuditEventID.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Event Types for Audit Events - defined by DICOM with some FHIR specific additions. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/audit-event-type 26 | */ 27 | public enum AuditEventID: String, FHIRPrimitiveType { 28 | 29 | /// Audit Event: Execution of a RESTful operation as defined by FHIR. 30 | case rest 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemBenefitTermCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of Benefit Term codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/benefit-term 26 | */ 27 | public enum BenefitTermCodes: String, FHIRPrimitiveType { 28 | 29 | /// Annual, renewing on the anniversary 30 | case annual 31 | 32 | /// Per day 33 | case day 34 | 35 | /// For the total term, lifetime, of the policy or coverage 36 | case lifetime 37 | } 38 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemCanPushUpdates.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Ability of the primary source to push updates/alerts 24 | 25 | URL: http://hl7.org/fhir/verificationresult-can-push-updates 26 | ValueSet: http://hl7.org/fhir/ValueSet/can-push-updates 27 | */ 28 | public enum CanPushUpdates: String, FHIRPrimitiveType { 29 | 30 | /// no 31 | case no 32 | 33 | /// undetermined 34 | case undetermined 35 | 36 | /// yes 37 | case yes 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemCatalogType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/catalogType 26 | */ 27 | public enum CatalogType: String, FHIRPrimitiveType { 28 | 29 | /// Protocol List. 30 | case `protocol` 31 | 32 | /// Device Catalog. 33 | case device 34 | 35 | /// Medication Catalog. 36 | case medication 37 | } 38 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemCharacteristicCombination.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Logical grouping of characteristics. 24 | 25 | URL: http://hl7.org/fhir/characteristic-combination 26 | ValueSet: http://hl7.org/fhir/ValueSet/characteristic-combination 27 | */ 28 | public enum CharacteristicCombination: String, FHIRPrimitiveType { 29 | 30 | /// Combine characteristics with AND. 31 | case intersection 32 | 33 | /// Combine characteristics with OR. 34 | case union 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemCharacteristicMethod.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The method used to determine the characteristic(s) of the variable. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/characteristic-method 26 | ValueSet: http://hl7.org/fhir/ValueSet/characteristic-method 27 | */ 28 | public enum CharacteristicMethod: String, FHIRPrimitiveType { 29 | 30 | /// Default. 31 | case `default` = "Default" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemContractActionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Contract Action codes. 24 | 25 | URL: http://hl7.org/fhir/contract-action 26 | */ 27 | public enum ContractActionCodes: String, FHIRPrimitiveType { 28 | 29 | /// Definition for Action A 30 | case actionA = "action-a" 31 | 32 | /// Definition for Action B 33 | case actionB = "action-b" 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemContractSubtypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Contract Subtype codes. 24 | 25 | URL: http://hl7.org/fhir/contract-subtype 26 | */ 27 | public enum ContractSubtypeCodes: String, FHIRPrimitiveType { 28 | 29 | /// Canadian health information disclosure policy. 30 | case disclosureCa = "disclosure-ca" 31 | 32 | /// United States health information disclosure policy. 33 | case disclosureUs = "disclosure-us" 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemExampleClaimSubTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Claim SubType codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/ex-claimsubtype 26 | */ 27 | public enum ExampleClaimSubTypeCodes: String, FHIRPrimitiveType { 28 | 29 | /// A claim for emergency services. 30 | case emergency 31 | 32 | /// A claim for Orthodontic Services. 33 | case ortho 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemExampleScenarioActorType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The type of actor - system or human. 24 | 25 | URL: http://hl7.org/fhir/examplescenario-actor-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/examplescenario-actor-type 27 | */ 28 | public enum ExampleScenarioActorType: String, FHIRPrimitiveType { 29 | 30 | /// A system. 31 | case entity 32 | 33 | /// A person. 34 | case person 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemExceptionCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Exception codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/claim-exception 26 | */ 27 | public enum ExceptionCodes: String, FHIRPrimitiveType { 28 | 29 | /// Disabled 30 | case disabled 31 | 32 | /// Fulltime Student 33 | case student 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemFailureAction.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The result if validation fails 24 | 25 | URL: http://hl7.org/fhir/verificationresult-failure-action 26 | ValueSet: http://hl7.org/fhir/ValueSet/failure-action 27 | */ 28 | public enum FailureAction: String, FHIRPrimitiveType { 29 | 30 | /// fatal 31 | case fatal 32 | 33 | /// none 34 | case none 35 | 36 | /// recOnly 37 | case recOnly = "rec-only" 38 | 39 | /// warn 40 | case warn 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemHumanNameAssemblyOrder.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A code that represents the preferred display order of the components of a human name. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/name-assembly-order 26 | */ 27 | public enum HumanNameAssemblyOrder: String, FHIRPrimitiveType { 28 | 29 | /// NL1 30 | case NL1 31 | 32 | /// NL2 33 | case NL2 34 | 35 | /// NL3 36 | case NL3 37 | 38 | /// NL4 39 | case NL4 40 | } 41 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemIndicator.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set captures the set of indicator codes defined by the CDS Hooks specification. 24 | 25 | URL: http://cds-hooks.hl7.org/CodeSystem/indicator 26 | ValueSet: http://hl7.org/fhir/ValueSet/cdshooks-indicator 27 | */ 28 | public enum Indicator: String, FHIRPrimitiveType { 29 | 30 | /// critical 31 | case critical 32 | 33 | /// info 34 | case info 35 | 36 | /// warning 37 | case warning 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemInteractionIncidence.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A categorisation for a frequency of occurence of an undesirable effect. 24 | 25 | URL: http://hl7.org/fhir/interaction-incidence 26 | ValueSet: http://hl7.org/fhir/ValueSet/interaction-incidence 27 | */ 28 | public enum InteractionIncidence: String, FHIRPrimitiveType { 29 | 30 | /// observed 31 | case observed = "Observed" 32 | 33 | /// theoretical 34 | case theoretical = "Theoretical" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemMissingToothReasonCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes sample Missing Tooth Reason codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/missingtoothreason 26 | */ 27 | public enum MissingToothReasonCodes: String, FHIRPrimitiveType { 28 | 29 | /// Congenital 30 | case C = "c" 31 | 32 | /// Extraction 33 | case E = "e" 34 | 35 | /// Other 36 | case O = "o" 37 | 38 | /// Unknown 39 | case U = "u" 40 | } 41 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemNeed.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The frequency with which the target must be validated 24 | 25 | URL: http://hl7.org/fhir/verificationresult-need 26 | ValueSet: http://hl7.org/fhir/ValueSet/need 27 | */ 28 | public enum Need: String, FHIRPrimitiveType { 29 | 30 | /// ***TODO*** 31 | case initial 32 | 33 | /// ***TODO*** 34 | case none 35 | 36 | /// ***TODO*** 37 | case periodic 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemNetworkTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of Network type codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/benefit-network 26 | */ 27 | public enum NetworkTypeCodes: String, FHIRPrimitiveType { 28 | 29 | /// Services rendered by a Network provider 30 | case `in` 31 | 32 | /// Services rendered by a provider who is not in the Network 33 | case out 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemNoteType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The presentation types of notes. 24 | 25 | URL: http://hl7.org/fhir/note-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/note-type 27 | */ 28 | public enum NoteType: String, FHIRPrimitiveType { 29 | 30 | /// Display the note. 31 | case display 32 | 33 | /// Print the note on the form. 34 | case print 35 | 36 | /// Print the note for the operator. 37 | case printoper 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemOperationParameterUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Whether an operation parameter is an input or an output parameter. 24 | 25 | URL: http://hl7.org/fhir/operation-parameter-use 26 | ValueSet: http://hl7.org/fhir/ValueSet/operation-parameter-use 27 | */ 28 | public enum OperationParameterUse: String, FHIRPrimitiveType { 29 | 30 | /// This is an input parameter. 31 | case `in` 32 | 33 | /// This is an output parameter. 34 | case out 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemOrientationType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for orientation. 24 | 25 | URL: http://hl7.org/fhir/orientation-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/orientation-type 27 | */ 28 | public enum OrientationType: String, FHIRPrimitiveType { 29 | 30 | /// Antisense orientation of reference sequence. 31 | case antisense 32 | 33 | /// Sense orientation of reference sequence. 34 | case sense 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemPaymentAdjustmentReasonCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes smattering of Payment Adjustment Reason codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/payment-adjustment-reason 26 | */ 27 | public enum PaymentAdjustmentReasonCodes: String, FHIRPrimitiveType { 28 | 29 | /// Prior Payment Reversal 30 | case A001 = "a001" 31 | 32 | /// Prior Overpayment 33 | case A002 = "a002" 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemPaymentStatusCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a sample set of Payment Status codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/paymentstatus 26 | */ 27 | public enum PaymentStatusCodes: String, FHIRPrimitiveType { 28 | 29 | /// The payment has been received by the payee. 30 | case cleared 31 | 32 | /// The payment has been sent physically or electronically. 33 | case paid 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemPriorityCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes the financial processing priority codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/processpriority 26 | */ 27 | public enum PriorityCodes: String, FHIRPrimitiveType { 28 | 29 | /// Later, when possible. 30 | case deferred 31 | 32 | /// With best effort. 33 | case normal 34 | 35 | /// Immediately in real time. 36 | case stat 37 | } 38 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemPushTypeAvailable.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type of alerts/updates the primary source can send 24 | 25 | URL: http://hl7.org/fhir/verificationresult-push-type-available 26 | ValueSet: http://hl7.org/fhir/ValueSet/push-type-available 27 | */ 28 | public enum PushTypeAvailable: String, FHIRPrimitiveType { 29 | 30 | /// any 31 | case any 32 | 33 | /// source 34 | case source 35 | 36 | /// specific 37 | case specific 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemQualityType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for quality report. 24 | 25 | URL: http://hl7.org/fhir/quality-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/quality-type 27 | */ 28 | public enum QualityType: String, FHIRPrimitiveType { 29 | 30 | /// INDEL Comparison. 31 | case indel 32 | 33 | /// SNP Comparison. 34 | case snp 35 | 36 | /// UNKNOWN Comparison. 37 | case unknown 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSequenceType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type if a sequence -- DNA, RNA, or amino acid sequence. 24 | 25 | URL: http://hl7.org/fhir/sequence-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/sequence-type 27 | */ 28 | public enum SequenceType: String, FHIRPrimitiveType { 29 | 30 | /// Amino acid sequence. 31 | case aa 32 | 33 | /// DNA Sequence. 34 | case dna 35 | 36 | /// RNA Sequence. 37 | case rna 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemStrandType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for strand. 24 | 25 | URL: http://hl7.org/fhir/strand-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/strand-type 27 | */ 28 | public enum StrandType: String, FHIRPrimitiveType { 29 | 30 | /// Crick strand of reference sequence. 31 | case crick 32 | 33 | /// Watson strand of reference sequence. 34 | case watson 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemStructureMapContextType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | How to interpret the context. 24 | 25 | URL: http://hl7.org/fhir/map-context-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-context-type 27 | */ 28 | public enum StructureMapContextType: String, FHIRPrimitiveType { 29 | 30 | /// The context specifies a type. 31 | case type 32 | 33 | /// The context specifies a variable. 34 | case variable 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemStructureMapInputMode.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Mode for this instance of data. 24 | 25 | URL: http://hl7.org/fhir/map-input-mode 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-input-mode 27 | */ 28 | public enum StructureMapInputMode: String, FHIRPrimitiveType { 29 | 30 | /// Names an input instance used a source for mapping. 31 | case source 32 | 33 | /// Names an instance that is being populated. 34 | case target 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceNameDomain.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/substance-name-domain 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-name-domain 27 | */ 28 | public enum SubstanceNameDomain: String, FHIRPrimitiveType { 29 | 30 | /// activeIngredient 31 | case activeIngredient = "ActiveIngredient" 32 | 33 | /// foodColorAdditive 34 | case foodColorAdditive = "FoodColorAdditive" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceNameType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/substance-name-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-name-type 27 | */ 28 | public enum SubstanceNameType: String, FHIRPrimitiveType { 29 | 30 | /// brand 31 | case brand = "Brand" 32 | 33 | /// scientific 34 | case scientific = "Scientific" 35 | 36 | /// systematic 37 | case systematic = "Systematic" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceOpticalActivity.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The optical rotation type of a substance. 24 | 25 | URL: http://hl7.org/fhir/substance-optical-activity 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-optical-activity 27 | */ 28 | public enum SubstanceOpticalActivity: String, FHIRPrimitiveType { 29 | 30 | /// dextrorotary 31 | case dextrorotary = "+" 32 | 33 | /// levorotary 34 | case levorotary = "-" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceSourceMaterialPart.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/substance-source-material-part 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-source-material-part 27 | */ 28 | public enum SubstanceSourceMaterialPart: String, FHIRPrimitiveType { 29 | 30 | /// animal 31 | case animal = "Animal" 32 | 33 | /// mineral 34 | case mineral = "Mineral" 35 | 36 | /// plant 37 | case plant = "Plant" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceSourceMaterialSpecies.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/substance-source-material-species 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-source-material-species 27 | */ 28 | public enum SubstanceSourceMaterialSpecies: String, FHIRPrimitiveType { 29 | 30 | /// ginkgoBiloba 31 | case ginkgoBiloba = "GinkgoBiloba" 32 | 33 | /// oleaEuropaea 34 | case oleaEuropaea = "OleaEuropaea" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceSourceMaterialType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/substance-source-material-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-source-material-type 27 | */ 28 | public enum SubstanceSourceMaterialType: String, FHIRPrimitiveType { 29 | 30 | /// animal 31 | case animal = "Animal" 32 | 33 | /// mineral 34 | case mineral = "Mineral" 35 | 36 | /// plant 37 | case plant = "Plant" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSubstanceWeightType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | None 24 | 25 | URL: http://hl7.org/fhir/substance-weight-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-weight-type 27 | */ 28 | public enum SubstanceWeightType: String, FHIRPrimitiveType { 29 | 30 | /// average 31 | case average = "Average" 32 | 33 | /// exact 34 | case exact = "Exact" 35 | 36 | /// weightAverage 37 | case weightAverage = "WeightAverage" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSupplyItemType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value sets refers to a specific supply item. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/supply-item-type 26 | */ 27 | public enum SupplyItemType: String, FHIRPrimitiveType { 28 | 29 | /// What is supplied (or requested) is a device. 30 | case device 31 | 32 | /// Supply is a kind of medication. 33 | case medication 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemSupplyType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value sets refers to a Category of supply. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/supply-kind 26 | */ 27 | public enum SupplyType: String, FHIRPrimitiveType { 28 | 29 | /// Supply is stored and requested from central supply. 30 | case central 31 | 32 | /// Supply is not onsite and must be requested from an outside vendor using a non-stock requisition. 33 | case nonstock 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemUnitTypeCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | This value set includes a smattering of Unit type codes. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/benefit-unit 26 | */ 27 | public enum UnitTypeCodes: String, FHIRPrimitiveType { 28 | 29 | /// A family, typically includes self, spouse(s) and children to a defined age 30 | case family 31 | 32 | /// A single individual 33 | case individual 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemValidationType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | What the target is validated against 24 | 25 | URL: http://hl7.org/fhir/verificationresult-validation-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/validation-type 27 | */ 28 | public enum ValidationType: String, FHIRPrimitiveType { 29 | 30 | /// multiple 31 | case multiple 32 | 33 | /// nothing 34 | case nothing 35 | 36 | /// primary 37 | case primary 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemVisionBase.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the base codes. 24 | 25 | URL: http://hl7.org/fhir/vision-base-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-base-codes 27 | */ 28 | public enum VisionBase: String, FHIRPrimitiveType { 29 | 30 | /// inner edge. 31 | case `in` 32 | 33 | /// bottom. 34 | case down 35 | 36 | /// outer edge. 37 | case out 38 | 39 | /// top. 40 | case up 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/CodeSystemVisionEyes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 4.3.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the eye codes. 24 | 25 | URL: http://hl7.org/fhir/vision-eye-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-eye-codes 27 | */ 28 | public enum VisionEyes: String, FHIRPrimitiveType { 29 | 30 | /// Left Eye. 31 | case left 32 | 33 | /// Right Eye. 34 | case right 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/DomainResource+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DomainResource+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension DomainResource { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/Element+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Element+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension Element { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR4B/FHIRTime+NSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FHIRTime+NSDate.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | import FMCore 21 | 22 | extension FHIRTime: ConstructibleFromNSDate { 23 | 24 | public init(date: Date, timeZone: TimeZone = TimeZone.current) throws { 25 | self.originalSecondsString = nil 26 | (self.hour, self.minute, self.second) = try FHIRDateComponents.timeComponents(from: date, with: timeZone) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemAccountRelationship.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Relationship between accounts 24 | 25 | URL: http://hl7.org/fhir/account-relationship 26 | ValueSet: http://hl7.org/fhir/ValueSet/account-relationship 27 | */ 28 | public enum AccountRelationship: String, FHIRPrimitiveType { 29 | 30 | /// guarantor 31 | case guarantor 32 | 33 | /// parent 34 | case parent 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemCharacteristicOffset.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Reference point for characteristic.valueQuantity. 24 | 25 | URL: http://hl7.org/fhir/characteristic-offset 26 | ValueSet: http://hl7.org/fhir/ValueSet/characteristic-offset 27 | */ 28 | public enum CharacteristicOffset: String, FHIRPrimitiveType { 29 | 30 | /// The lower bound of the reference range. 31 | case LNL 32 | 33 | /// The upper bound of the reference range. 34 | case UNL 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemDetectedIssueStatus.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Indicates the status of the detected issue. This code system contains only status codes that are not already defined 24 | and used from the ObservationStatus code system. 25 | 26 | URL: http://hl7.org/fhir/detectedissue-status 27 | */ 28 | public enum DetectedIssueStatus: String, FHIRPrimitiveType { 29 | 30 | /// Indicates the detected issue has been mitigated 31 | case mitigated 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemEncounterDiagnosisUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Encounter Condition Use 24 | 25 | URL: http://hl7.org/fhir/encounter-diagnosis-use 26 | */ 27 | public enum EncounterDiagnosisUse: String, FHIRPrimitiveType { 28 | 29 | /// final 30 | case final 31 | 32 | /// working 33 | case working 34 | } 35 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemEncounterReasonUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Encounter Reason Use 24 | 25 | URL: http://hl7.org/fhir/encounter-reason-use 26 | ValueSet: http://hl7.org/fhir/ValueSet/encounter-reason-use 27 | */ 28 | public enum EncounterReasonUse: String, FHIRPrimitiveType { 29 | 30 | /// AD 31 | case AD 32 | 33 | /// CC 34 | case CC 35 | 36 | /// HC 37 | case HC 38 | 39 | /// HM 40 | case HM 41 | 42 | /// RV 43 | case RV 44 | } 45 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemExampleScenarioActorType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The type of actor - system or human. 24 | 25 | URL: http://hl7.org/fhir/examplescenario-actor-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/examplescenario-actor-type 27 | */ 28 | public enum ExampleScenarioActorType: String, FHIRPrimitiveType { 29 | 30 | /// A human actor 31 | case person 32 | 33 | /// A software application or other system 34 | case system 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemInteractionIncidence.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A categorisation for a frequency of occurence of an undesirable effect. 24 | 25 | URL: http://hl7.org/fhir/interaction-incidence 26 | ValueSet: http://hl7.org/fhir/ValueSet/interaction-incidence 27 | */ 28 | public enum InteractionIncidence: String, FHIRPrimitiveType { 29 | 30 | /// observed 31 | case observed = "Observed" 32 | 33 | /// theoretical 34 | case theoretical = "Theoretical" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemMedicationCostCategoryCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Medication Cost Category Codes 24 | 25 | URL: http://hl7.org/fhir/medication-cost-category 26 | ValueSet: http://hl7.org/fhir/ValueSet/medication-cost-category 27 | */ 28 | public enum MedicationCostCategoryCodes: String, FHIRPrimitiveType { 29 | 30 | /// Tier A cost for this medication 31 | case banda 32 | 33 | /// Tier B cost for this medication 34 | case bandb 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemMedicationIngredientStrengthCodes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Medication Ingredient Strength Codes 24 | 25 | URL: http://hl7.org/fhir/CodeSystem/medication-ingredientstrength 26 | ValueSet: http://hl7.org/fhir/ValueSet/medication-ingredientstrength 27 | */ 28 | public enum MedicationIngredientStrengthCodes: String, FHIRPrimitiveType { 29 | 30 | /// As much as is sufficient. 31 | case qs 32 | 33 | /// Very small amount. 34 | case trace 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemNoteType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The presentation types of notes. 24 | 25 | URL: http://hl7.org/fhir/note-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/note-type 27 | */ 28 | public enum NoteType: String, FHIRPrimitiveType { 29 | 30 | /// Display the note. 31 | case display 32 | 33 | /// Print the note on the form. 34 | case print 35 | 36 | /// Print the note for the operator. 37 | case printoper 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemOperationParameterUse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Whether an operation parameter is an input or an output parameter. 24 | 25 | URL: http://hl7.org/fhir/operation-parameter-use 26 | ValueSet: http://hl7.org/fhir/ValueSet/operation-parameter-use 27 | */ 28 | public enum OperationParameterUse: String, FHIRPrimitiveType { 29 | 30 | /// This is an input parameter. 31 | case `in` 32 | 33 | /// This is an output parameter. 34 | case out 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemOrientationType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for orientation. 24 | 25 | URL: http://hl7.org/fhir/orientation-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/orientation-type 27 | */ 28 | public enum OrientationType: String, FHIRPrimitiveType { 29 | 30 | /// Antisense orientation of reference sequence. 31 | case antisense 32 | 33 | /// Sense orientation of reference sequence. 34 | case sense 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSequenceType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type if a sequence -- DNA, RNA, or amino acid sequence. 24 | 25 | URL: http://hl7.org/fhir/sequence-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/sequence-type 27 | */ 28 | public enum SequenceType: String, FHIRPrimitiveType { 29 | 30 | /// Amino acid sequence. 31 | case aa 32 | 33 | /// DNA Sequence. 34 | case dna 35 | 36 | /// RNA Sequence. 37 | case rna 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSpecimenCombined.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Codes providing the combined status of the specimen. 24 | 25 | URL: http://hl7.org/fhir/specimen-combined 26 | ValueSet: http://hl7.org/fhir/ValueSet/specimen-combined 27 | */ 28 | public enum SpecimenCombined: String, FHIRPrimitiveType { 29 | 30 | /// The specimen is in a group. 31 | case grouped 32 | 33 | /// The specimen is pooled. 34 | case pooled 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemStrandType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for strand. 24 | 25 | URL: http://hl7.org/fhir/strand-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/strand-type 27 | */ 28 | public enum StrandType: String, FHIRPrimitiveType { 29 | 30 | /// Crick strand of starting sequence. 31 | case crick 32 | 33 | /// Watson strand of starting sequence. 34 | case watson 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemStructureMapInputMode.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Mode for this instance of data. 24 | 25 | URL: http://hl7.org/fhir/map-input-mode 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-input-mode 27 | */ 28 | public enum StructureMapInputMode: String, FHIRPrimitiveType { 29 | 30 | /// Names an input instance used a source for mapping. 31 | case source 32 | 33 | /// Names an instance that is being populated. 34 | case target 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSubstanceForm.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceForm 24 | 25 | URL: http://hl7.org/fhir/substance-form 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-form 27 | */ 28 | public enum SubstanceForm: String, FHIRPrimitiveType { 29 | 30 | /// base 31 | case base 32 | 33 | /// salt 34 | case salt 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSubstanceNameDomain.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceNameDomain 24 | 25 | URL: http://hl7.org/fhir/substance-name-domain 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-name-domain 27 | */ 28 | public enum SubstanceNameDomain: String, FHIRPrimitiveType { 29 | 30 | /// activeIngredient 31 | case activeIngredient = "ActiveIngredient" 32 | 33 | /// foodColorAdditive 34 | case foodColorAdditive = "FoodColorAdditive" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSubstanceNameType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceNameType 24 | 25 | URL: http://hl7.org/fhir/substance-name-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-name-type 27 | */ 28 | public enum SubstanceNameType: String, FHIRPrimitiveType { 29 | 30 | /// brand 31 | case brand = "Brand" 32 | 33 | /// scientific 34 | case scientific = "Scientific" 35 | 36 | /// systematic 37 | case systematic = "Systematic" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSubstanceOpticalActivity.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | The optical rotation type of a substance. 24 | 25 | URL: http://hl7.org/fhir/substance-optical-activity 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-optical-activity 27 | */ 28 | public enum SubstanceOpticalActivity: String, FHIRPrimitiveType { 29 | 30 | /// dextrorotary 31 | case dextrorotary = "+" 32 | 33 | /// levorotary 34 | case levorotary = "-" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemSubstanceWeightType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | SubstanceWeightType 24 | 25 | URL: http://hl7.org/fhir/substance-weight-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/substance-weight-type 27 | */ 28 | public enum SubstanceWeightType: String, FHIRPrimitiveType { 29 | 30 | /// average 31 | case average = "Average" 32 | 33 | /// exact 34 | case exact = "Exact" 35 | 36 | /// weightAverage 37 | case weightAverage = "WeightAverage" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemTimingAbbreviation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Code for a known / defined timing pattern. 24 | 25 | URL: http://terminology.hl7.org/CodeSystem/timing-abbreviation 26 | */ 27 | public enum TimingAbbreviation: String, FHIRPrimitiveType { 28 | 29 | /// Service is provided continuously between start time and stop time. 30 | case C 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemVisionBase.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the base codes. 24 | 25 | URL: http://hl7.org/fhir/vision-base-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-base-codes 27 | */ 28 | public enum VisionBase: String, FHIRPrimitiveType { 29 | 30 | /// inner edge. 31 | case `in` 32 | 33 | /// bottom. 34 | case down 35 | 36 | /// outer edge. 37 | case out 38 | 39 | /// top. 40 | case up 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ModelsR5/CodeSystemVisionEyes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 5.0.0 6 | // Copyright 2023 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the eye codes. 24 | 25 | URL: http://hl7.org/fhir/vision-eye-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-eye-codes 27 | */ 28 | public enum VisionEyes: String, FHIRPrimitiveType { 29 | 30 | /// Left Eye. 31 | case left 32 | 33 | /// Right Eye. 34 | case right 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsR5/DomainResource+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DomainResource+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension DomainResource { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR5/Element+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Element+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension Element { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsR5/FHIRTime+NSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FHIRTime+NSDate.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | import FMCore 21 | 22 | extension FHIRTime: ConstructibleFromNSDate { 23 | 24 | public init(date: Date, timeZone: TimeZone = TimeZone.current) throws { 25 | self.originalSecondsString = nil 26 | (self.hour, self.minute, self.second) = try FHIRDateComponents.timeComponents(from: date, with: timeZone) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemAdverseEventCategory.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Overall categorization of the event, e.g. real or potential 24 | 25 | URL: http://hl7.org/fhir/adverse-event-category 26 | ValueSet: http://hl7.org/fhir/ValueSet/adverse-event-category 27 | */ 28 | public enum AdverseEventCategory: String, FHIRPrimitiveType { 29 | 30 | /// AE 31 | case AE = "AE" 32 | 33 | /// PAE 34 | case PAE = "PAE" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemAdverseEventCausality.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | TODO 24 | 25 | URL: http://hl7.org/fhir/adverse-event-causality 26 | ValueSet: http://hl7.org/fhir/ValueSet/adverse-event-causality 27 | */ 28 | public enum AdverseEventCausality: String, FHIRPrimitiveType { 29 | 30 | /// causality1 31 | case causality1 = "causality1" 32 | 33 | /// causality2 34 | case causality2 = "causality2" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemAdverseEventCausalityAssessment.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | TODO 24 | 25 | URL: http://hl7.org/fhir/adverse-event-causality-assess 26 | ValueSet: http://hl7.org/fhir/ValueSet/adverse-event-causality-assess 27 | */ 28 | public enum AdverseEventCausalityAssessment: String, FHIRPrimitiveType { 29 | 30 | /// assess1 31 | case assess1 = "assess1" 32 | 33 | /// assess2 34 | case assess2 = "assess2" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemAdverseEventCausalityMethod.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | TODO 24 | 25 | URL: http://hl7.org/fhir/adverse-event-causality-method 26 | ValueSet: http://hl7.org/fhir/ValueSet/adverse-event-causality-method 27 | */ 28 | public enum AdverseEventCausalityMethod: String, FHIRPrimitiveType { 29 | 30 | /// method1 31 | case method1 = "method1" 32 | 33 | /// method2 34 | case method2 = "method2" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemAdverseEventCausalityResult.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | TODO 24 | 25 | URL: http://hl7.org/fhir/adverse-event-causality-result 26 | ValueSet: http://hl7.org/fhir/ValueSet/adverse-event-causality-result 27 | */ 28 | public enum AdverseEventCausalityResult: String, FHIRPrimitiveType { 29 | 30 | /// result1 31 | case result1 = "result1" 32 | 33 | /// result2 34 | case result2 = "result2" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemCopyNumberEvent.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Copy Number Event 24 | 25 | URL: http://hl7.org/fhir/copy-number-event 26 | ValueSet: http://hl7.org/fhir/ValueSet/copy-number-event 27 | */ 28 | public enum CopyNumberEvent: String, FHIRPrimitiveType { 29 | 30 | /// amplificaiton 31 | case amp = "amp" 32 | 33 | /// deletion 34 | case del = "del" 35 | 36 | /// loss of function 37 | case lof = "lof" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemMaxOccurs.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Flags an element as having unlimited repetitions 24 | 25 | URL: http://hl7.org/fhir/question-max-occurs 26 | ValueSet: http://hl7.org/fhir/ValueSet/question-max-occurs 27 | */ 28 | public enum MaxOccurs: String, FHIRPrimitiveType { 29 | 30 | /// Element can repeat an unlimited number of times 31 | case max = "*" 32 | } 33 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemQualityType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type for quality report 24 | 25 | URL: http://hl7.org/fhir/quality-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/quality-type 27 | */ 28 | public enum QualityType: String, FHIRPrimitiveType { 29 | 30 | /// INDEL Comparison 31 | case indel = "indel" 32 | 33 | /// SNP Comparison 34 | case snp = "snp" 35 | 36 | /// UNKNOWN Comparison 37 | case unknown = "unknown" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemSequenceType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | Type if a sequence -- DNA, RNA, or amino acid sequence 24 | 25 | URL: http://hl7.org/fhir/sequence-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/sequence-type 27 | */ 28 | public enum SequenceType: String, FHIRPrimitiveType { 29 | 30 | /// Amino acid sequence 31 | case aa = "aa" 32 | 33 | /// DNA Sequence 34 | case dna = "dna" 35 | 36 | /// RNA Sequence 37 | case rna = "rna" 38 | } 39 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemStructureMapContextType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | How to interpret the context 24 | 25 | URL: http://hl7.org/fhir/map-context-type 26 | ValueSet: http://hl7.org/fhir/ValueSet/map-context-type 27 | */ 28 | public enum StructureMapContextType: String, FHIRPrimitiveType { 29 | 30 | /// The context specifies a type 31 | case type = "type" 32 | 33 | /// The context specifies a variable 34 | case variable = "variable" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/CodeSystemVisionEyes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CodeSystems.swift 3 | // HealthRecords 4 | // 5 | // Generated from FHIR 3.0.1.11917 6 | // Copyright 2020 Apple Inc. 7 | // 8 | // Licensed under the Apache License, Version 2.0 (the "License"); 9 | // you may not use this file except in compliance with the License. 10 | // You may obtain a copy of the License at 11 | // 12 | // http://www.apache.org/licenses/LICENSE-2.0 13 | // 14 | // Unless required by applicable law or agreed to in writing, software 15 | // distributed under the License is distributed on an "AS IS" BASIS, 16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | // See the License for the specific language governing permissions and 18 | // limitations under the License. 19 | 20 | import FMCore 21 | 22 | /** 23 | A coded concept listing the eye codes. 24 | 25 | URL: http://hl7.org/fhir/vision-eye-codes 26 | ValueSet: http://hl7.org/fhir/ValueSet/vision-eye-codes 27 | */ 28 | public enum VisionEyes: String, FHIRPrimitiveType { 29 | 30 | /// Right Eye 31 | case right = "right" 32 | 33 | /// Left Eye 34 | case left = "left" 35 | } 36 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/DomainResource+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DomainResource+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension DomainResource { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/Element+Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Element+Extensions.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | public extension Element { 20 | 21 | /** 22 | Returns an array of Extensions matching the desired URL. An empty array is returned if there are no extensions that 23 | match or there are no extensions at all. 24 | */ 25 | func extensions(for url: String) -> [Extension] { 26 | let matches = `extension`?.filter { 27 | return $0.url.value?.url.absoluteString == url 28 | } 29 | return matches ?? [] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Sources/ModelsSTU3/FHIRTime+NSDate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FHIRTime+NSDate.swift 3 | // HealthSoftware 4 | // 5 | // 2020, Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | import Foundation 20 | import FMCore 21 | 22 | extension FHIRTime: ConstructibleFromNSDate { 23 | 24 | public init(date: Date, timeZone: TimeZone = TimeZone.current) throws { 25 | self.originalSecondsString = nil 26 | (self.hour, self.minute, self.second) = try FHIRDateComponents.timeComponents(from: date, with: timeZone) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- 1 | /** 2 | To see the status of test discovery on Linux consult: 3 | - https://github.com/apple/swift-package-manager/pull/2174 4 | - https://forums.swift.org/t/test-discovery-on-linux/26203 5 | - https://bugs.swift.org/browse/SR-11951 6 | 7 | Currently, running tests on Linux require passing `--enable-test-discovery`, so 8 | we fail hard here. 9 | */ 10 | fatalError("Run tests using `swift test --enable-test-discovery`") 11 | -------------------------------------------------------------------------------- /Tests/ModelTests/UnittestError.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UnittestError.swift 3 | // HealthSoftware 4 | // 5 | // Copyright 2020 Apple Inc. 6 | // 7 | // Licensed under the Apache License, Version 2.0 (the "License"); 8 | // you may not use this file except in compliance with the License. 9 | // You may obtain a copy of the License at 10 | // 11 | // http://www.apache.org/licenses/LICENSE-2.0 12 | // 13 | // Unless required by applicable law or agreed to in writing, software 14 | // distributed under the License is distributed on an "AS IS" BASIS, 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | // See the License for the specific language governing permissions and 17 | // limitations under the License. 18 | 19 | enum TestError: Error { 20 | case failed(String) 21 | } 22 | --------------------------------------------------------------------------------