{
"description": null,
"_filename": "example/ViewDefinition-ShareablePatientDemographics.json",
"package_name": "hl7.fhir.uv.sql-on-fhir",
"date": null,
"meta": {
"profile": [ "http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ShareableViewDefinition", "http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/TabularViewDefinition" ]
},
"publisher": null,
"fhirVersion": [ "4.0", "5.0" ],
"resourceDefinition": "http://hl7.org/fhir/StructureDefinition/ViewDefinition|3.0.0-ballot",
"name": "patient_demographics",
"type": null,
"experimental": null,
"resourceType": "ViewDefinition",
"title": null,
"package_version": "3.0.0-ballot",
"status": "draft",
"id": "ef8b55d6-7e86-4b8b-a3a5-cc9d92f1a7e2",
"resource": "Patient",
"kind": null,
"url": "http://hl7.org/fhir/uv/sql-on-fhir/ViewDefinition/ShareablePatientDemographics",
"version": null,
"select": [ {
"column": [ {
"name": "id",
"path": "getResourceKey()",
"type": "string"
}, {
"name": "gender",
"path": "gender",
"type": "code"
} ]
}, {
"column": [ {
"name": "given_name",
"path": "given.join(' ')",
"type": "string",
"description": "A single given name field with all names joined together."
}, {
"name": "family_name",
"path": "family",
"type": "string"
} ],
"forEach": "name.where(use = 'official').first()"
} ]
}