File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/linuxforhealth/csvtofhir/fhirrs Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 66from fhir .resources .meta import Meta
77from fhir .resources .identifier import Identifier
88from fhir .resources .coding import Coding
9+ from fhir .resources .codeableconcept import CodeableConcept
910
1011from linuxforhealth .csvtofhir .model .csv .basic import BasicCsv
1112from linuxforhealth .csvtofhir .fhirutils import fhir_utils
@@ -127,10 +128,13 @@ def convert_record(
127128# }
128129def _build_other_identifier (id , name , value , system ):
129130
130- identifier_type_cc = Coding .construct (
131+ identifier_type_cc = CodeableConcept .construct ()
132+ coding = Coding .construct (
131133 system = fhir_utils .get_uri_format (system ),
132134 code = name
133135 )
136+ identifier_type_cc .coding = []
137+ identifier_type_cc .coding .append (coding )
134138
135139 identifier = Identifier .construct (
136140 id = id ,
You can’t perform that action at this time.
0 commit comments