onaio / fhir-tooling

A command line utility to support FHIR Core content authoring
Other
1 stars 1 forks source link

Generate unique uuid #122

Closed Wambere closed 5 months ago

Wambere commented 5 months ago

Switch from using uuid.uuid4() to using uuid.uuid5(uuid.NAMESPACE_DNS, resource[0]+resource[6]) to ensure that we always generate unique uuid's and avoid duplication