ContentType

public enum ContentType: String

The content or mime type.

URL: http://hl7.org/fhir/content-type ValueSet: http://hl7.org/fhir/ValueSet/content-type

  • xml

    XML content-type corresponding to the application/fhir+xml mime-type.

    Declaration

    Swift

    case xml = "xml"
  • JSON content-type corresponding to the application/fhir+json mime-type.

    Declaration

    Swift

    case json = "json"
  • ttl

    RDF content-type corresponding to the text/turtle mime-type.

    Declaration

    Swift

    case ttl = "ttl"
  • Prevent the use of the corresponding http header.

    Declaration

    Swift

    case none = "none"