Contents

init(system:version:code:)

Creates a clinical coding with the specified system, version, and code.

Declaration

init(system: String, version: String?, code: String)

Parameters

  • system:

    The string that identifies the coding system, typically a HL7 URL.

  • version:

    The version of the system, if applicable.

  • code:

    The clinical code string that represents the medical concept.

Discussion

Use when you need to explicitly construct a coding object to associate a HealthKit concept with a standardized medical code.