# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/Basic). # 2024, SMART Health IT. from . import domainresource class Basic(domainresource.DomainResource): """ Resource for non-supported content. Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. """ resource_type = "Basic" def __init__(self, jsondict=None, strict=True): """ Initialize all valid properties. :raises: FHIRValidationError on validation errors, unless strict is False :param dict jsondict: A JSON dictionary to use for initialization :param bool strict: If True (the default), invalid variables will raise a TypeError """ self.author = None """ Who created. Type `FHIRReference` (represented as `dict` in JSON). """ self.code = None """ Kind of Resource. Type `CodeableConcept` (represented as `dict` in JSON). """ self.created = None """ When created. Type `FHIRDate` (represented as `str` in JSON). """ self.identifier = None """ Business identifier. List of `Identifier` items (represented as `dict` in JSON). """ self.subject = None """ Identifies the focus of this resource. Type `FHIRReference` (represented as `dict` in JSON). """ super(Basic, self).__init__(jsondict=jsondict, strict=strict) def elementProperties(self): js = super(Basic, self).elementProperties() js.extend([ ("author", "author", fhirreference.FHIRReference, False, None, False), ("code", "code", codeableconcept.CodeableConcept, False, None, True), ("created", "created", fhirdate.FHIRDate, False, None, False), ("identifier", "identifier", identifier.Identifier, True, None, False), ("subject", "subject", fhirreference.FHIRReference, False, None, False), ]) return js from . import codeableconcept from . import fhirdate from . import fhirreference from . import identifier