FHIR Chat · using uuid as identifier.value · implementers

Stream: implementers

Topic: using uuid as identifier.value


view this post on Zulip Yunwei Wang (Sep 15 2020 at 15:02):

When a resource has a uuid identifier, should the identifier.value start with "urn:uuid"

 {
  "system": "urn:ietf:rfc:3986",
  "value": "445d4eab-7da3-45cf-aa65-272344c8da08"
}

or

 {
  "system": "urn:ietf:rfc:3986",
  "value": "urn:uuid:445d4eab-7da3-45cf-aa65-272344c8da08"
}

validator give errors on the first instance.
@Grahame Grieve

view this post on Zulip David Pyke (Sep 15 2020 at 15:10):

Trust the validator. use the urn:uuid

view this post on Zulip Alexander Kiel (Sep 15 2020 at 15:27):

The system urn:ietf:rfc:3986 points to URI's (https://www.hl7.org/fhir/identifier-registry.html), so you have to prefix your UUID with urn:uuid: to make it a URI.


Last updated: Apr 12 2022 at 19:14 UTC