Skip to content

Commit

Permalink
Source/Collection Inline importer | added missing fhir attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Mar 29, 2021
1 parent 2b7061f commit dddb60f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/importers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ class SourceImporter(BaseResourceImporter):
allowed_fields = [
"id", "short_code", "name", "full_name", "description", "source_type", "custom_validation_schema",
"public_access", "default_locale", "supported_locales", "website", "extras", "external_id",
'canonical_url', 'identifier', 'contact', 'jurisdiction', 'publisher', 'purpose', 'copyright',
'revision_date', 'text', 'content_type',
]

def exists(self):
Expand Down Expand Up @@ -272,6 +274,8 @@ class CollectionImporter(BaseResourceImporter):
allowed_fields = [
"id", "short_code", "name", "full_name", "description", "collection_type", "custom_validation_schema",
"public_access", "default_locale", "supported_locales", "website", "extras", "external_id",
'canonical_url', 'identifier', 'contact', 'jurisdiction', 'publisher', 'purpose', 'copyright',
'revision_date', 'text', 'immutable',
]

def exists(self):
Expand Down

0 comments on commit dddb60f

Please sign in to comment.