action patientview_get_patient_entered_observation_headings { label: "Get Available Patient Entered Observations Types For a User" description: "Given a User ID retrieve a list of available observation types for that user (where they have patient entered observation data)." provider: patientview method: GET path: "/user/{userId}/patiententeredobservationheadings" encoding: json input: { type: "object" properties: { userId: { type: "integer" format: "int64" } } required: ["userId"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { code: { type: "string" } created: { type: "string" format: "date-time" } decimalPlaces: { type: "integer" format: "int64" } defaultPanel: { type: "integer" format: "int64" } defaultPanelOrder: { type: "integer" format: "int64" } heading: { type: "string" } id: { type: "integer" format: "int64" } infoLink: { type: "string" } lastUpdate: { type: "string" format: "date-time" } maxGraph: { type: "number" format: "double" } minGraph: { type: "number" format: "double" } name: { type: "string" } normalRange: { type: "string" } observationHeadingGroups: { type: "array" items: { type: "object" properties: { created: { type: "string" format: "date-time" } group: { type: "object" properties: { address1: { type: "string" } address2: { type: "string" } address3: { type: "string" } childGroups: { type: "array" items: { type: "object" additionalProperties: true } } code: { type: "string" } contactPoints: { type: "array" items: { type: "object" properties: { contactPointType: { type: "object" properties: { description: { type: "object" additionalProperties: true } id: { type: "object" additionalProperties: true } lookupType: { type: "object" additionalProperties: true } value: { type: "object" additionalProperties: true } } } content: { type: "string" } created: { type: "string" format: "date-time" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } } } } created: { type: "string" format: "date-time" } fhirResourceId: { type: "string" format: "uuid" } groupFeatures: { type: "array" items: { type: "object" properties: { created: { type: "string" format: "date-time" } feature: { type: "object" properties: { created: { type: "object" additionalProperties: true } description: { type: "object" additionalProperties: true } id: { type: "object" additionalProperties: true } lastUpdate: { type: "object" additionalProperties: true } name: { type: "object" additionalProperties: true } } } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } } } } groupType: { type: "object" properties: { created: { type: "string" format: "date-time" } description: { type: "string" } descriptionFriendly: { type: "string" } displayOrder: { type: "integer" format: "int64" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } lookupType: { type: "object" additionalProperties: true } value: { type: "string" } } } id: { type: "integer" format: "int64" } lastImportDate: { type: "string" format: "date-time" } lastUpdate: { type: "string" format: "date-time" } links: { type: "array" items: { type: "object" properties: { created: { type: "string" format: "date-time" } displayOrder: { type: "integer" format: "int32" } id: { type: "integer" format: "int64" } lastUpdate: { type: "string" format: "date-time" } link: { type: "string" } linkType: { type: "object" additionalProperties: true } name: { type: "string" } } } } locations: { type: "array" items: { type: "object" properties: { address: { type: "string" } created: { type: "string" format: "date-time" } email: { type: "string" } id: { type: "integer" format: "int64" } label: { type: "string" } lastUpdate: { type: "string" format: "date-time" } name: { type: "string" } phone: { type: "string" } web: { type: "string" } } } } name: { type: "string" } parentGroups: { type: "array" items: { type: "object" additionalProperties: true } } postcode: { type: "string" } sftpUser: { type: "string" } shortName: { type: "string" } visible: { type: "boolean" } visibleToJoin: { type: "boolean" } } } id: { type: "integer" format: "int64" } panel: { type: "integer" format: "int64" } panelOrder: { type: "integer" format: "int64" } } } } units: { type: "string" } } } } }