{
"description": "Questionnaire document resource. Stores captured form responses with status tracking, patient and encounter references.",
"_filename": "StructureDefinition-SDCDocument.json",
"package_name": "io.health-samurai.sdc.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "SDCDocument",
"abstract": false,
"type": "SDCDocument",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "da57f510-537a-4137-9944-581d5e00ab07",
"kind": "resource",
"url": "http://health-samurai.io/fhir/sdc/StructureDefinition/SDCDocument",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "SDCDocument",
"max": "*",
"min": 0,
"path": "SDCDocument",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "SDCDocument.based-on",
"max": "1",
"min": 0,
"path": "SDCDocument.based-on",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Request that led to creation of this document"
}, {
"id": "SDCDocument.based-on.id",
"max": "1",
"min": 0,
"path": "SDCDocument.based-on.id",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.based-on.resourceType",
"max": "1",
"min": 0,
"path": "SDCDocument.based-on.resourceType",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.based-on.display",
"max": "1",
"min": 0,
"path": "SDCDocument.based-on.display",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.author",
"max": "1",
"min": 0,
"path": "SDCDocument.author",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Reference to the user who created the document"
}, {
"id": "SDCDocument.author.id",
"max": "1",
"min": 0,
"path": "SDCDocument.author.id",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.author.resourceType",
"max": "1",
"min": 0,
"path": "SDCDocument.author.resourceType",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.author.display",
"max": "1",
"min": 0,
"path": "SDCDocument.author.display",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.form",
"max": "1",
"min": 1,
"path": "SDCDocument.form",
"type": [ {
"code": "BackboneElement"
} ]
}, {
"id": "SDCDocument.form.form",
"max": "1",
"min": 0,
"path": "SDCDocument.form.form",
"type": [ {
"code": "string"
} ],
"short": "Full name of the form used to capture the document"
}, {
"id": "SDCDocument.form.version",
"max": "1",
"min": 0,
"path": "SDCDocument.form.version",
"type": [ {
"code": "decimal"
} ],
"short": "Form version used to capture the document"
}, {
"id": "SDCDocument.encounter",
"max": "1",
"min": 0,
"path": "SDCDocument.encounter",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Reference to the associated encounter"
}, {
"id": "SDCDocument.encounter.id",
"max": "1",
"min": 0,
"path": "SDCDocument.encounter.id",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.encounter.resourceType",
"max": "1",
"min": 0,
"path": "SDCDocument.encounter.resourceType",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.encounter.display",
"max": "1",
"min": 0,
"path": "SDCDocument.encounter.display",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.unit-system",
"max": "1",
"min": 0,
"path": "SDCDocument.unit-system",
"type": [ {
"code": "string"
} ],
"short": "Unit system used in this document at launch"
}, {
"id": "SDCDocument.status",
"max": "1",
"min": 0,
"path": "SDCDocument.status",
"type": [ {
"code": "string"
} ],
"short": "Status of the document",
"constraint": [ {
"key": "enum-9",
"human": "Status must be one of: draft, in-progress, canceled, completed, in-amendment, amended",
"severity": "error",
"expression": "%context.subsetOf('draft' | 'in-progress' | 'canceled' | 'completed' | 'in-amendment' | 'amended')"
} ]
}, {
"id": "SDCDocument.source",
"max": "1",
"min": 0,
"path": "SDCDocument.source",
"type": [ {
"code": "BackboneElement"
} ],
"short": "The person who answered the questions"
}, {
"id": "SDCDocument.source.id",
"max": "1",
"min": 0,
"path": "SDCDocument.source.id",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.source.resourceType",
"max": "1",
"min": 0,
"path": "SDCDocument.source.resourceType",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.source.display",
"max": "1",
"min": 0,
"path": "SDCDocument.source.display",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.type",
"max": "1",
"min": 0,
"path": "SDCDocument.type",
"type": [ {
"code": "string"
} ],
"short": "Name and version of the form used to capture the document"
}, {
"id": "SDCDocument.patient",
"max": "1",
"min": 0,
"path": "SDCDocument.patient",
"type": [ {
"code": "BackboneElement"
} ],
"short": "The patient who is the subject of the document"
}, {
"id": "SDCDocument.patient.id",
"max": "1",
"min": 0,
"path": "SDCDocument.patient.id",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.patient.resourceType",
"max": "1",
"min": 0,
"path": "SDCDocument.patient.resourceType",
"type": [ {
"code": "string"
} ]
}, {
"id": "SDCDocument.patient.display",
"max": "1",
"min": 0,
"path": "SDCDocument.patient.display",
"type": [ {
"code": "string"
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}