File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
api/consumer/searchDocumentReference/tests Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 33from moto import mock_aws
44
55from api .consumer .searchDocumentReference .search_document_reference import handler
6+ from nrlf .consumer .fhir .r4 .model import CodeableConcept , Identifier
67from nrlf .core .constants import (
78 CATEGORY_ATTRIBUTES ,
89 TYPE_ATTRIBUTES ,
@@ -66,7 +67,9 @@ def test_search_document_reference_accession_number_in_pointer(
6667):
6768 doc_ref = load_document_reference ("Y05868-736253002-Valid" )
6869 doc_ref .identifier = [
69- {"type" : {"text" : "Accession-Number" }, "value" : "Y05868.123456789" }
70+ Identifier (
71+ type = CodeableConcept (text = "Accession-Number" ), value = "Y05868.123456789"
72+ )
7073 ]
7174 doc_pointer = DocumentPointer .from_document_reference (doc_ref )
7275 repository .create (doc_pointer )
You can’t perform that action at this time.
0 commit comments