Skip to content

Commit

Permalink
Added Social Health Authority Identification Number as an identifier …
Browse files Browse the repository at this point in the history
…type - will be persisted after successful verification
  • Loading branch information
patryllus committed Jun 18, 2024
1 parent f1c3f3e commit a840d43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/main/distro/metadata/identifierTypes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
<ref key="DRIVING_LICENSE" uuid="ca125004-e8af-445d-9436-a43684150f8b" />
<ref key="RECENCY_TESTING_ID" uuid="fd52829a-75d2-4732-8e43-4bff8e5b4f1a" />
<ref key="SOCIAL_HEALTH_INSURANCE_NUMBER" uuid="52c3c0c3-05b8-4b26-930e-2a6a54e14c90" />
</refs>
<ref key="SHA_UNIQUE_IDENTIFICATION_NUMBER" uuid="24aedd37-b5be-4e08-8311-3721b8d5100d" />
</refs>
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public static final class _PatientIdentifierType {
public static final String DRIVING_LICENSE = Metadata.IdentifierType.DRIVING_LICENSE;
public static final String RECENCY_TESTING_ID = Metadata.IdentifierType.RECENCY_TESTING_ID;
public static final String SOCIAL_HEALTH_INSURANCE_NUMBER = Metadata.IdentifierType.SOCIAL_HEALTH_INSURANCE_NUMBER;
public static final String SHA_UNIQUE_IDENTIFICATION_NUMBER = Metadata.IdentifierType.SHA_UNIQUE_IDENTIFICATION_NUMBER;
}

public static final class _PersonAttributeType {
Expand Down Expand Up @@ -313,6 +314,9 @@ public void install() {
null, LocationBehavior.NOT_USED, false, _PatientIdentifierType.RECENCY_TESTING_ID));
install(patientIdentifierType("Social Health Insurance Number", "Social Health Insurance Number", "", "Allows for alphanumeric format",
null, LocationBehavior.NOT_USED, false, _PatientIdentifierType.SOCIAL_HEALTH_INSURANCE_NUMBER));
install(patientIdentifierType("Social Health Authority Identification Number", "Social Health Authority Unique Identification Number", "", "Allows for alphanumeric format",
null, LocationBehavior.NOT_USED, false, _PatientIdentifierType.SHA_UNIQUE_IDENTIFICATION_NUMBER));



install(personAttributeType("Telephone contact", "Telephone contact number",
Expand Down

0 comments on commit a840d43

Please sign in to comment.