|
12 | 12 | Entry, |
13 | 13 | GeneralPractitioner, |
14 | 14 | OrganizationIdentifier, |
15 | | - PartyKeyIdentifier, |
16 | 15 | Patient, |
17 | 16 | PatientIdentifier, |
18 | 17 | Practitioner, |
@@ -375,46 +374,11 @@ def test_create_with_asid_identifier(self) -> None: |
375 | 374 | "identifier value should match" |
376 | 375 | ) |
377 | 376 |
|
378 | | - def test_create_with_party_key_identifier(self) -> None: |
379 | | - device = Device.create( |
380 | | - identifier=[ |
381 | | - PartyKeyIdentifier( |
382 | | - system="https://fhir.nhs.uk/Id/nhsMhsPartyKey", |
383 | | - value="P12345-000001", |
384 | | - ) |
385 | | - ], |
386 | | - ) |
387 | | - |
388 | | - assert device.identifier[0].system == "https://fhir.nhs.uk/Id/nhsMhsPartyKey", ( |
389 | | - "system should match the party key URI" |
390 | | - ) |
391 | | - |
392 | | - def test_create_with_mixed_identifiers(self) -> None: |
393 | | - device = Device.create( |
394 | | - identifier=[ |
395 | | - ASIDIdentifier( |
396 | | - system="https://fhir.nhs.uk/Id/nhsSpineASID", |
397 | | - value="123", |
398 | | - ), |
399 | | - PartyKeyIdentifier( |
400 | | - system="https://fhir.nhs.uk/Id/nhsMhsPartyKey", |
401 | | - value="PK-1", |
402 | | - ), |
403 | | - ], |
404 | | - ) |
405 | | - |
406 | | - assert len(device.identifier) == 2, "should have two identifiers" |
407 | | - |
408 | 377 | def test_asid_identifier_expected_system(self) -> None: |
409 | 378 | assert ASIDIdentifier._expected_system == ( |
410 | 379 | "https://fhir.nhs.uk/Id/nhsSpineASID" |
411 | 380 | ), "_expected_system should be the ASID URI" |
412 | 381 |
|
413 | | - def test_party_key_identifier_expected_system(self) -> None: |
414 | | - assert PartyKeyIdentifier._expected_system == ( |
415 | | - "https://fhir.nhs.uk/Id/nhsMhsPartyKey" |
416 | | - ), "_expected_system should be the party key URI" |
417 | | - |
418 | 382 |
|
419 | 383 | class TestDeviceModelValidate: |
420 | 384 | def test_valid_device(self) -> None: |
|
0 commit comments