@@ -570,7 +570,7 @@ def _validate_author(self, model: DocumentReference):
570570 issue_code = "invalid" ,
571571 error_code = "INVALID_RESOURCE" ,
572572 diagnostics = f"Invalid author length: { len (model .author )} Author must only contain a single value" ,
573- field = f "author" ,
573+ field = "author" ,
574574 )
575575 return
576576
@@ -582,7 +582,7 @@ def _validate_author(self, model: DocumentReference):
582582 issue_code = "invalid" ,
583583 error_code = "INVALID_IDENTIFIER_SYSTEM" ,
584584 diagnostics = f"Invalid author system: '{ identifier .system } ' Author system must be '{ ODS_SYSTEM } '" ,
585- field = f "author[0].identifier.system" ,
585+ field = "author[0].identifier.system" ,
586586 )
587587 return
588588
@@ -591,7 +591,7 @@ def _validate_author(self, model: DocumentReference):
591591 issue_code = "value" ,
592592 error_code = "INVALID_RESOURCE" ,
593593 diagnostics = f"Invalid author value: '{ identifier .value } ' Author value must be alphanumeric" ,
594- field = f "author[0].identifier.value" ,
594+ field = "author[0].identifier.value" ,
595595 )
596596 return
597597
@@ -600,7 +600,7 @@ def _validate_author(self, model: DocumentReference):
600600 issue_code = "value" ,
601601 error_code = "INVALID_RESOURCE" ,
602602 diagnostics = f"Invalid author value: '{ identifier .value } ' Author value must be less than 13 characters" ,
603- field = f "author[0].identifier.value" ,
603+ field = "author[0].identifier.value" ,
604604 )
605605 return
606606
@@ -617,8 +617,8 @@ def _validate_practiceSetting(self, model: DocumentReference):
617617 self .result .add_error (
618618 issue_code = "value" ,
619619 error_code = "INVALID_RESOURCE" ,
620- diagnostics = f "Invalid practice setting: must contain a Coding" ,
621- field = f "context.practiceSetting.coding" ,
620+ diagnostics = "Invalid practice setting: must contain a Coding" ,
621+ field = "context.practiceSetting.coding" ,
622622 )
623623 return
624624
@@ -627,7 +627,7 @@ def _validate_practiceSetting(self, model: DocumentReference):
627627 issue_code = "value" ,
628628 error_code = "INVALID_RESOURCE" ,
629629 diagnostics = f"Invalid practice setting coding length: { len (model .context .practiceSetting .coding )} Practice Setting Coding must only contain a single value" ,
630- field = f "context.practiceSetting.coding" ,
630+ field = "context.practiceSetting.coding" ,
631631 )
632632 return
633633
@@ -651,7 +651,7 @@ def _validate_practiceSetting(self, model: DocumentReference):
651651 issue_code = "value" ,
652652 error_code = "INVALID_RESOURCE" ,
653653 diagnostics = f"Invalid practice setting code: { practice_setting_value } Practice Setting coding must be a member of value set { PRACTICE_SETTING_VALUE_SET_URL } " ,
654- field = f "context.practiceSetting.coding[0].code" ,
654+ field = "context.practiceSetting.coding[0].code" ,
655655 )
656656 return
657657
@@ -664,6 +664,6 @@ def _validate_practiceSetting(self, model: DocumentReference):
664664 issue_code = "value" ,
665665 error_code = "INVALID_RESOURCE" ,
666666 diagnostics = f"Invalid practice setting coding: display { practice_setting_display } does not match the expected display for { practice_setting_value } Practice Setting coding is bound to value set { PRACTICE_SETTING_VALUE_SET_URL } " ,
667- field = f "context.practiceSetting.coding[0]" ,
667+ field = "context.practiceSetting.coding[0]" ,
668668 )
669669 return
0 commit comments