{
"description": "Entity definition resource for custom Aidbox resource types.",
"_filename": "StructureDefinition-entity.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "Entity",
"abstract": false,
"type": "Entity",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "b2da609a-c099-439c-a051-60763ebab267",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/Entity",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "Entity",
"max": "*",
"min": 0,
"path": "Entity"
}, {
"id": "Entity._source",
"max": "1",
"min": 0,
"path": "Entity._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "Entity.type",
"max": "1",
"min": 1,
"path": "Entity.type",
"type": [ {
"code": "string"
} ],
"short": "Type of entity definition.",
"constraint": [ {
"key": "enum-161",
"human": "Type must be one of: abstract, resource, type, primitive",
"severity": "error",
"expression": "%context.subsetOf('abstract' | 'resource' | 'type' | 'primitive')"
} ]
}, {
"id": "Entity.description",
"max": "1",
"min": 0,
"path": "Entity.description",
"type": [ {
"code": "string"
} ],
"short": "Human-readable description of the entity."
}, {
"id": "Entity.text",
"max": "1",
"min": 0,
"path": "Entity.text",
"type": [ {
"code": "string"
} ],
"short": "Human-readable text about the entity."
}, {
"id": "Entity.module",
"max": "1",
"min": 0,
"path": "Entity.module",
"type": [ {
"code": "string"
} ],
"short": "Module that this entity belongs to."
}, {
"id": "Entity.isOpen",
"max": "1",
"min": 0,
"path": "Entity.isOpen",
"type": [ {
"code": "boolean"
} ],
"short": "Whether this entity allows additional properties."
}, {
"id": "Entity.isMeta",
"max": "1",
"min": 0,
"path": "Entity.isMeta",
"type": [ {
"code": "boolean"
} ],
"short": "Whether this entity is a metadata entity."
}, {
"id": "Entity.nonPersistable",
"max": "1",
"min": 0,
"path": "Entity.nonPersistable",
"type": [ {
"code": "boolean"
} ],
"short": "Whether this entity should not be persisted."
}, {
"id": "Entity.sequencePrefix",
"max": "1",
"min": 0,
"path": "Entity.sequencePrefix",
"type": [ {
"code": "string"
} ],
"short": "Prefix for sequence-generated IDs."
}, {
"id": "Entity.history",
"max": "1",
"min": 0,
"path": "Entity.history",
"type": [ {
"code": "string"
} ],
"short": "History tracking mode for this entity.",
"constraint": [ {
"key": "enum-160",
"human": "History must be one of: none, diff",
"severity": "error",
"expression": "%context.subsetOf('none' | 'diff')"
} ]
}, {
"id": "Entity.idGeneration",
"max": "1",
"min": 0,
"path": "Entity.idGeneration",
"type": [ {
"code": "string"
} ],
"short": "Strategy for generating IDs for this entity.",
"constraint": [ {
"key": "enum-162",
"human": "ID type must be one of: sequence, uuid",
"severity": "error",
"expression": "%context.subsetOf('sequence' | 'uuid')"
} ]
}, {
"id": "Entity.schema",
"max": "1",
"min": 0,
"path": "Entity.schema",
"short": "Schema definition for the entity.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}