{
"description": "PostgreSQL sequence definition resource for Aidbox.",
"_filename": "StructureDefinition-pg-sequence.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "PGSequence",
"abstract": false,
"type": "PGSequence",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "d4c48177-7a4f-4896-a382-ca66b296fc29",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/PGSequence",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "PGSequence",
"max": "*",
"min": 0,
"path": "PGSequence"
}, {
"id": "PGSequence._source",
"max": "1",
"min": 0,
"path": "PGSequence._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "PGSequence.data_type",
"max": "1",
"min": 0,
"path": "PGSequence.data_type",
"type": [ {
"code": "string"
} ],
"short": "PostgreSQL data type for the sequence.",
"constraint": [ {
"key": "enum-522",
"human": "Data type must be one of: smallint, integer, bigint",
"severity": "error",
"expression": "%context.subsetOf('smallint' | 'integer' | 'bigint')"
} ]
}, {
"id": "PGSequence.cycle",
"max": "1",
"min": 0,
"path": "PGSequence.cycle",
"type": [ {
"code": "boolean"
} ],
"short": "Whether the sequence should cycle when reaching max/min value."
}, {
"id": "PGSequence.increment",
"max": "1",
"min": 0,
"path": "PGSequence.increment",
"type": [ {
"code": "integer"
} ],
"short": "Value to increment by for each sequence call."
}, {
"id": "PGSequence.start",
"max": "1",
"min": 0,
"path": "PGSequence.start",
"type": [ {
"code": "integer"
} ],
"short": "Starting value for the sequence."
}, {
"id": "PGSequence.minvalue",
"max": "1",
"min": 0,
"path": "PGSequence.minvalue",
"type": [ {
"code": "integer"
} ],
"short": "Minimum value for the sequence."
}, {
"id": "PGSequence.maxvalue",
"max": "1",
"min": 0,
"path": "PGSequence.maxvalue",
"type": [ {
"code": "integer"
} ],
"short": "Maximum value for the sequence."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}