app

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: GPL-3.0 Imports: 26 Imported by: 0

README

# N06-ping.pub

方块链 - 处方共享区块链

version Go Report Card API Reference GitHub

背景

2020新冠肺炎来袭。给中国的医疗体系带来了严俊的考验,特别是医疗信息化的数据透明度,数据孤岛的互联互通,数据的真假难辨是最为突出的问题,这些问题传统的IT技术很难完美解决。我们团队积极响应万向区块链公益黑客松的号召,尝试使用区块链技术来解决医疗行业的一些问题,为促进区块链在医疗行业的应用落地提供示范。

解决问题

针对国家医药分离的改革举措,提出处方流转共享区块链解决方案

应用场景

以城市或者地区为单位成立跨区域医疗信息协作共享平台。1.医生在医院为患者开处方,2.患者接受电子处方(在链上),3.患者在就近药店买药(包括处方药),4.药店核验处方真伪,药店依据处方售药。5.留存备案/政府监管

方案特点

  • 去中心化,多方节点共同参与
  • 数据不可篡改,不可抵赖,可追溯
  • 数据加密上链,保护数据隐私。
  • 数据公开透明。

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// default home directories for the application CLI
	DefaultCLIHome = os.ExpandEnv("$HOME/.rxcli")

	// DefaultNodeHome sets the folder where the applcation data and configuration will be stored
	DefaultNodeHome = os.ExpandEnv("$HOME/.rxd")

	// NewBasicManager is in charge of setting up basic module elemnets
	ModuleBasics = module.NewBasicManager(
		genutil.AppModuleBasic{},
		auth.AppModuleBasic{},
		bank.AppModuleBasic{},
		staking.AppModuleBasic{},
		distr.AppModuleBasic{},
		params.AppModuleBasic{},
		slashing.AppModuleBasic{},
		supply.AppModuleBasic{},

		admin.AppModule{},
		patient.AppModule{},
		doctor.AppModule{},
		store.AppModule{},
	)
)

Functions

func MakeCodec

func MakeCodec() *codec.Codec

MakeCodec generates the necessary codecs for Amino

func NewRxSharingApp

func NewRxSharingApp(
	logger log.Logger, db dbm.DB, baseAppOptions ...func(*bam.BaseApp),
) *rxSharingApp

NewRxSharingApp is a constructor function for rxSharingApp

Types

type GenesisState

type GenesisState map[string]json.RawMessage

GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.

func NewDefaultGenesisState

func NewDefaultGenesisState() GenesisState

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL